Application Development 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: 

FM for ORDERS05 Outbound Idoc.

Former Member
0 Kudos

Hi,

I have to post an idoc of basic type ORDERS05 from a custom program.

I have populated the fields for control header and the data section of the idoc.I tried using the FM IDOC_OUTPUT_ORDERS to post the idoc,but when I went and checked in WE05,there were no idoc created.I don't understand why the idoc's are not been created.Could you help me in knowing how to use the FM IDOC_OUTPUT_ORDERS or if there are any other FM's to post an outbound idoc.

Please reply asap.

Thanks,

Sandeep.

1 REPLY 1

Former Member
0 Kudos

Hi,

There is a exit in the FM IDOC_OUTPUT_ORDERS line no 50... double click on the '001' it will take u to the Function Module EXIT_SAPLEINM_001... there click on the Zprogram ...

The FM has EKKO table fields has a Impirting parameter .

u write a code in that Z include program

u have to call the FM MASTER_IDOC_DISTRIBUTE in the program

which creates the IDOC

Thanks,

Manjunath MS