cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC to IDOC PORDCR ONE HEADER WITH MULTIPLE POSITIONS SAP PI/PO

0 Kudos
147

Dear Experts,
i need your help.
I have to create an IDOC with one Header, but with multiple Positions.
With my current mapping i do create one IDOC for every Position.

How can i resolve this Porblem with message mapping?

Best regards

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Yes i need one Header with many POITEMS.

For example:
Row:
UML-01

Row:
UML-02

Row:
UML-01

Row:
UML-02

Row:
UML-01

Row:
UML-04

I need 3 IDOCS with each Header but in case of for example UML-01> I need 3 E1BPMEPOITEM.

I think i have to use formatbyexample but not sure how to use it.

sugata_bagchi2
Active Contributor
0 Kudos

Hello Atif,
I can see from you screen shot that you have 0..unbounded node for IDoc node.

Do you want to create Idoc for each row and inside that IDoc only one E1BPMEPOHEADER?

Thanks

Sugata

0 Kudos

Hello,
please check my mapping

unbenannt.jpg
unbenannt2.jpg

0 Kudos

Hi Mohammad,

You could map the IDOC node with a constant which would allow you to make one IDoc, and you have to handle the context for positions and header data.

Header again you could map it with constant[blank] and position you could use a field whose occurrence you want to use as reference for repetition.

could you please provide more details screenshot about the IDoc so that we could try to guide.

Hope this helps !

thanks and regards,

Praveen T