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 FOR PRODUCTION ORDER

Former Member
0 Likes
20,890

Hi All,

Iam very new in using idocs, my requirement is to create a outbound idoc for production order (create/change) ,I got the Message type LOIPRO and idoc type LOIPRO01 there is no process code so i created a Z process code with FM (CLOI_MASTERIDOC_CREATE_LOIPRO) . Please explain how to proceed further in NACE etc

Thanks in advance,

Pria.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
11,435

Hi,

No need to create custom process code and to configure output control (NACE).

You can use standard program RCCLTRAN (POIT) to generate the production order IDocs. Please ensure you have comfigure the distribution model (BD64) and partner profile (WE20), IDoc Ports (WE21) and RFC Destination (SM59) prior to run the above program.

Regards,

Ferry Lianto

17 REPLIES 17
Read only

Former Member
0 Likes
11,435

Hmmm.. no NACE setting is required.. You have to do settings in SALE. or there is a list of TCOdes... we, bd..etc

Read only

Former Member
0 Likes
11,436

Hi,

No need to create custom process code and to configure output control (NACE).

You can use standard program RCCLTRAN (POIT) to generate the production order IDocs. Please ensure you have comfigure the distribution model (BD64) and partner profile (WE20), IDoc Ports (WE21) and RFC Destination (SM59) prior to run the above program.

Regards,

Ferry Lianto

Read only

0 Likes
11,435

Hi Ferry,

Does the IDOC gets triggered when we change any prod order if we use POIT?

Thanks,

Priya.

Read only

0 Likes
11,435

Hi Priya,

yes it will get triggered.

Regards,

Atish

Read only

0 Likes
11,435

Thanks alot Ferry and Atish

Priya.

Read only

0 Likes
11,435

Hi priya,

One more thing, I think you need to activate the change pointer also for the message type.

Regards,

Atish

Read only

0 Likes
11,435

Hi Atish,

After everything when i execute POIT iam getting this warning message

'No production order is selected for local selection'

Some where iam going wrong.

If u can explain me in detail whole procedure right from begining it will be great.

Thanks,

Priya.

Read only

0 Likes
11,435

I have message type LOIPRO.

I am using that to trigger Production Order IDOCS.

I'm using the following fields below. My question: What Object/Table/Field combination do I use to track when STATUS has changed?

ORDER AFKO AUFNR

ORDER AFKO GAMNG

ORDER AFKO GLTRI

ORDER AFKO GLTRS

ORDER AFKO GSTRI

ORDER AFKO GSTRS

ORDER AFKO KEY

ORDER AFKO PLNBEZ

ORDER AFVC LTXA1

ORDER AFVV BMSCH

_______________ ______________________________ ______________________________

Read only

Former Member
0 Likes
11,435

follow up

Read only

0 Likes
11,435

Settings of NACE and WE20

NACE> Select application type V1> goto Condition Records > Seelct exact output type (ask from functional )>Then configure it by giving name of partner profile ....

Also chck settings in output type tab..if required output type is not there then maintain it with EDI processing Routines

WE20 --- in outbound parameters of partner u write in NACE maintain settings for message type and idoc type and also give message control detail

Application is V1

Message type is actually output type u choose in NACE

and give process code.

Read only

0 Likes
11,435

Have u ever done for production order ?Application V1 is for Sales order.

There is no process code and appln for production order.

Read only

Former Member
0 Likes
11,435

Hi Priya,

No need to setup NACE for production order and no change pointer available for message type LOIPRO.

Please ensure your outbound partner profile is properly setup.

Also please check production order data perhaps no record found based on selection screen.

Regards,

Ferry Lianto

Read only

0 Likes
11,435

Hi Ferry,

Now I am to create idoc for production orders.But I am not able to create when production is changed.

Now my requirement is that when a prod order is changed then idoc sh get triggered ,(ie only one idoc of that prod order sh be created)how to do this please help me its urgent.

Thanks in advance,

Priya.

Read only

0 Likes
11,435

Hi Priya,

I am working on the same requirement which you were .
If you could please guide me how to go further.

I want to trigegr the idocs for LOIPRO message type.

Please its really urgent and if you could help me on the same it would be really great.

Regards

Shrenik

Read only

Former Member
0 Likes
11,435

Hi,

Since no change pointer can be used for message type LOIPRO, I would suggest to find a user exits that can be used to call program RCCLTRAN when there is a change to production order (not during creation).

Please have a look user exits EXIT_SAPLCOZV_001 for enhancement PPCO0007.

Regards,

Ferry Lianto

Read only

0 Likes
11,435

Hi ferry,

i had a reqiurement like this, i written a standlone program in se38 for generating idoc which generating idocs succesfully.

now i have to produce an IDOC with ALE report

pls kindly give sample code .

Regards

msrinu

Read only

0 Likes
11,435

Any updates on this , with right process.

how to trigger loipro idocs on change/release of production order ?