cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7.01 Restart WorkFlow BUS2202 (QUOT)

Former Member
0 Kudos

Hello experts,

I'm having problems on restart workflow BUS2202 object, the client's need is the BUS2202 restart when the value is changed to larger than the old one, checking the values ​​is correct, the problem is that the BADI / SAPSRM / BD_WF_PROCESS_RESTART only runs when the document will be approved and not during processing, could someone help?

Points for the help.

tanks;

David.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi David,

Are you using Process controlled or Application controlled workflow?

Thank you

Ritesh

Former Member
0 Kudos

Hi Ritesh,

I'm using Process controlled

Thank you

David.

Former Member
0 Kudos

Hi David,

Thank you for the information... Based on the SAP information about this BADI it stop at change and save event but you have to use Method VALIDATE_RESTART with the following information.

Could you please advise if you have performed the following step as well as using filter with DOC Type and Schema name?

The BAdI is called after a document has been changed and saved. Use method VALIDATE_RESTART of the BAdI interface /SAPSRM/IF_EX_WF_PROC_RESTART to define whether a process restart is to take place (EV_RESTART = ABAP_TRUE) or not. The input parameters of this method contain the document type and GUID, the process schema of the running approval process, the expected process schema for the revised document, and the default setting.

Standard settings

In the standard system, there is no activated BAdI implementation.

The BAdI is filter-dependent. The filter is a value pair consisting of the Document Type and the Schema Name, which you have specified in Customizing for process level configuration.

Apart from this, You could try version control BADI if you are using version control with your Quote. BBP_VERSION_CONTROL  method BBP_VERSION_CREATE_CONTROL.

Hope this helps.



Thank you

Ritesh

Former Member
0 Kudos

Hi Ritesh,

Thank you for your help, the filters for the document is ok, the big problem is when you process the document, it does not pass the BADI Retart only happens in BADI when the document is approved by the approver.

For other documents which are running the restart as BUS2121 or BUS2201 the methodo VALIDATE_RESTART is called when the document is processed normally understand that this is the correct scenario.

Does the document BUS2202 is different? BADI only happens in approving the restart and when this does not change?

Thank you;

David.