cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping cart status is not changing after workflow restart from soco

0 Kudos
155

Hi All,

I am doing custom development in SOCO , to restart shopping cart workflow.

When purchaser changed the shopping cart price and click on SAVE button ,if workflow restart is needed then , using CALL METHOD /sapsrm/cl_wf_adv_facade=>restart_process , am restarting the shopping cart workflow. Workflow is getting restarted successfully , but SC status is not changing.

Output :

New work item is created and status is "STARTED".

work item is sent to proper approvers as well.

In SC , Approval preview tab also updating and showing with whom shopping cart is pending for approval and time .

Not working:

Shopping cart status is not changed , still its showing "APPROVED".

**we are not using standard restart process from soco.


Is there any FM ? using that where i can change the SC status from APPROVED to AWAITING APPROVAL?


Please let me know if any one faced same issue.


Please let me know the solution or some inputs to solve the issue.


Thank you.


Regards,

Ramya

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member198566
Active Participant
0 Kudos

Hi,

As per standard functionality shopping cart should not restart once it is fully approved. If it has restart then the sc will restart with new instance.

You can try using transaction : SWUE to restart.

Hope this helps.

Regards,

Abhishek