BAPI_PO_CREATE1: same delivery address on several items?

Using BAPI_PO_CREATE1 I create a PO with - let's say - two items. I want to set one custom delivery address (no address number already available in SAP) for both, so I fill table param POADDRDELIVERY. Currently I would add two rows, one for item 10 and one for item 20. Both rows get filled with the same address data.
Unfortunately SAP then creates two address numbers, which leads to a printout of the PO where the same address is printed below each of the two items.
I would like to achieve that both items really are set up with the identical address (number). How could I do this?
I thought of using BAPI_ADDRESSORG_CHANGE to create the address before creating the PO and then using the address number, but it seems I can only change existing addresses with that.
Thanks for your help, Florian

Hi Guys,
             can anybody respond to my Q'n?Atleast hints like that if u didnot understand just let me know i will tell u in detaiul about my requirement
Thanks,
Gopi.

Similar Messages

  • Delivery address appearing at Item level and not at Header level in PO

    Hello Experts,
    We are facing an issue as described below:-
    We are in SRM 7.0 using classic scenario.
    After approval of multi line Shopping Cart in SRM ,PR's are getting
    automatically created in backend R/3 system.After converting PR's into
    POs in backend R/3,we are observing that the delivery address for these
    PO'are getting printed at Item level and not at the Header Level
    inspite of the delivery address being same for all the Item level.
    As desired,the delivery address in the PO's should have the delivery
    address at the header level if the the delivery address is identical
    for all the Item Levels.
    However,if we create a PR directly in R/3 system and then convert these
    PR's into PO's in the backend R/3 system,we find that the deliver
    address are getting printed at the Header Level if the delivery address
    is same for all the item level(which is as desired)
    Any pointers will be highly appreciated.
    Thanks & Regards,
    RKS

    HI Paul,
    Thank you for your response.In our case even if all the Line/items level have same Plant and storage location still the delivery address is getting printed at Item level and not at Header Level and this is happening only for PO's created from PR's orginating from SRM7.0.
    However if we create PR's directly in R/3 and then convert them into PO's,the delivery address is getting printed at the Header level if the delivery address is same for all the Item level.
    Can you plz some insite into this?
    Your help will be highly appreciated.
    Regards,
    RKS

  • Activate Customer field in delivery address in PO item screen

    Dear Experts ,
    In PO Item details ,delivery address tab , I want to activate the customer field ( between the address & Vendor tabs ) .
    Please tell me where can this be done ?
    Regards
    Anis

    Hello Jurgen ,
    Thanks for the response .
    Our basic requirement to have a  customer number tagged with a PO item is to have a retrospective analysis report to know what services /material & amount  have been spent in order to facilitate a customer. These are freebies that the company provided the customer, but its analysis would help the us to understant customer wise freebies / facilities provided.
    It would be great if you could tell us the way to activate the customer number field in the PO item details . Using address does not serve the said purpose .
    Thanks & regards ,
    Anis

  • Customer Field in Delivery Address(Reference data, item)tab under Ite in PO

    Dear experts,
    While creating a PO in line item level, under the "Delivery Address" tab, we are able to see the Vendor option and the Address option for selecting the delivery address in the PO. We are unable to view the Customer Option even though we have maintained the optional entry in table T162(Reference data, item).
    We are only able to see the Customer option in the display mode, but unable to see in the create or change mode.
    Please advise is there any other setting is required for getting the customer field  under billing address tab under line item in create and change mode so as to be able to select customer code directly.
    Regards
    Sai

    no answer

  • Delivery address in PO item level

    Hi,
    in PO item level there is a tab "Delivery address". Under this tab there is a Field "Address" having data for eg. 22706.
    1.Please tell me from where this "address" comes. where is the customization for this "address".
    2.Delivery address, is it related to storage location in the line item.

    kunalc13 ,
    The address number used will be maintained on PO item table EKPO. The address number it uses is determined as follows (assuming standard SAP without user exits):
    Default address;
    - Storage Location Address, if maintained,
    - Plant Address, if maintained AND If Storage Address is not maintained,
    - Company Code Address, if maintained AND if the Plant & storage location addresses are not maintained
    - Blank, if none of the above have been maintained
    - If you look in table ADRC, this address will be assigned to address group CA01 (Customizing address)
    - Maintenance of these addresses are performed in configuration.
    The user has the option to change the default address, or add a vendor number,
        custom number, or address number in the fields on the right. They can only do
        one of these, not a combination of them
    - Manual change of an address on the address tab:
         - If the address is physically changed on the screen, SAP will generate a new
           address number that applies to this PO only and cannot be reused on future POs.
         - In table ADRC, this address group is ME03 - One time vendor address.
      - If they choose a vendor, the vendor number appears on the address tab, the address
         number for that vendor will be in table EKPO, in ADRC, it will account group BP
         (Business Partner)
       - Maintenance of this address is performed in the Vendor Master
      - If they choose a customer, the customer number appears on the address tab, the
        address number for that customer will be in table EKPO, in ADRC, it will account
        group BP (Business Partner)
       - Maintenance of this address is performed in the Customer master
       - If they choose an address number, that number appears on the address tab, and
         that address number will be listed in ADRC as address group ME01 (Delivery Address)
       - maintenance of these addresses are performed in transaction code MEAN

  • Delivery address in PO item level with no addressnr

    Hello,
    I have to print the delivery address in a form. This goes correct if the addrnumber is filled in the tab PO-item/delivery.
    However if this addressnumber is not filled it is not printed.
    Searching in adrc i have found the correct addressnumber (which is not shown in ME23N). But i cannot found the link between this po-item delvery address and this addressnumber.
    does anyone could me tell the link between this.

    In the received IT_EKPO table, look for address til found
    - ADRN2
    - ADRNR
    - If KUNNR is not initial, look for a customer address (select from KNA1)
    - If EMLIF is not initial, look for a vendor address (select from LFA1 or use FM VENDOR_MASTER_DATA_SELECT_00)
    - If WERKS is not initial, look for a plant address (FM MM_ADDRESS_GET)
    Look at the standard forms delvered by SAP (*) to get more information and coding samples)
    Regards,
    Raymond
    (*) You can also look at best practices forms for your country or industry

  • Copying delivery address on po item l

    Hai,
    Please anybody help regarding population of delivery address on to the line item through inbound idoc in the purchase order.Please give any user exits and badis . Its  very urgent.

    Hi!
    An inbound IDoc is calling a function module. Within this function module, mostly we are using CALL TRANSACTION update and not user-exits/badis...
    You can find the function module, using transaction WE42.
    Regards
    Tamá

  • Regarding delivery address in pr item details

    Hi,
    My Client has 11 plants in India out of those 2 plants purchase is done by other plants.eg Mumbai plant purchase material for pune plant, now when i make pr i insert plant of Mumbai in item overview. but the delivery of the material should happen in pune plant, so what is the procedure,
    if in item details in delivery tab i maintain pune address is it ok ?
    regards

    Hi,
    Ya what ever address yu mention in that delivery address the material goes to that address.
    Thanks.

  • Changing line item delivery address in shopping cart need to reflect same in all line items

    Hi All,
    Need help on below,
    I have a requirement that when we change the shopping cart line item delivery address same needs to reflect all line items.
    Suppose a shopping cart having 3 line items 1, 2 and 3. if i change the delivery address of line item 1, the same needs to reflect the line item 2 and 3 as well.
    In my case  if we change the 1's delivery address, after processing its genrating the IDOC on line item wise not in the header wise. And same having the different delivery address.
    Thanks in advance.
    regards:
    Ramesh

    Hello Ramesh,
    we can do this changes in BBP_DOC_CHANGE_BADI . Create a Implementation for the above BADI and Inside that Implementation BADI method just call the function module BBP_PD_SC_GETDETAIL for SC item details by passing the Header GUID.
    Once you get the Partner table(E_PARTNER) details.. Keeping a loop on SC item(E_ITEM) and change address number(ADDR_NO) in Partner table when Partner function eq X( X is an partner function values which you define in SPRO.).
    pseudo logic:
      CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
        EXPORTING
          i_guid    = l_guid
        TABLES
          e_item    = lt_item
          e_partner = lt_partner.
    * Check for all the line items if vendor is assigned
      LOOP AT lt_item INTO lwa_item.
        READ TABLE lt_partner INTO lwa_partner
                          WITH KEY partner_fct = '00000019'
                                   del_ind     = space
                                   p_guid      = lwa_item-guid.
        IF sy-subrc eq 0 .
       * modification of address number logic here in partner table
        ENDIF.
      ENDLOOP.
    All the best.
    Regards,
    Sankarbabu

  • Update delivery address in PO using BAPI BAPI_PO_CREATE1

    Hi,
    I want to update the delivery address of line item using BAPI BAPI_PO_CREATE1. I am creating address using BAPI BAPI_ADDRESSORG_SAVEREPLICA and I am sending the address number in the import parameter POADDRDELIVERY but it is not updating the delivery address.
    Regards,
    Anil N.

    Hi.
    after called the BAPI BAPI_PO_CREATE1 call the FM BAPI_TRANSACTION_COMMIT.
    it will work
    regards
    Marco

  • How to fetch PO item delivery address from ME23n

    Dear Experts,
           From ME23n, I have to fetch the delivery address for the po items ( at item level). This is mentioned in the 'Delivery Address' tab at item level details.
    I think this is the plant address, but if the user goes to ME22n and deliberately changes the address,  I have to select this modified address.
    How to do this?
    Thanks in advance

    Hi Shweta,
    If Address is not changed, then extract address information as below.
    Select <adrnr> from t001w where werks = <ekpo-werks>.
    Select <required columns> from adrc where adrnr = <t001w-adrnr>.
    If address is changed, then extract information as below.
    Select <required columns> from adrc where adrnr = <ekpo-adrnr>.
    Column adrnr in EKPO will be blank if no changes has been made to the address, and if address is changed this column will have the value of new address number
    Regards
    Vinod

  • Delivery Address in Purchase order

    Hello Expert
    Delivery address on purchase order.
    I am trying to make changes in Delivery address tab at item level  for Intercompany purchase order but the changes are not reflected in print preiview.
    But the same changes I am trying to make in delivery address for standard purchase order and Servie order
    Changes are refelect in print preiview.
    Can you please guide us what must the settings which are not affecting changes in Intercompany purchase order.
    Thanks in advance
    Abhi

    The print preview (or the print itself) is generated via a program assigned to an output type. If you have a custom format, it is possible that the program does not pick up the delivery address from the PO item, but from somewhere else (probably plant address).
    You will have to check the smartform and its driver program for this purpose.
    You can get the program name / smartform name from the output type configuration (check the output type that gets triggered by clicking the messages tab).
    IMG > Materials Management > Purchasing > Messages > Output Control > Message Types > Define Message Types for Purchase Order
    Regards,
    Aroop

  • What SAP table keep data delivery address in PO document ?

    Hello everyone,
    in ME23N display PO document.
    i want to know SAP table that keep data in tab Delivery address such as Street/House number , Postal code/City
    please help.

    the delivery address in PO item is
    - the storage location address  in case the storage location is maintained in PO item AND if storage location has an address maintained in cusotmizing.
    - the plant address if no storage location is provided
    in both cases SAP knows the address number from reading the customizing, and does not need to store the number in PO item.
    - you entered a delivery  address manually in PO item. In this case an address number is stored directly in EKPO.

  • Shopping cart delivery address

    Hello
    We are experiencing following problem with shopping cart:
    We want delivery address to be taken from backend as default (storage location) –(this part is working fine) BUT if we manually overwrite the delivery address at item-level in the ShoppingCart, this manually created address must be taken into account (this scenario is not working, the manually created address is always overwritten by default).
    Have any one faced this problem before, please advise.

    hi,
      Pls see the foll notes fro transferring the SRM new deliver addr to R/3.
    -->767461 Transfer of ship-to address to back-end system
    -->576665 EBP R/3 - no generation of delivery address for each item
    The note 576665 is for your R/3 backend system.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Copy manual delivery address

    Hi. We have a requirement where users want to manually change a delivery address in a shopping cart on 1 item and have the option to copy it to all other items.
    We could use BBP_DOC_CHANGE_BADI to check for partner type 00000027 and insert it in the other lines, but how do we provide the option to copy?
    The do not want it to always change all the other lines.
    Is there any way of getting a yes/no pop up box when the user changes the address?
    Or does anyone else have a better idea?
    Thanks a lot for your help.
    Regards,
    Dave.

    Hi David,
    Probably you can give a try to User Status. Take for instance you have a status using which the user can say that the address needs to be copied (by activating it). Then using the BBP_DOC_CHANGE_BADI, you can check for this status and change the delivery address in all items appropiately.
    Please have look at this article I submitted below.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/2047466a-fb48-2b10-33ba-d3243b2f6723
    Your requirment is a bit tricky, but please explore this option. This has worked out very well for quite a few of my requirements (Bids and Invoices) as there is flexibility to switch off and switch on this just using standard customizations.
    Regards
    Kathirvel

Maybe you are looking for

  • No Hard Drive Or Volume Icon In Powerbook G4 Firewire (aluminium) Disk Utilities: Reads Error: No Valid Packages (-9997)

    Whilst performing a zero/erase install on my Powerbook G4 Firewire (aluminium) with an OSX Tiger install disk (Tiger was the OSX i had erased), I had to force quite the installer as it appeared to be stuck on the Chinese script install section. I cra

  • Session expires when a close a new window

    I got a strange problem. That�s the scenario: A user is in a page (let�s call it "parent window"), and click on a button that open a new window (let�s call it "child window"), using "window.open" javascript function. He do some operations with the ne

  • File Sender : Multiple File being picked

    Hi All I have a scenario where I have multiple files in a directory . I have set the option to Processing Parameters to be EOIO and poll interval to be 60 seconds. The processing sequence is by Name. This File sender triggers a BPM. What I see is tha

  • SAP Download Manager does not start after installation

    Hi, i justed tried to install sap download manager as described here: https://websmp102.sap-ag.de/~sapidb/002006825000000233132001D using java http://java.sun.com/products/archive/j2se/1.4.2_12/index.html installation itself was no problem but if I s

  • Dreamweaver code view problem with Turkish fonts

    All my preferences is set to Turkish encoding, but only at the code window Turkish characters aren't displayed right. If i type directly into the code window, everything is ok. but if i write something to design windowi the characters change automati