Manual Updation of Ship to Partner (Customer) in Purchase order Item

Hello Sap Gurus,
While creating Purchase order (ME21n) of Type RTN or STO, the client wishes to Select the Ship to partner manually if more than 1 Ship to Partner is assigned to the Customer Master Data / Sales Organisation. Currently this is auto picked by SAP and the field is uneditable.
I Have added the Functionality to PO Header to show the additional ship to partners in a drop down through use of enhancements. On selection of one of the ship to partners in PO header the Customer in Shipping Tab in all the PO items and Corresponding Delivery Addresses needs to be updated based on the selection.
SAP Note 303453 shows how to change selected shipping data fields but not the customer or shipping address. My requirement is somewhat described by Note 652763 but that cannot be used in ME21n.
Kindly help in this regard on how to achieve the functionality.

Hello Helena,
Unfortunately there is not possible to get the partner determination on the item level in the standard. The Partner determination in the standard system will be done on the header level only.
The another thing is that if you change the partner (exept the  sold-to partner) in the sales order no new partner determination runs. It is the standard. Please also review the note 380507 (points 1 and 2).
Best regards,
Lela

Similar Messages

  • Purchase Order Item Shipping Data Update

    Hi xperts,
    I need to update shipping data of purchase order item. I need to update the Unloading Point (ablad) field. Inside exit 'EXIT_SAPMM06E_013' I am changing value of field xekpv-ablad. but the value is not updated in the purchase order. Please advise.

    Hi
    1 Activate the Project in which u have included this User exit.
    2. also check in which client you are checking
    3  Debug and see whether u code is executed and also after saving check the Table EKPV   whether inforamtion gets update or not.
    Or else use Classs IF_PURCHASE_ORDER_ITEM_MM---- METHOD -
    GET_SHIPPING_DATA
    surya

  • How to Enable Delta for a Custom MM Purchase Order History ODS ???

    Hi all,
       We have a Customized MM Purchase Order History ODS with Full Update on Monthly basis. We want to enable the DELTA for this ODS and how can I proceed, PLEASE.
    Please find the Key Figures and Data Fields in the below:
    ODS Structure for PO History ODS:     
    Key Fields
    SAP R/3 Field Description             Technical Name
    Purchasing Document Number             EKBE-EBELN
    Purchasing Line Item Number             EKBE-EBELP
    Sequential number of account assignment     EKBE-ZEKKN
    Transaction/event type, purchase order history     EKBE-VGABE
    FI Fiscal Period     FISCPER (from BKPF-GJAHR + BKPF-MONAT) in the format YYYYPPPP
    Number of Material Document             EKBE-BELNR
    Item in Material Document             EKBE-BUZEI
    Data Fields
    SAP R/3 Field Description     Technical Name
    Company Code     EKKO-BUKRS
    Plant     EKPO-EWERK
    Account Number of the Vendor                   EKKO-LIFNR
    Currency Key (of PO)                           EKKO-WAERS
    Deletion indicator in purchasing document     EKPO-LOEKZ
    Purchasing Document Date                   EKKO-BEDAT
    Responsible salesperson at vendor's office    EKKO-VERKF
    Vendor's telephone number                   EKKO-TELF1
    Incoterms (part 1)                           EKKO-INCO1
    Incoterms (part 2)                           EKKO-INCO2
    Short text                                   EKPO-TXZ01
    Material Group                                   EKPO-MATKL
    Material Number used by Vendor                   EKPO-IDNLF
    Expected Delivery Date                           EKET-EINDT
    Order unit (UOM)                           EKPO-BSTME
    Delivery Completed Indicator                   EKPO-ELIKZ
    Account assignment category                   EKPO-KNTTP
    Business Area (from PO)                           EKKN-GSBER
    Name of requisitioner/requester                   EKPO-AFNAM
    Purchasing organization                           EKKO-EKORG
    Purchasing group                           EKKO-BKGRP
    G/L Account Number (from PO)                   EKKN-SAKTO
    Cost Center (from PO)                           EKKN-KOSTL
    Work Breakdown Structure Element (WBS Element)     EKKN-PS_PSP_PNR
    Payment Terms (from PO)                           EKKO-ZTERM
    PO History Category                            EKBE-BEWTP
    Movement Type                        EKBE-BWART, MSEG-BWART
    Debit/Credit Indicator                     EKBE-SHKZG
    Reference from Invoice                     RBKP-XBLNR
    Payment Terms (from Invoice)             RBKP-ZTERM
    Posting Date      RBKP-BUDAT for IR, MKPF-BLDAT for GR
    Document Date      RBKP-BLDAT for Invoice, MKPF-BLDAT for GR
    Baseline Date     RBKP-ZFBDT
    FI Document Number      BKPF-BELNR, found through BKPF-AWKEY (IR # or GR # + fiscal year) or MSEG-LFBNR
    FI Dcoument Year          BKPF-GJAHR
    FI Document Type          BKPF-BLART
    Fiscal Variant     Hardcoded: S4
    Payment Method (invoice header level)     RBKP-ZLSCH
    GL Account (from GR/IR document)     MSEG-SAKTO for GR, DRSEG-SAKNR for IR (DRSEG is a structure)
    Cost Cener (from GR/IR document)     MSEG-KOSTL for GR, DRSEG-KOSTL (DRSEG is a structure) for IR
    Business Area (from GR/IR document)     MSEG-PARGB; not sure on IR
    Local Currency                             BKPF-HWAE
    Local Currency 2                     BKPF-HWAE2
    Amount posted to GR/IR Clearing (LC)     EKBE-AREWR
    Amount posted to GR/IR Clearing (GC)     EKBE-AREWR converted to Group Currecny found through BKPF-KURS2 if BKPF-HWAE2 is USD
    Purchase order quantity                           EKPO-BSTMG
    Price Unit (for PO)                           EKPO-PEINH
    Net price in purchasing document (in document currency)                                           EKPO-BPREI
    Amount in local currency; amount in document currency     MSEG-DMBTR for material document, RSEG-WRBTR for invoice
    Amount in local currency; amount in document currency (GC)     MSEG-DMBTR for material document,
            RSEG-WRBTR for invoice converted to USD
    Quantity      MSEG-ERFMG for material document;
                    RSEG-MENGE for Invoice
    Delivery costs' share of item value     RSEG-BNKAN
    Delivery costs' share of item value (GC)RSEG-BNKAN converted to USD
    Tax Amount (accrued)             BSEG-PSWBT
    Freight Amount (accrued)     BSEG-PSWBT
    Discount Amount (invoice header level)     RBKP-WSKTO
    Thanks.

    Hi Venkat,
    If you are using a Custom DataSource/Extractor the main problem is that you are collecting data from a lot of tables, so it is really difficult to determine a field for the delta.
    If for you is important only a change at Key Fields Table (EKBE) you can set the Generic Delta only on a field of this table (Doc Number or Position Number - Date - Timestamp).
    But if you are interested in all changes you have to determine a single field for every tables...
    I think it is really difficult to find a delta in all these tables.
    Maybe you can think to use in BW an ODS without Reporting BEx flag to determine Delta, and then introduce delta records in a Cube.
    Ciao.
    Riccardo.

  • Multiple Ship To Address in a Purchase Order

    Can we have multiple ship to adresses in a Purchase Order in SAP Business one.

    SAP does not give you an option to select different ship to addresses in purchase orders unless you are using a drop ship warehouse.
    Thanks
    Murtuza

  • User exit/BADI for updating Purchase Order Item

    I am would like to update the purchase order item - specifically field EKPO-REPOS in a user exit or BADI. I haven't been able to find one that allows you to update the purchase order item.
    Any input would be appreciated.
    Derick

    You can use BADI ME_PROCESS_PO_CUST for you requirement
    Method PROCESS_ITEM
    * Retrieve item data.
        CALL METHOD im_item->get_data
          RECEIVING
            re_data = v_data_item.
    Do you validations and changes here
    *update changes
    CALL METHOD im_item->set_data( v_data_item ).

  • Table name for shipping details for the given purchase order

    Hi,
    Table name for shipping details for the given purchase order
    regards,
    vijay

    Had anybody seen that this question was raised 5 years ago?
    And the question was about where are the shipping details of a purchase order stored.
    The discussion owner hat marked the the discussion a year ago as solved, but did not mark any correct answer and did not tell himself what the solution was.
    The correct answer was given by Amitkumar yesterday, it is EKPV
    I am locking the discussion to avoid that even more wrong answers are added to this particualr question

  • Purchase Order item customer fields

    I have the following scenario:
    - I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
    - When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
    - I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
    - Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
    - Anyone else has this problem?
    - How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
    - Do you have an example?
    Thank you!

    Hi
    You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
    DATA: wa_extensionin TYPE BAPIPAREX,
    wa_BAPIPAREX TYPE BAPIPAREX,
    wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
    wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
    wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
    APPEND wa_BAPIPAREX TO extensionin.
    wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
    APPEND wa_BAPIPAREX TO extensionin.
    This will work. Please let me know if it does not.
    See related links ->
    Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
    Re: Passing custom fields to BAPI
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: BAPI_PO_CHANGE
    Yann i need ur help..
    Re: Custom field values are not being transfered to the backend system
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: Implement ME_PROCESS_PO_CUST-Urgently!
    Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
    Re: How to use BAPI extensions?
    Re: BAPI_PO_CREATE1 user fields not saving on EKPO
    BAPI_PO_CREATE1 - EXIT_SAPL2012_001
    Do let me know.
    Regards
    - Atul

  • Bapi to update delivery date in confirmation tab in purchase order me22n tc

    Hi All,
    I am writing a BDC to update the data in confirmation tab for puchase orders for enjoy transaction.
    Please let me know how to updated delivery date in confirmation tab in purchase order(ME22N) using a bapi.
    I tried using BAPI_PO_CHANGE but found no parameter related to confirmations tab.  this BAPI has every thing to update like header data, item data, scheduling data..... except confirmation.
    So please let me know how to update the data in confirmation.
    We need to use only enjoy transaction ME22N not ME22 in BDC thats why we are looking for a BAPI.
    Regards,
    Venkat

    Hi
    Check the table parameter POCONFIRMATION in BAPI_PO_CHANGE
    U can see the field DELIV_DATE in the structure BAPIEKES.
    DELIVERY_DATE in the structure BAPIMEPOSCHEDULE as well.
    Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Feb 5, 2009 7:57 AM

  • Changing the Ship-to partner details in Sales order header through exit

    Hi all,
      I have a requirement where in during the process of the sales order creation, based on certain
      criteria, the details in the ship-to partner would have to be modified.
      These details like the Name, Street, etc would be maintained in a local table and based on the criteria,
      the appropriate record from this table would be fetched and updated to the ship-to partner.
      I was trying to implement this in the MV45AFZZ user exit. However, I was not able to update this through the exit.
      Would I have to somehow update the ADRC table directly through this exit or is there any better method.
      Please suggest.
    Regards,
    Sudeep

    Hi,
    If you could not find Street in this Routine call the BAPI BAPI_BUPA_ADDRESS_CHANGE to update Street and required details ..
    Thanks and regards,
    Sree.

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • Oracle B2B - Trading Partner identification for Custom XML purchase order

    Hi ,
    How to identify From TP and To TP from the data available in the custom XML?
    Also need know will it be possible to identify the Agreement based on XML data of custom purchase order (Not with File Name format identification)?
    Thank you.
    Regards
    Anvesh Raju

    Hi,
    please refer to below doc for various identification options
    Creating Types - 11g Release 1 (11.1.1.7)
    Generic exchange is also discussed
    Thanks,
    Prasanna

  • Shipping Tab in Stock transfer Purchase order

    Hi,
    while making a PO,there is Shipping Tab appears in Stock transfer order though all concerned settings are done.
    1.Shiiping condition is attched to customer.
    2.Ctreate material for both the plant.
    3.Create vendor and customer settings.
    still the shipping tab is missing in PO ,please suugest me.

    Hi
    Check the shipping point determination setting in
    SPRO-Logistics execution-Shipping-Basic shipping functions-Shipping point and goods reciept point determination-Assign shipping points
    Also check  SPRO-MM-Purchasing-Purchase order-Set up stock transport order-assign delivery type and checking rule
    Regards
    Sandeep
    Edited by: sandeep13 on Apr 16, 2010 11:29 AM

  • Mandatory partner function at sales order item level

    Hi all,
    I'm customizing partner schema at item level for sales order. I have created a custom partner function, I put it in a new sales order item partner procedure and i set this partner function as mandatory (I want that system show me a message if this function is missing at item level in sales order). This partner function is defined only at sales order item level (not at header level or customer master).
    If i create and save a sales order with an item type that use the item partner procedure I have created, system don't show me any message for the item custom partner function missing, else if it is set as mandatory in sales order item partner procedure.
    I have read some posts in these forums about this functionality, but it seems a different situation.
    Someone had a similar type of problem?
    Thank you in advance for any possible suggestion.
    Regards
    Gianpaolo

    Hi,
    First you have to create a new partner function.
    Then assign that partner function to the account group.
    Then assign that partner function to partner determination procedure for the item category.
    Over here click on the mandatory button also.
    Then assign that partner determination procedure to item category.
    Then to XD02 and give your customer number and in the partner tab maintain the data for that partner function.
    Now go to VA01 and create your sales order you will see you partner function.
    If you wont have maintained it in the customer master then it will prompt an error.
    Regards
    Raj.

  • Updating the VETVG table while creating the purchase order

    hi all,
       I have one requirement to calculated the delivery creation date while creating the Purchase Order. It is calculated based on the delivery date of PO. I have calculated that one but how to update it after calculation. Can any body give a user exit or BADI with implementation which will update the VETVG table while creating the PO.
    Thanks
    rajkumar

    hi sanjay,
    thanks for reply, I am using same BADI(ME_PROCESS_PO_CUST) and implementation(FIELDSELECTION_ITEM_REFKEYS). In this implementation i am setting the shipping data with SET_SHIPPINGDATA method . but after that the values are not updating the EKPV and VETVG tables but it is only showing in the screen. Can you give a idea where to pass these values so it will update the tables.
    thanks
    rajkumar

  • Customizing 'Print Purchase Order' Report

    Hi All,
    We need to customize the 'Print Purchase Orders' report, for communicating the PO to supplier. But the Fax commnds, and the output format we have to change accordingly. Also we need to move the generated output file to another directory.
    Please let me know the recommended customizing procedure for the above.
    Thans,
    Gowri.

    Hi,
    If you want to modify Print PO Report (POXPOPDF), refer to the following document.
    Note: 305307.1 - How To Modify Print PO Report POXPOPDF With Custom Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305307.1
    Regards,
    Hussein

Maybe you are looking for