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

User exit for outbound ORDERS

Former Member
0 Likes
4,333

Hi all,

Which is the user exit used for <b>Outbound ORDERS</b>?

Requirement is when you save a PO, the customer exit has to be triggered where I need to to check the combination of output type, document type, purchase org and vendor from the PO header/item level and then post it to another system.

So the exact requirement is as follows:

<b>Message type : ORDERS

Idoc type : ORDERS05

Direction : Outbound

User exit : ????</b>

Please help me on this.

Thanks.

Regards,

Anishur

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,268

Hi,

Go to SMOD transaction and enter MM06E001, where u can see the various function modules where in the include user exits are there.

Thanks,

Viji

Hi all,

Which is the user exit used for <b>Outbound ORDERS</b>?

Requirement is when you save a PO, the customer exit has to be triggered where I need to to check the combination of output type, document type, purchase org and vendor from the PO header/item level and then post it to another system.

So the exact requirement is as follows:

<b>Message type : ORDERS

Idoc type : ORDERS05

Direction : Outbound

User exit : ????</b>

Please help me on this.

Thanks.

Regards,

Anishur

6 REPLIES 6
Read only

Former Member
0 Likes
2,269

Hi,

Go to SMOD transaction and enter MM06E001, where u can see the various function modules where in the include user exits are there.

Thanks,

Viji

Read only

Former Member
0 Likes
2,268

There is a customer function exit in the function module IDOC_OUTPUT_ORDERS line no 50 CALL CUSTOMER-FUNCTION '001'. Double click on the '001'. it will take u to the include program .. then write the code based the Segment

Exit name is <b>MM06E001</b>. Create a Project for this & write the code in the include program ..

DocType, Pur Org , Vendor all are in the <b>DEKKO</b> table of the Imoirting parameters of the funcion module .......

Reward Points if it is Useful.

Thanks,

Manjunath MS

Read only

0 Likes
2,268

Hi Manjunath,

The answer was really helpful.

However, in the function module IDOC_OUTPUT_ORDERS, we have other CUSTOMER-FUNCTIONS as well. For example, we have <b>CALL CUSTOMER-FUNCTION '002'</b> which also has all the details ( DocType, Pur Org , Vendor ) which 001 has. So, on what basis do we decide as to which exit should be used.

Regards,

Anishur

Read only

Former Member
0 Likes
2,268

Hi Anishur,

Manjunath is absolutely right. gr8! he is mentiones with line number also. Follow that procedureand let us know for queries.

Reply for queries, shall post the updates.

Regards.

Kumar.

Read only

Former Member
0 Likes
2,268

hi

good

go through this link which ll give you details about the outbound idocs.

http://www.erpgenie.com/abaptips/content/view/302/62/

thanks

mrutyun^

Read only

Former Member
0 Likes
2,268

Hi,

I am using 4.7 Version & i can see only one customer function that is <b>001</b>..probably 002 has some functonality check out with creating project & placing break point in the code & run the transaction ....

Reward Points if it is Useful.

Thanks,

Manjunath MS