cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Code in Transformatio

Former Member
0 Kudos

Hi experts,

I am new ABAP Lang, I have requirement where source ECC field got length of 255 and in BW i have created 5 infoobjects which needs to be mapped to this Field.

I required a code where i split the source ECC field of 255 in to 60,60,60,60,60 corresponding 5 infoobjects that needs to map in a sequence.

its a simple code start routine to assign 255 char into 5 info objects (60, 60, 60, 60, 60)

Kindly please provide the info

Regards,

Prem

Edited by: pannalde on Sep 21, 2011 4:46 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

the code will be something like this, map the source field to all the 5 objects and choose routine as assignment type.

In the result of each object map result to

Result = Source_Fields-field+0(60).

Result = Source_Fields-field+60(60).

Result = Source_Fields-field+120(60).

Result = Source_Fields-field+180(60).

Result = Source_Fields-field+240(15).

regards,

Arvind.

Former Member
0 Kudos

Thank you Arvind, let me try and update you on the same.

Once again thankx alot.