cancel
Showing results for 
Search instead for 
Did you mean: 

One step purchase order approval - Trigger only in certain cases.

Former Member
0 Kudos

Hi,

I want to trigger the one step workflow approval for Purchase Orders only in ceraitn cases.

When the PO is created from a shopping cart it has to be automatically approved. In other cases the workflow has to be triggerred.

I tried setting the no_further_approval flag to 'X' in the Approval BADI but did not work.

Any Suggestions?

Does the BADI BBP_WFL_APPROV_BADI work for one step approval or is it only for the n step?

Is it better to manipulate the start conditions?

Any help is appreciated.

Joe Vellaiparambil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

If the workflow is not working as expected, refer to SAP Note 322526, Analysis for workflow problems.

You should go with making the start conditions work, as you are aware that only 1 level Approval is required. Try making changes in the start conditions by using transaction - SWB_PROCUREMENT.

Note ->This BADI - BBP_WFL_APPROV_BADI is only recommended for N-step dynamic approval workflow. I don't think you need this BADI as the first alternative.

<u>Refer to few links as well.</u>

http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/0e/bc7d3c6715c854e10000000a11402f/content.htm

Regards

- Atul

Former Member
0 Kudos

Hi,

The only diffference between a PO created from a Shopping cart and created directly is the WF_INITIATOR. This does not seem to be in the start condition.

Can I add this to the start condition.

Please help

Ramki
Active Contributor
0 Kudos

How about precursor document/object (don't remember) = SHC ?

Pl check

Answers (1)

Answers (1)

Ramki
Active Contributor
0 Kudos

Hi Jose

I would recommend Start Conditions rather than BADI.

I would go for Workflow BADI as the last resort.

Best regards

Ramki

Ramki
Active Contributor
0 Kudos

Further to my comments above:

1) You need to setup 'no approval' workflow also for your condition (may be start condition precursor document object type=SHC)

2) In one step workflow, you need to say reverse (may be start condition precursor document object type#SHC)

Best regards

Ramki