Skip to Content
author's profile photo Former Member
Former Member

bapi_po_change

Hello.

I have a question about "bapi".

Now in my project,we enter the PO data from local file.

and we will use the "bapi_poec_create",when we create the PO.

and questions are as follows.

<b>1.Can I change the po data by using bapi?</b>(Is there a "bapi_poec_change")

<b>2.Can I delete the po data by using bapi?</b>

(Is there a "bapi_poec_delete")

If someone knows about it,please tell me.

Regards

Ogiwara

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07:26 AM

    Hi,

    Try using the BADI "BBP_DOC_CHANGE_BADI"(Method BBP_PO_CHANGE) to change the created PO.

    HTH.

    BR,

    Disha.

    Pls reward points for helpful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 11:09 AM

    Ogiwara,

    Hi. There are two listing's of BAPI's available.

    1) BAPI

    Transaction BAPI if you have access to the backend. This is a bit flawed as it only lists Function modules that have been defined as BAPI's. I couldn't find your "bapi_poec_create" listed let aloan any others.

    2) WebService browser

    http://<host>:<port>/sap/bc/bsp/sap/webservicebrowser/search.html

    Where <host> = Your SAP WebAS Host name; and <Port> is the active port - In the backend call transaction SMICM if you aren't sure.

    This webservicebrowser will list all function modules with the 'RFC' indicator set e.g. that you can call externally. It also lists the WSDL file as it is intended to be used via a SOAP call.

    unfortunately both options that you are looking for don't exist - the cange and delete functionality. So I guess it will need to be a bespoke development.

    Just as a by the by in R/3 we don't ussally delete PO's once they have been created, but rather delete the line items. That leaves a PO with no line items which in effect is a deleted PO. If that is the way forward then you only need one bespoke process i.e. CHANGE as this could handle change & delete.

    Regards

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Rob Honeyborne

      Thank you for your reply.

      1) BAPI

      Please excute the SE37 and enter the function module "BAPI_POEC_CREATE".then you can see it.

      2) WebService browser

      After All,do I need to create the New function module of "PO_CHANGE"?

      Isn't there any function module of "PO_CHANGE" that has been already created?

      Regards

      Ogiwara

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.