Showing results for 
Search instead for 
Did you mean: 

Workflow: Approval BAPI

0 Kudos


After to load all purchase orders from a system to SAP-SRM, the manager changed his mind about the workflow. He does not want to approval all purchase orders documents loaded, as workflow asks to. So, he asked me to make a program witch could make that instead him.

I could not find any BAPI or any way to do that by configuration at WF as well.

Does anybody know how could I do that?

Thansk for any help.


Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

That idea was canceled. Thanks. Everyone!

Message was edited by:

Karla Lima

Former Member
0 Kudos

hai karla,

here are some bapi's to cancelapproval all purchase orders documents loaded.

BAPI_REQUISITION_RELEASE --Release Purchase Requisition Item by Item

BAPI_REQUISITION_RESET_RELEASE--- Cancel Release of Purchase Requisition Items

BAPI_REQUISITION_CHANGE----Change Purchase Requisition

hope this is helpful.



Former Member
0 Kudos

Why don't you just delete the workflow items and import the orders again after switching of the workflow?

0 Kudos

Hi Robert,

Thanks for your reply.

Actualy these PO were inserted manually, one by one, it was not a upload data....



Product and Topic Expert
Product and Topic Expert
0 Kudos


On SRM, there is no bapi for this but you can use function BBP_PDH_WFL_DB_UPDATE instead where you have to pass object type, ID and action code (approve/reject).

Check code in program BBP_BACKGROUND_APPROVAL to see how it is called. (approval from srm inbox).