cancel
Showing results for 
Search instead for 
Did you mean: 

Restart workflow for SC's in Awaiting Approval

venkatakrishna
Active Participant
0 Kudos

Dear All ,

In EHP2 for SRM 7.0 due to SY-BATCH profile changes from SAP_ALL to some Z-Role

workflow not triggered for All SC's ,PO's , GR's ,so again we revert back sy-batch

profile changes to SAP_ALL and applied SAP note : 1575495 to Re trigger workflows,

we are successfully restarted workflows for All PO's and GR's but not SC's .


in Debugging i found that entries in table /sapsrm/d_wf_000 is missing for all SC's

where sap note suggested program picking up guid to restart workflow.

1.what is reason for  table /sapsrm/d_wf_000 not updated with guid of SC's ,

  when exactly this table fills data in it.

2.when we are trying to edit same shopping carts getting error 'Process data

  are not complete Try again later'.

3.how to restart workflows in mass action for all awaiting shopping carts.

Thanks in Advance.

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Venkat,

for 1 and 2 looks like you have the wrong configured/developed workflow in your system. You should start analisys from here.

for 3 you'll need a report for that, you can use SAP note as a basis.

Regards

Konstantin

venkatakrishna
Active Participant
0 Kudos

Thanks for Replay Konstantin,

3. i have managed by developing report with methods  cancel_process_for_restart ,  /sapsrm/cl_wf_process_manager=>start_process which solved point 2 also.

just i want to know when table /sapsrm/d_wf_000 will update entries , what are the other tables

holds major role in PC workflow.

Thanks,

Venkat

konstantin_anikeev
Active Contributor
0 Kudos

I suppose this table is filled, when you orders the shopping carts. This table has determined workflow scheme for PCW. So, if you had error there, and no workflow scheme could be determined - you'll have no entries in this table. This tables is updated not via SQL statement, but via agent class.

PCW tables are /sapsrm/d_wf_*, but I would not recommend to use them directly.

We have a wonderful class /sapsrm/cl_wf_process_manager to access the workflow information.

venkatakrishna
Active Participant
0 Kudos

Thank you Konstantin for valuable information.

Answers (0)