6

BAPI/FM to Reject/Approve PO

 1 year ago
source link: https://answers.sap.com/questions/6110445/bapifm-to-rejectapprove-po.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Search Questions and Answers
Jun 16, 2009 at 09:48 AM

BAPI/FM to Reject/Approve PO

1537 Views

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...

Rahul

6 Answers
Sort by:
Best Answer
Former Member
Former Member
Jun 17, 2009 at 11:42 AM

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,

4 comments
Former Member
Jul 08, 2009 at 08:27 AM

hi Schadler

Please let me know the FM for rejection PO

Thanks in advance.

saikumar

Former Member
Former Member
Jun 16, 2009 at 10:31 AM

Try using FM

BAPI_ACC_PURCHASE_ORDER_POS

Best of Luck!!

thanks

2 comments
Former Member
Jun 17, 2009 at 11:35 AM

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
Former Member
Jun 16, 2009 at 09:55 AM

Hai Rahul,

Try this BAPI

BAPI_PO_CHANGE.

Hope this helps,

Cheers,

Suvendu

Former Member
Former Member
Aug 18, 2009 at 01:29 PM

Dear Rahul,

Can you please tell the FM for PO Rejection.

Regards,

Senthil

Sep 14, 2009 at 09:58 AM

HI all,

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

Thanks

Rahul

1 comment
Former Member
Oct 02, 2009 at 01:39 PM

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.

Know someone who can answer? Share a link to this

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.

You must be Logged in to submit an answer.

Please provide a distinct answer and use the comment option for clarifying purposes.
10 characters required.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK