cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow restart BADI is called even for Approve action

Former Member
0 Kudos

hi,

VALIDATE_RESTART of the BAdI interface /SAPSRM/IF_EX_WF_PROC_RESTART is implemented to re start workflow is price is changed

change pointers are used to check if change in price happened and it works well.

but problem is that even when approver approves the shopping cart (he does not make any changes) then also the BADI gets triggered

so the logic fails there. (at approval event if the latest change happens to be price change then restart happens for approval too)

1) Is there any way to identify whether the current badi was called because of approval and not for change in shopping cart

any standard table can be checked ?

2) apart from approval action is there any other event for which this badi gets called (in addition to shopping cart change)

so it should be also handled in the BADI

thanks in advance

b

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

use the code in the thread

bhakti2
Active Participant
0 Kudos

Hi Saravanan

thank you for help.

regards

B

Answers (0)