2009 Jul 28 9:51 AM
Hi alltogether,
I have a problem with third party purchase orders.
We send purchase orders via EDI and ORDERS05 to our group suppliers.
When I send a normal p/o, it will transfer all data including purchase item text to IDoc structure.
When I send a third party p/o, it will transfer all data excluding purchase item text to IDoc structure.
As far as I understand, th.party p/o's will transfer the item text from the customer order into the IDoc structure instead of the p/o's text!!!
I found that the logic to create the IDoc is within the programm LEINMF11.
Is there a way to debug that programm when saving the p/o with a EDI output message.
Thanks a lot.
2009 Jul 28 10:12 AM
Hi,
U can debug the PO output for an EDI...
As you know place breakpiont @ program LEINMF11 & also the Starting point of the Function Module - IDOC_ORDERS_OUTPUT.
Next NOw create a New PO or repeat the EDI output... Select the newly created output type & click on 'Furthre Data' button. U will be seeing Trigger Immediately... From the drill down, Select the 1 ) 'Send with Periocailly scheduled Job'... Now save the PO.
Go to Program 'RSNAST00' & give the output appln - EF, Object key = PO Number, Output type & Transmission medium = 6... Execute the program... This shld stop at the places where u have kept the break-points....
Regards,
Bhargava
Hi alltogether,
I have a problem with third party purchase orders.
We send purchase orders via EDI and ORDERS05 to our group suppliers.
When I send a normal p/o, it will transfer all data including purchase item text to IDoc structure.
When I send a third party p/o, it will transfer all data excluding purchase item text to IDoc structure.
As far as I understand, th.party p/o's will transfer the item text from the customer order into the IDoc structure instead of the p/o's text!!!
I found that the logic to create the IDoc is within the programm LEINMF11.
Is there a way to debug that programm when saving the p/o with a EDI output message.
Thanks a lot.
2009 Jul 28 10:12 AM
Hi,
U can debug the PO output for an EDI...
As you know place breakpiont @ program LEINMF11 & also the Starting point of the Function Module - IDOC_ORDERS_OUTPUT.
Next NOw create a New PO or repeat the EDI output... Select the newly created output type & click on 'Furthre Data' button. U will be seeing Trigger Immediately... From the drill down, Select the 1 ) 'Send with Periocailly scheduled Job'... Now save the PO.
Go to Program 'RSNAST00' & give the output appln - EF, Object key = PO Number, Output type & Transmission medium = 6... Execute the program... This shld stop at the places where u have kept the break-points....
Regards,
Bhargava
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |