cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in using BADI BBP_DOC_CHANGE_BADI

former_member190818
Active Contributor
0 Kudos

Hi,

There is an requirement like the vendor should not give the quantity more that the PO quantity in SUS. So, I'm using BADI BBP_DOC_CHANGE_BADI for checking the condition.

There are workflows WS14500001 which is for auto approval when within tolerance limit and workflow WS14500019 which is for Approval like when the vendor changes any value in SUS PO.

If the BADI is deactive, the flow works fine. In case if the BADI is active, always the workflow WS14500001 is getting triggered and does auto approval even when the vendor changes anything in SUS PO. In normal case, it should trigger WS14500019 when there is any changes occur in SUS PO.

Can anyone know what might be the issue.

Thanks,

JMB

Accepted Solutions (0)

Answers (1)

Answers (1)

franz_feichtenschlager
Active Participant
0 Kudos

Hello JMB,

Rather than checking the values in BADI BBP_DOC_CHANGE_BADI wouldn't it be easier to look at the starting conditions of workflows WS14500001 and/or WS14500019?

Check transaction SWB_COND to look at the starting conditions of the workflows.

Cheers,

Franz

former_member190818
Active Contributor
0 Kudos

Hi Franz,

I need to validate the quantity/price of POR and PO. For that we need to use that BADI. This is one requirement.

And the workflow is standard and which doesnt work as normal in case the BADI is active.

Thanks

JMB