cancel
Showing results for 
Search instead for 
Did you mean: 

start routine with Contains

GVR
Explorer
0 Kudos
171

Hello All,

Could you please help me, how to write the Start Routine using with Contains for below scenario.

 

i am getting the data from source value KSFG000275C45000 if its contains 0275 it should be add the source field bukers = 0275.

Please provide me the code.

 

Thanks and Regards,

Venkat.

 

 

robweeks
Explorer
0 Kudos
You can use the CS (Contains String) operator.
View Entire Topic
robweeks
Explorer
0 Kudos

Note: this could also be done in an individual rule avoiding an extra loop through your record set if you don't need a start routine for something else.  

The CS (contains string) operator will do what you need.

Something like:

CONSTANTS c_bukrs TYPE c LENGTH value '0275'.

IF your_source_field_val   CS c_bukrs.
    write c_bukrs to target field
ENDIF.

 

GVR
Explorer
0 Kudos
if we write the in field routine it will give the performance issue because i have almost 10 to 15 values there. i have written in end routine. Thanks for the upate.