on 06-04-2013 11:09 AM
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
Hi,
the structure in example 2 looks better. Header and Line Item structure is appropriate and better have an identifier to identify if it is a PO or SO.
Hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vikas Singh,
Thank you for the reply.
Yes I need to create PO and SO in the same interface because User Needs to pass these details from a single click from the legacy system and need create in SAP (Synchronous scenareo with PO and SO number in response).
Dear Ambrish Mishra,
Thank you for the reply.
I was also confident in Exaple 2 and I have another way of creating the Data Type as suggestion.
<Msg Type>
<PO>
<PO Header 1....Unboound></POheader>
<PO line Item 0....Unbound><PO line Item>
</PO>
<SO>
<SO Header 1....Unboound></SOheader>
<SO line Item 0....Unbound><SO line Item>
</SO>
</Msg Type>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you going to create both sales order and PO from the same interface ?
Theoretically it can be done but it'll be perhaps cleaner if they're kept as separate interfaces.
Ofcourse in inbound proxy processing, you can investigate the input and create required business document but if you can, split them into separate interfaces to keep semantics of the interface clean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.