Skip to Content
0
Jun 04, 2013 at 10:09 AM

Message Type Creation - One Header Different Lines Items

39 Views

Dear All SAP Gurus,

May be I am asking a beginner question But I need your clarification because I am novel to this subject.

I need to pass Purchase Order(PO) and Sales Order(SO) in single message from an external system to SAP. Therefore I have declared the Message Type as below. Advice me whethre this is correct.

OutBound Message

Example 1

<Header 1...to unbounded>

<PO header Details>

<SO header Details>

</Header>

<LineItem 0...to unbounded>

<PO line Details>

</LineItem>

<LineItem 0...to unbounded>

<SO line Details>

</LineItem>

The message will contain 01 Header item NODE for both PO and SO and 02 different Line Item NODES for SO and PO Line Items.

This will be a SOAP to Proxy scenareo

OR

Example 2

<data type>

<Header1 1...to unbounded>

<PO header Details>

</Header>

<LineItem 0...to unbounded>

<PO line Details>

</LineItem>

<Header2 1...to unbounded>

<SO header Details>

</Header>

<LineItem 0...to unbounded>

<SO line Details>

</LineItem>

</data type>

Plz Advice