on 04-17-2014 7:03 AM
Dear all,
one info object 0WORKCENTER is a character.
length is 8
it has values like below,
X11A
U12A
One new Z info object is created in which the data is to be populated based on above info object based on below condition.
if first digit contains from A to Z then cut and take 2 digits next to them .The output should be populated to Z info object as 11
Regards,
U.Linganathan
Try the below code at field level routine.
if source_fields-workcenter+0(1) ca sy-abcde.
result = source-workcenter+1(2).
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this. It shall work
if workcentre[0] CO sy-abcde.
Z = workcentre[1] +2 .
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.