cancel
Showing results for 
Search instead for 
Did you mean: 

Activity POST_COMPLETE does not get triggered after WebService call

Former Member
0 Kudos

Dear SAP ME Developers,

We have created an activity hook to Serialize the SFC at POST_COMPLETE activity hook point. When we run the scenario through POD, the SFC gets Serialized as was expected. However when we tested by using the WebService ProductionServiceService method - Complete(which is used to Complete a SFC) at the same Operation, we noticed that the Serialization activity does not take place. Why is this happening, shouldn't POST_COMPLETE activity hook point get trigerred after successful consumption of Complete method of ProductionService Web Service.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The POST_COMPLETE hooks should be executed the same for a W/S Complete or a Complete from the POD.  Both entry points call the same code to execute the Complete (and the hooks).

Check to make sure you are using the same Operation, Resource, Material and router step in both test scenarios.  I remember this same problem recently on SCN and it turned that the W/S call was completing a different operation which did not have the same hooks setup .

If that is not the case, then some more investigation is needed to find out why.