‎2006 Jun 01 3:17 AM
Would some one explain me in what situation we will be having more than one Data Records in an IDOC? I am looking for a specific example if possible.
Also, when we send PO to our Suppliers, if there are more than One PO for that supplier, whether I can send all of them in one IDOC?
Please help me.
‎2006 Jun 01 3:44 AM
‎2006 Jun 01 3:57 AM
Hi Mohan,
There can be more then one DATA record if you send multiple line items or multiple objects.
For example if you send multiple delivery items or sales order items then few data segments will be multiple.
It basically depends on what you are sending.
The control records will always be 1. WHich indicates who is the sender, the reciever, the idoc number and control related information.
Data records will be one or more then one depending on what you are sending if you r sending multiple PO's for a single vendor or if u r sending multiple Deliveries for one acknowledgemtn then you will have multiple data records.
There will also be more then one Status records. The IDOC passes through different stages or different milestone and each milestone will have a specific status indicator. So the status records can be more then one.
Hope this helps
Cheers
VJ
‎2006 Jun 01 3:58 AM
To answer your second question yes it is very much possible to send multiple PO's to one vendor using a single idoc or using multiple idocs which will be send collectively.
Cheers
VJ
‎2006 Jun 01 4:13 AM
Thanks VJ.
I am confused with your first answer. You say if I send multiple line items then it will span into multiple Data Records also if I send multiple PO's then also it will span multiple Data records?
Would it be possible for you to explain in detail. Thanks VJ
‎2006 Jun 01 4:26 AM
Hi,
It depends on how your IDOC has been designed. If you look at the standard IDOC for a PO, that is designed to carry data of one PO with multiple line items.
So, you will have multiple segments (Same name) for line items so that each segment will have data of one line item.
However, you can design a custom IDOC which can take multiple PO's as such, however, the receiver also should be in a position to understand the same.
Regards,
Ravi
Note :Please mark the helpful answers
‎2006 Jun 01 4:27 AM
Hi Mohan,
When you send multiple line items then u will have multiple item level segments which carry item level data.
Some IDOCs support multiple object posting. I mean if i am not wrong i guess the ORDERS IDOC which is used for PO allows to post multiple PO's in a single Idoc. So in such cases u can have multiple data records at both item level and as well as at header level.
I hope this helps
Cheers
VJ
‎2006 Jun 01 4:40 AM
VJ,
ORDERS05 IDOC does not support multiple Orders in one instance of the IDOC as the maximum number of the header segment has been set to 1.
Regards,
Ravi