‎2006 Aug 18 7:05 PM
Hi,
We developed a func mod to check the status of Production/purchase order. I.e if any order is closed, deleted, blocked or confirmed, we want to create an IDoc adding the new status and order number to it's text segment. Could anybody help me please.
Hanuma
‎2006 Aug 18 7:53 PM
Hi Hanuma,
For creation productin order IDoc, you can use standard program RCCLORD and FM CLOI_MASTERIDOC_CREATE_LOIPRO.
For creation purchase order IDoc, you can use FM IDOC_OUTPUT_ORDCHG or IDOC_OUTPUT_ORDERS.
There is customer exit available for you to populate new status and order number.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
‎2006 Aug 18 8:10 PM
Hi,
In fm IDOC_OUTPUT_ORDERS(used to create IDoc for outbound PO) you have few customer exits. The enhancement is MM06E001. You can use one of the components in this exit and populate the IDoc with desired data.
Hope this helps
Vamsi
‎2006 Aug 21 8:10 PM
Ferry and Vamsi,
Thanks for your inputs. It may help me to solve the problem.
Hanuma
‎2006 Aug 21 10:17 PM
Ferry & Vamshi,
Can you plz provide any specific steps to proceed further.
Hanuma
‎2006 Aug 21 10:28 PM
Hi ,
Do send me your email id . I will send u all the steps required to code .
Thanks ,
‎2006 Aug 22 11:54 AM
Hi Hari,
Plz send to hgujjula@gmail.com or hgujjula@yahoo.com
Thanks in advance.
Hanuma
‎2006 Aug 28 3:20 PM
Hello All,
Could anybody let me know how "to Create IDOC adding the status of Work Order whether it is open or closed".
at least what is the message type and IDOC type I can use?
Thanks & Regards,
Hanuma
hgujjula@gmail.com
‎2006 Aug 29 7:15 PM
Hi,
The message type is ORDERS and IDoc type is ORDERS05. In enhancement MM06E001, you can use the component EXIT_SAPLEINM_011. Here the Purchase order data is available.
You can now check if the Purchase Order is closed and fill the text segment E1EDKT1 segment.
Hope this helps
Vamsi
‎2010 Nov 23 9:13 AM
Hello Hari, This is wonderfull that you answer this question but when you propose to send document directly to the requestor, the other readers could not use found benefit from your experience. Could you extend your explanation here?
Thanks.