cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Logic

Former Member
0 Kudos

We have a requirement IDOC to File:

structure

E1EDP01\qualf, Field

I want to generate node line item for every E1EDP01 segemt where the qualf changes to 1,2,3.....

Note for every qualf there is new E1EDP01 created so for example there are 2 E1EDP01 segment there should be 2 Line Item at receiver with all its fields......

I tried Qualf-> remove context-Line Item , itsrepeating the line item but its not repeating the fileds under line item..any help?????????

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

your question is not clear to get a proper response from the forum.

1. Your secnario is - IDOC to File.

2. You want to create a file with the same number of lines as the line items coming in the IDOC ( E1EDP01 )

For me its a direct mapping - untll you explain the complexity in hand

cheers,

Sunil.

Former Member
0 Kudos

Hi Sunil,

If a line item repeats ..it can repeat many number of times...even 1000 times ..its a probabilty ,old school....so we cannot duplicate the target if probabilty gets involved....

Anyways I have manged it...thanks for your time and assistance....

Former Member
0 Kudos

if you want 1,2,3 in the children of the line item use

Qualf-> index[1,1, do not reset]----->ID

also if you just want the qualifier unchanged you need to put in

qualf---->id without changing the context

Former Member
0 Kudos

If number of Qualifier is fixed then you can use the duplicate the subtree in the mapping.

On receiver side, right click on your segment and then click duplicate subtree..then you can assign each qualifier to the segments.

Former Member
0 Kudos

Hi ,

No its not fixed....it can repeat any number of times....