05-04-2005 6:31 PM
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
05-05-2005 10:04 AM
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
05-05-2005 6:07 PM
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.
05-05-2005 10:22 PM
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.
05-06-2005 6:03 AM
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