cancel
Showing results for 
Search instead for 
Did you mean: 

BUS1001006 Created event not being triggered from BAPI_MATERIAL_SAVEREPLICA

Sumankalyan17
Participant
0 Kudos

Hi all ,

I have a requirement to trigger workflow when a material is created /Changed from MM01/MM02/BAPi.

I have done BO BUS1001006 delegation and maintained the necessary configurations in SWEC/SWE2. The workflow is being triggered when a material is created/changed from MM01/MM02. However whenever a material is being created/changed from BAPI_MATERIAL_SAVEREPLICA ,then workflow is not being triggered although the change documents are being generated.

Kindly advice.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Sumankalyan17
Participant

It is working now .

While testing from BAPI , we need to execute in test sequence and pass explicit commit for the event to trigger .

On doing it ,now it is triggering .

Thanks .

bpawanchand
Active Contributor
0 Kudos

Thanks for sharing the solution

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Kudos

Hi,

I guess you need to make a call to the generated function module by the change document object from within the BAPI .Please refer the link.

Thanks, Pavan

Sumankalyan17
Participant

Thanks for the answer Pavan Bhamidipati .

However i am using the standard change document Object "MATERIAL ".So there is no generated function module .

Also in case of manual material creation ,no code was required .Only configuration was enough.

bpawanchand
Active Contributor
0 Kudos

Yes you are correct, I felt you might have created some custom change document object to maintain the linkage.

Thanks, Pavan