cancel
Showing results for 
Search instead for 
Did you mean: 

Notification and updating Equipment

former_member183909
Active Participant
0 Kudos

Wondering if anybody has ideas for this problem. We have a system that creates/updates Notifications and I want the completed date copied to the associated Equipment. I can do this via a BaDI / UserExit in Notification but what to do if the Equipment is locked ? Is my only option to log that event and get a user to fix it up later ?

Jelena
Active Contributor
0 Kudos

Not familiar with PLM but why is the equipment locked and for how long? If it's a lock by the same transaction (e.g. a delivery update also locks the corresponding sales order) then it's just a matter of timing. But if there is some user who locked the record and went out for lunch then it's another matter.

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor

You could wrap the equipment update in a RFC enabled FM, call this FM IN BACKGROUND TASK before the COMMIT WORK of the current transaction. In case of error, the failed execution can be displayed, analyzed and restarted in transaction SM58, you can also schedule a periodic background job to try to re-process those executions with report RSARFCEX.

Regards,
Raymond