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: 

trigger an production order when it is released through idoc

Former Member
0 Kudos

Hi friends,

i want to trigger an idoc when ever i change production order or release a production order .

can u tell me how to trigger it and what are the message types and idoc types.

thanks in advance,

regards,

roberts.k

4 REPLIES 4

christian_wohlfahrt
Active Contributor
0 Kudos

Hi!

You might define normal message output (usually used for printouts). Output device isn't a printer but a function module -> here your IDOC can be triggered. You are free to use any Idoc, as long as you are responsible to fill it accordingly in calling function module assigned to the message.

Regards,

Christian

0 Kudos

Hi christian,

thank you for the answer.

Can u be a bit elaborate , the steps invloved in it.

i am not able to understand it.

Regards,

Roberts.

0 Kudos

Hi, Chrisitan,

can tell me where i have to look for the message output option in production order and the function module.

new this concept.

Thanks in advance,

Regards,

Roberts.

0 Kudos

Hi,

please have a look at some other threads (e.g. search term NACE - TA-code of message output customizing):

Since you did not mention, which IDOC you like to use, I can't give any hints in this part.

You're asking for the function module. Most probably it has to be own with (roughly) following content:

- Take key from NAST-structure and read additional production order values.

- Fill communication and data structure of your IDOC-type

- Create your IDOC with FM like IDOC_OUTBOUND_WRITE_TO_DB or IDOC_INBOUND_SINGLE (if you want to create something in same system, IDOC_INBOUND_SINGLE is good).

Regards,

Christian