cancel
Showing results for 
Search instead for 
Did you mean: 

Which Synatax formula function to be used in transformation.

former_member553099
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try the below code at field level routine.

if source_fields-workcenter+0(1) ca sy-abcde.

result = source-workcenter+1(2).

endif.

Former Member
0 Kudos

Try this. It shall work

if workcentre[0] CO sy-abcde.

Z = workcentre[1] +2 .

endif.

former_member553099
Participant
0 Kudos

Hi,

it is a routine condition

weather it is possible to use any formula in transformation and to get output. if provide the formulae.

Regards,

U.Linganathan