Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC ORDERS05

Former Member
0 Likes
919

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
630

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.

1 REPLY 1
Read only

Former Member
0 Likes
631

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