cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Clarification..

Former Member
0 Kudos

Hi Guys,

I have an requirement like this in my scenario, its an mapping issue.. I need clarification whether this can be done with existing functions in the message mappinge

I have two fields in source side as

MT_INPUT

Header

Field1

Field2

When the header comes with multiple occurence at the target end we have three fields

MT_OUTPUT

Header

Field1

Field2

Field3

Here Field 1 at the 1st occurence the value should be 1, and if it has second occurence then it should be increment and it should be 2 and if it has 3rd occurence then the value as 3. so with respect to the header occurence in the source side, the

target field1 count should be increased and the remaining fields are one to one mapping.

regards,

sai.

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Header --> Index Function --> Field1 ....standard function is sufficient.

If you need any more help check the first two attachments here: http://wiki.sdn.sap.com/wiki/pages/viewpageattachments.action?pageId=4384

Edited by: abhishek salvi on Mar 22, 2010 6:55 PM

Former Member
0 Kudos

Hi Abhishek,

I have used the index function, during the 1st occurence it is 1, and in the second occurence the value is not getting displayed..

regards

sai.

Former Member
0 Kudos

Hi .

please use splitby value

after index function

Regards

srinvas

Answers (0)