cancel
Showing results for 
Search instead for 
Did you mean: 

Worklfow not getting triggered

Former Member
0 Kudos

HI All,

We are developing a BDC program for uploading shopping cart items. In that BDC program we are calling the FMs: BBP_PD_SC_CREATE, BBP_PD_SC_SAVE and BBP_OD_SC_COMMIT and we could able to create the shopping cart from the data available in excel fine. But the shopping cart doesn't have any workflow triggered in it.

In SWE2, we have defined like when the shopping cart is SAVED, it should trigger the workflow WS14500015. It is working fine, when we create a shopping cart through shop-one screen. But if the shopping cart is created through this BDC program then it is not getting trrigered.

Can you please advice, on what we are missing ? Is there any FM to triggere this SAVED event or this workflow ? Kindly help.

Thanks,

Arun

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

SC that are created from BDC, the header-subtype will be 'ER'. clear the subtype through change badi and check.

Regards,

Saravanan

Former Member
0 Kudos

We could able to trigger the workflow by making some changes to the shopping cart after it it getting uploaded.

thanks.

Former Member
0 Kudos

Arun,

SWE2 transaction will linked the shopping cart creation transaction to the event in dynpro mode and not for the background mode. while running the BDC to create the shopping cart, it will run in background mode. so in this case, in order to trigger the workflow while saving the shopping cart you have to call the function module SWE_EVENT_CREATE in your BDC program, in this function module you have to specify the object type , object key and the event as the mandatory parameters.

hope this information will be usefull for you!!

Regards

Anand Sugandhi