Skip to Content

BADI ME_PROCESS_PO_CUST - POST method working for ME22N but not for ME21N

Hi,

I have a custom implementation of the above BADI. I am triggering a web service in order to send PO data to a third party system.

This Call Method is placed in POST method of my implementation and it works fine when using transaction ME22N (change PO). However, when creating and saving a new PO using ME21N the web service method is not being called. I suppose that the POST method is called in the event of clicking SAVE in the PO, but that is not the case.

Does anyone know which method in the BADI implementation to use with creating PO?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 14, 2019 at 09:51 AM

    Hi Peter,

    Please check the same in method Post !

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 14, 2019 at 12:42 PM

    Hi,

    After debugging the issue is that the get_data interface method to get PO header does not transfer EBELN but all the other fields ?

    I have also determined that ME21N does call the POST method for the BADI implementation.

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

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.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.