cancel
Showing results for 
Search instead for 
Did you mean: 

plz , need help on IDOC mapping

Former Member
0 Kudos

Hi friends

I need help on mapping IDOC (invoic02) to a customer fields to be sent to a printhouse .

The idoc contains several Item lines , from 1 and up after for instance

The fields E1EDP01-MENGE and E1EDP26-BETRG could be repeated many times , the customer wants eah line item (quantity , price and subtotal ) in separate lines.

What is the best approach to do the mapping , and how can I loop in the idoc segments in order to get each line separetly.

Many thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

HI Fadel,

If you are using the Graphical Mapping, just map the node that repeats itself for the target, mapped to the E1EDP01 segment of the source.

Then it appears as many times as the E1EDP01 segment appears in the target side.

Regards

Ravi kanth

Former Member
0 Kudos

Hi Ravi.

Thanks for your replay.

do you mean that I have to mappe the whole source node to the target node,

or the elements one by one, I have to consider that not all the fields in the source Idoc segments are present i The target .

regards

Former Member
0 Kudos

Yes do a node-to-node mapping level mapping. Have a look at the Display queue of the fields involved and change the context of the source if needed.

Former Member
0 Kudos

Hi

Thanks again , plz bear with me as i am new to this kind of assignment.

This is a part of my requirement, so i suppose that I have to create a Data type as node for the customer fields corresponding to the node in IDOC and just map the source node to the target node , and it will repeat it self as many times as there is line items in the sales order.

Customer fields Idoc fields.

segment E1EDP01

DETAIL_ANTAL E1EDP01-MENGE - LOOP

segment E1EDP26

DETAIL_STK_PRIS E1EDP26-BETRG - QUALIFIER = 001- LOOP

DETAIL_SUBTOTAL E1EDP26-BETRG - QUALIFIER = 003 LOOP

If I change the context of the source, will it not affect the source node at all.

best regrads.