Skip to Content
0

Idoc not getting created when Production Order is deleted

Oct 23, 2017 at 02:28 PM

35

avatar image
Former Member

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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Oct 23, 2017 at 02:45 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
VIJAYARAGHAVAN KESARIRAMAN May 28 at 10:05 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded