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

BAPI_PO_CHANGE not able to change delivery address

Hi,

We have a BSP application to maintain our purchase orders and we use the BAPI_PO_CHANGE to maintain our changes to the PO. Now we want to add the ability to change delivery address of our PO, which we are trying to do with BAPI_PO_CHANGE using the export parameter table POADDRDELIVERY. We are for purpose of test, using the address number that are already in the system and passing it to the BAPI but still the changes are not reflected to the PO.

Has anyone faced similar issues before and can anyone guide us what we could be doing wrong?>

thanks,

GV

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2009 at 05:30 PM

    Did you fill the following parameters:

    1. Import parameters

    PURCHASEORDER

    2. Just fill the line item number in POITEM and POITEMX

    3. Fill the Item number and Address number in POADDRDELIVERY

    4. Follow ths BAPI using a commit work or BAPI_TRANSACTION_COMMIT

    Should work fine.

    Sam.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey Gautam - This is what I did and it works for me. It doesnt work if the GR has been already done.

      I am just using the examples that I did in my system

      PURCHASEORDER 4600001000

      POITEM-PO_ITEM 00001

      APPEND PO_ITEM.

      POITEMX-PO_ITEM 00001

      APPEND PO_ITEMX.

      POADDRDELIVERY-PO_ITEM 00001

      POADDRDELIVERY-ADDR_NO 22154(new address no)

      APPEND POADDRDELIVERY.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2009 at 02:55 PM

    Hi, Did you only a test or tried it within a FM or program? Try to finish with the BAPI BAPI_TRANSACTION_COMMIT to be sure the commit work is done. Success.

    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.