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: 

How to Trigger IDOC LOIPRO01

Former Member
0 Kudos

Hello ABAP experts,

Does any one know how can I trigger outbound IDOC LOIPRO01 automatically when production orders are created or updated?

I have found Transaction POIT, but this one sends all production orders in the systems. How can we just send newly created/Updated production orders using IDOC to XI.

Thanks for help.

Regards

VInita Modi

1 ACCEPTED SOLUTION

Former Member
0 Kudos

1. Choose a Proper application and Procedure ( Tcode : NACE ) .

2. Create / Use Output Type ( NACE )

3. Define or Use existing Access sequence ( NACE )

4. Create a condition record ( NACE )

5. Define partner profiles ( WE20 )

6. Fine tuning the Messages ( SPRO) .

4 REPLIES 4

Former Member
0 Kudos

1. Choose a Proper application and Procedure ( Tcode : NACE ) .

2. Create / Use Output Type ( NACE )

3. Define or Use existing Access sequence ( NACE )

4. Create a condition record ( NACE )

5. Define partner profiles ( WE20 )

6. Fine tuning the Messages ( SPRO) .

0 Kudos

Thanks sugautam for your response.

But How would you find out what is right application for Production Order is? I do not see any entry linked to Production Order there. Do we need to add one to NACE. If yes How?

-Vinita

jagathi_bondalapati
Discoverer
0 Kudos

In the change-save user exit of the PP order you can call the function module to create the LOIPRO IDOC? Function module name is CLOI_MASTERIDOC_CREATE_LOIPRO.

0 Kudos

Thanks Jagathi,

This function module gvae the commit work issues. But this one calls another one 'MASTER_IDOC_DISTRIBUTE'. We can use this one to publish the IDOc from user Exit.

-Vinita