Skip to Content

Idoc not getting created when Production Order is deleted

We have a requirement to send the idocs for Production Order to an external system. We are doing it by calling Program RCCLORD from the exit,

EXIT_SAPLCOBT_001. Whenever a Production order is created or changed, the idoc LOIPRO is getting created and we are sending the idoc. But, when the Production Order is deleted by using tcode CO02 and going into Functions->Deletion flag->set, it is not creating the idoc. We will have to update the external system with the deletion flag. Is there any other way of sending the deleted Production Order idoc?

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Oct 23, 2017 at 02:45 PM

    Did you also loop at status_table[_old] looking for deletion flag set in the EXIT_SAPLCOBT_001 exit?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 28, 2018 at 10:05 AM

    I have a similar requirement, need to trigger IDoc for Production order change/creation. I am looking for using the exit EXIT_SAPLCOBT_001. Can you please advise if this is the right exit as the IDoc should be triggered only if Production order is updated successfully.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2019 at 04:17 PM

    Did you resolve this ? Can i please know what steps did you follow .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.