cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI/FM to Reject/Approve PO

RahulKeshav
Active Contributor
0 Likes
5,583

Hi All,,

We have a workflow senario in which user has to approve / reject the PO ....thru web application ....Accordingly SAP RFCu2019s can be triggered to perform this task...

So i need a BAPI for that senario.....

Please suggest...

Thnx

Rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

I am using following Fm in my PO Approval workflow. Try with the same.

FM name is ME_RELEASE_PURCHASE_DOCUMENT and BAPI_PO_RELEASE .

Regards,

Anil

Former Member
0 Likes

I'm looking for a function to reject a PO ... processing in background like BAPI_PO_RELEASE

Best regards

Dieter

Edited by: Dieter Schadler on Jun 17, 2009 1:55 PM

Edited by: Dieter Schadler on Jun 17, 2009 1:57 PM

Former Member
0 Likes

Hi,

Try using FM BAPI_PO_RESET_RELEASE.

Regards,

Anil

Former Member
0 Likes

FM BAPI_PO_RESET_RELEASE is not useable to reject a PO.

With this function you can cancel (undo, revoke) already effected releases of purchase orders.

I want to reject like in ME29N.

Best regards,

Dieter

Former Member
0 Likes

hi Schadler

Please let me know the FM for rejection PO

Thanks in advance.

saikumar

Answers (6)

Answers (6)

khaled-coder
Discoverer
0 Likes

No BAPI for Purchase Order Rejection? Here is the solution, like FIORI does!

https://blogs.sap.com/2020/03/13/no-bapi-for-purchase-order-rejection-here-is-the-solution-like-fior...

RahulKeshav
Active Contributor
0 Likes

HI all,

We had a requirement only for rejection ...so we did BDC of ME29N.....

Thanks

Rahul

Former Member
0 Likes

a little bit late....but my experience regarding this topic

At the moment there is only ME29N in SAP-standard available to reject a PO...

This means two possibilities to solve it:

- like Rahul above with BDC-technique for ME29N

- or maybe directly in table EKKO (the only changed table I found out - tests afterwards were positive) - but usually not compliance conform ... and not really to recommend

If somebody has another solution...please let us know.

Former Member
0 Likes

Dear Rahul,

Can you please tell the FM for PO Rejection.

Regards,

Senthil

Former Member
0 Likes

Hi,

Try using FM

BAPI_ACC_PURCHASE_ORDER_POS

Best of Luck!!

thanks

Ravi

RahulKeshav
Active Contributor
0 Likes

i got it...

Edited by: Rahul Keshav on Jun 16, 2009 4:17 PM

Former Member
0 Likes

Hello,

I've the same thing to do. The decision approval or rejection will be done in a web-application in combination with a workflow.

To release a purchaseorder I use BUS2012 method release = FM BAPI_PO_RELEASE (Input-param. purchaseorder, releasecode).

To reject a purchaseorder (like in transaction ME29N) - I haven't found a function (FM, method) to do this.

A FM like BAPI_PO_REJECT (input-param. purchaseorder, releasecode) or something similar I haven't found in SAP-Standard...FM BAPI_PO_RESET_RELEASE is not useable to reject a PO.

I would be very happy, if somebody could give me a hint about existing codings/functions that helps me to develope an own function to reject a PO (Input-param. purchaseorder, releasecode).

@Rahul: you said 'i got it...' ... please let me know what !

Best regards,

Dieter

Edited by: Dieter Schadler on Jun 17, 2009 1:42 PM

Former Member
0 Likes

Hai Rahul,

Try this BAPI

BAPI_PO_CHANGE.

Hope this helps,

Cheers,

Suvendu

Faisal_Mansoori
Discoverer
0 Likes

Hi, 

I got below finding to reject a PO without using ME29N.

1. Use BAPI_PO_RESET_RELEASE ( This is only useful to reject PO after release )

2. Use EKKO-PROCSTAT (Release Status) logic where PROCSTAT=08 (Reject)

Hit like if it helped.

Thanks 

Faisal Mansoori

Ask a Question