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

Triggering IDoc LOIPRO01 for process orders.

Former Member
0 Likes
4,374

Hi,

I have to create an IDOC LOIPRO01 and send to third party, whenever the save of the process order using COR1 and COR2 tcodes based on some conditions like plant US01, Order type ZC01 and released status

Should I use the user exit EXIT_SAPLCOBT_001 and create an IDOC from there based on condition ?

(Or)

Create a custom report based on conditions and call MASTER_IDOC_DISTRIBUTE ? (or) any best approach ?

Thanks - Vinay.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,761

Hi,

Check this link for your query. You need to build some custom tables and structures.

Check the program and create those structures.

[http://wiki.sdn.sap.com/wiki/display/ABAP/ProductionOrderIdoc+Program]

Let me know if you have any issues.

cheers

Aveek

Hi,

I have to create an IDOC LOIPRO01 and send to third party, whenever the save of the process order using COR1 and COR2 tcodes based on some conditions like plant US01, Order type ZC01 and released status

Should I use the user exit EXIT_SAPLCOBT_001 and create an IDOC from there based on condition ?

(Or)

Create a custom report based on conditions and call MASTER_IDOC_DISTRIBUTE ? (or) any best approach ?

Thanks - Vinay.

8 REPLIES 8
Read only

Abhijit74
Active Contributor
0 Likes
2,761

Hi,

If you are not creating any extension then the second one is the best option.

Thanks,

Abhijit

Read only

Former Member
0 Likes
2,761

Hi ,

You can use standard program RCCLORD to send process order idocs.

Read only

0 Likes
2,761

Hi Shanmugavel,

I have tried to use RCCLORD to create process order IDoc But it didnt work ...any Idea ?

Thanks - Vinay.

Read only

0 Likes
2,761

Hello Vinay

Have you defined a distribution model (tcode BD64 ) for LOIPRO IDocs?

Regards

Uwe

Read only

0 Likes
2,761

Hi Uwe Schieferstein ,

I have maintained BD64 But no use ....any idea ?

Thanks - Vinay.

Read only

Former Member
0 Likes
2,761

Hi,

Can you explian what is the error you are getting ?

Regards,

Shanmugavel

Read only

Former Member
0 Likes
2,762

Hi,

Check this link for your query. You need to build some custom tables and structures.

Check the program and create those structures.

[http://wiki.sdn.sap.com/wiki/display/ABAP/ProductionOrderIdoc+Program]

Let me know if you have any issues.

cheers

Aveek

Read only

Former Member
0 Likes
2,761

I could not find this page, could you please send me the link ?

I hope it will answer my question too... like

my requirement is send the product order details on release,update and order teco.

Thanks,

Mahesh