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

Similar Messages

  • Purchase Order Creation - Shipping Data Modification - EKPV-TRAGR

    I have a requirement to modify the Transportation Group EKPV-TRAGR in PO Creation based o on some conditions. I am looking for a suitable BADI or User Exit.
    1. Class Interface: IF_PURCHASE_ORDER_ITEM_MM ==> method SET_SHIPPING_DATA has some limitations as below
    firewall
      MOVE: im_ekpv-vstel   TO l_data_new-vstel,
                   im_ekpv-lprio   TO l_data_new-lprio,
                   im_ekpv-vsbed TO l_data_new-vsbed,
                   im_ekpv-route  TO l_data_new-route,
                   im_ekpv-ablad  TO l_data_new-ablad.
    So, it does not support TRAGR change values. Not sure, how to get it done.
    2. User Exit:- EXIT_SAPMM06E_013 ==> This has XEKVP access to change the values on saving the PO. But it did not take the new values while creating a PO by copying another PO. It still holds the old values. The new value not updated before the document is saved. I am not sure, how to implement this User exit to modify EKVP-TRAGR values of PO.
    Can you please suggest me a suitable solution to this requirement?
    Appreciate Your Help in Advance.
    Thanks,
    Kannan.

    System do not allow to modify TRAGR

  • 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 ).

  • Import data to Purchase Order Item Level Text from DMS system

    Hi,
    I have the material PO Text maintained against the Material in the DMS system.
    In R/3, when I am creating the Purchase Order, I want the system to retreive the PO Text maintained in DMS against the material in the Purchase Order and paste it in the Purchase Order Item details - Material PO Texts.
    Could anyone suggest me which User Exit or BAPI and the Function Module to fetch this data from DMS.
    Thanks in advance.
    Regards,
    Jeetendra

    Dear Gurus,
    We are able to populate the "Import Data" in the backend PO in our backend system 4.6C, thorugh user exit
    EXIT_SAPMM06E_004   &   EXIT_SAPLV50E_004.
    Now when we create PO from SRM , the import related foreign trade data gets filled up from the master data.
    Problem: In Header and Line item condition: We are not getting the condition type GRWR automatically, if the PO is comming from SRM. Because of this the statistical value is 0.
    ( If we create manual PO, the condition GRWR appears in PO - and the Statistical value gets filled in automatically )
    How can we put the condition type GRWR into the PO using user exit ?
    Thanks and regards,
    Anil Rajpal
    Edited by: ANIL on Aug 12, 2010 6:18 PM

  • Line item Shipping data missing in STO

    Hi, I am making an STO ( same company code ). I have added 4 line items in the STO.
    For three line items, everything is ok. But when I added the fourth line item , the system gives an information message that sales org data and shipping data could not be found for the 4th line item.
    And so I could not see the shipping data(consisting of delivery type, shipping point etc) tab for the 4th line item. For the first three items, the shipping tab exists.
    The material for the 4th line item exists in both supplying and receiving plant and the material also exists in relevant sales org.
    The outcome of the above issue is that the 4th line item is not copied to delivery with ref to STO !
    Could any tell what is the config missing or what I need to do so that I have the shipping data for the 4th line item of the STO ?
    regards
    Pamela

    Hi,
    Check  Below points relevant to your shipping maintained correctly.
    u2022Shipping Data Determination
    ◦Shipping data (table EKPV) in STO is determined depending on:
    1.Supplying Plant
    2.Ship-to (customer of the receiving plant)
    (IMG -> MM -> Purchasing -> Purchasing Order -Set up Stock Transfer Order -> Define Shipping Data for Plants)
    3.Material Master Data
    4.Delivery Type
    (IMG -> MM -> Purchasing -> Purchasing Order -Set up Stock Transfer Order -> Assign Delivery Type and Checking Rule)
    ◦Shipping data determination:
    1.Sales Area: from supplying plant (T001W) (See SAP notes 169586, 170029, 170075, 170082, 303957)
    2.Shipping Condition: default order type (u2018DLu2019) for delivery type (TVLK-DAART), otherwise customer master data (KNVV-VSBED)Delivery priority: material/customer/distribution chain (KNMT), otherwise customer master data (KNVV-LPRIO)
    3.Unloading Point: from Ship-to, if available
    4.Shipping Point: loading group/shipping condition/supplying plant (TVSTZ)
    5.Route: usual criteria for route determination (TROLZ)
    6.Delivery Type: Purchase order category/document type/supplying plant (T161V, different delivery types)
    7.Route Schedule: with delivery scheduling (T161V)
    8.Loading Group and Transportation Group: material master data (MARA, MARC)
    9.Language of Material Description: customer master data (KNA1-SPRAS) (to read material master data from MAKT)
    10.Incoterms: customer master data, from purchase order
    11.Indicator for Order Combination: customer master data
    12.Indicator for Partial Deliveries: material/customer/distribution chain (KNMT), otherwise customer master data (KNVV-KZTLF

  • Problem in replicating the purchase order items

    Hi,
    The Requirement  is to replicate the line items of Purchase Order in ME23N which is extracted from BAPI_PO_GETDETAIL1 and copy it  in BAPI_PO_CHANGE .
    The problem is when i am passing ACCTASSCAT(Account assignment category) it is not replicating else it is replicating.
    while debugging the program the i am getting the data into internal table but it is not getting updated in database (ME23N).
    I am getting messages in RETURN table as follows:
    Instance 4200000020 of object type PurchaseOrder could not be changed
    Purchase order item 00170 still contains faulty account assignments
    Please also populate interface parameter POITEMX
    Account 402201 requires an assignment to a CO object
    Please find the code below.

    move 'X' to LT_ITEMX-HL_ITEM.
        move 'X' to LT_ITEMX-GR_TO_DATE.
        move 'X' to LT_ITEMX-SUPP_VENDOR.
        move 'X' to LT_ITEMX-SC_VENDOR.
        move 'X' to LT_ITEMX-KANBAN_IND.
        move 'X' to LT_ITEMX-ERS.
        move 'X' to LT_ITEMX-R_PROMO.
        move 'X' to LT_ITEMX-POINTS.
        move 'X' to LT_ITEMX-POINT_UNIT.
        move 'X' to LT_ITEMX-POINT_UNIT_ISO.
        move 'X' to LT_ITEMX-SEASON.
        move 'X' to LT_ITEMX-SEASON_YR.
        move 'X' to LT_ITEMX-BON_GRP2.
        move 'X' to LT_ITEMX-BON_GRP3.
        move 'X' to LT_ITEMX-SETT_ITEM.
        move 'X' to LT_ITEMX-MINREMLIFE.
        move 'X' to LT_ITEMX-RFQ_NO.
        move 'X' to LT_ITEMX-RFQ_ITEM.
        move 'X' to LT_ITEMX-PREQ_NO.
        move 'X' to LT_ITEMX-PREQ_ITEM.
        move 'X' to LT_ITEMX-REF_DOC.
        move 'X' to LT_ITEMX-REF_ITEM.
        move 'X' to LT_ITEMX-SI_CAT.
        move 'X' to LT_ITEMX-RET_ITEM.
        move 'X' to LT_ITEMX-AT_RELEV.
        move 'X' to LT_ITEMX-ORDER_REASON.
        move 'X' to LT_ITEMX-BRAS_NBM.
        move 'X' to LT_ITEMX-MATL_USAGE.
        move 'X' to LT_ITEMX-MAT_ORIGIN.
        move 'X' to LT_ITEMX-IN_HOUSE.
        move 'X' to LT_ITEMX-INDUS3.
        move 'X' to LT_ITEMX-INF_INDEX.
        move 'X' to LT_ITEMX-UNTIL_DATE.
        move 'X' to LT_ITEMX-DELIV_COMPL.
        move 'X' to LT_ITEMX-PART_DELIV.
        move 'X' to LT_ITEMX-SHIP_BLOCKED.
        move 'X' to LT_ITEMX-PREQ_NAME.
        move 'X' to LT_ITEMX-PERIOD_IND_EXPIRATION_DATE.
        move 'X' to LT_ITEMX-INT_OBJ_NO.
        move 'X' to LT_ITEMX-PCKG_NO.
        move 'X' to LT_ITEMX-BATCH.
        move 'X' to LT_ITEMX-VENDRBATCH.
        move 'X' to LT_ITEMX-CALCTYPE.
        move 'X' to LT_ITEMX-NO_ROUNDING.
        move 'X' to LT_ITEMX-PO_PRICE.
        move 'X' to LT_ITEMX-SUPPL_STLOC.
        move 'X' to LT_ITEMX-SRV_BASED_IV.
        move 'X' to LT_ITEMX-FUNDS_RES.
        move 'X' to LT_ITEMX-RES_ITEM.
        move 'X' to LT_ITEMX-GRANT_NBR.
        move 'X' to LT_ITEMX-FUNC_AREA_LONG.
        move 'X' to LT_ITEMX-ORIG_ACCEPT.
        move 'X' to LT_ITEMX-ALLOC_TBL.
        move 'X' to LT_ITEMX-ALLOC_TBL_ITEM.
        move 'X' to LT_ITEMX-SRC_STOCK_TYPE.
        move 'X' to LT_ITEMX-REASON_REJ.
        move 'X' to LT_ITEMX-CRM_SALES_ORDER_NO.
        move 'X' to LT_ITEMX-CRM_SALES_ORDER_ITEM_NO.
        move 'X' to LT_ITEMX-CRM_REF_SALES_ORDER_NO.
        move 'X' to LT_ITEMX-CRM_REF_SO_ITEM_NO.
        move 'X' to LT_ITEMX-PRIO_URGENCY.
        move 'X' to LT_ITEMX-PRIO_REQUIREMENT.
        move 'X' to LT_ITEMX-REASON_CODE.
        move 'X' to LT_ITEMX-LONG_ITEM_NUMBER.
        move 'X' to LT_ITEMX-EXTERNAL_SORT_NUMBER.
        move 'X' to LT_ITEMX-EXTERNAL_HIERARCHY_TYPE.
        move 'X' to LT_ITEMX-RETENTION_PERCENTAGE.
        move 'X' to LT_ITEMX-DOWNPAY_TYPE.
        move 'X' to LT_ITEMX-DOWNPAY_AMOUNT.
        move 'X' to LT_ITEMX-DOWNPAY_PERCENT.
        move 'X' to LT_ITEMX-DOWNPAY_DUEDATE.
        move 'X' to LT_ITEMX-EXT_RFX_NUMBER.
        move 'X' to LT_ITEMX-EXT_RFX_ITEM.
        move 'X' to LT_ITEMX-EXT_RFX_SYSTEM.
        move 'X' to LT_ITEMX-SRM_CONTRACT_ID.
        move 'X' to LT_ITEMX-SRM_CONTRACT_ITM.
        move 'X' to LT_ITEMX-BUDGET_PERIOD.
        append LT_ITEMX.
        clear LT_ITEMX.
      endloop.
      describe table LT_ITEM1 lines LV_NO.
      sort LT_ITEM1[] by PO_ITEM.
      read table LT_ITEM1 index LV_NO.
      append lines of LT_ITEM1 to LT_ITEM.
      clear LT_ITEM.
      LV_NUM = LV_NO * 10.
      condense LV_NUM.
      concatenate '000' LV_NUM into LV_NUM.
      loop at LT_ITEM where PO_ITEM is not initial.
        LV_INDEX = SY-TABIX.
        read table LT_ITEM1 with key PO_ITEM = LT_ITEM-PO_ITEM.
        if SY-SUBRC eq 0.
          if LV_INDEX gt LV_NO.
            LT_ITEM-PO_ITEM = LT_ITEM-PO_ITEM + LV_NUM.
            modify LT_ITEM transporting PO_ITEM.
          endif.
        endif.
      endloop.
    *LOOP at i_item.
      call function 'BAPI_PO_CHANGE'
        exporting
          PURCHASEORDER = LS_TAB-V_EBELN
        tables
          RETURN        = LT_RETURN
          POITEM        = LT_ITEM
          POITEMX       = LT_ITEMX.
    *ENDLOOP.
      if not lt_iTEM[] is initial..
        call function 'BAPI_TRANSACTION_COMMIT'
          exporting
            WAIT   = 'X'.
         importing
           RETURN = LT_RETURN.
       WRITE: I_RETURN-MESSAGE.
      endif.
    endform.

  • Qty in Purchase Order Item

    Hi ...sorry friends I am very new to SAP and that's why sending my foolish queries to u ... hope u will not mind.
    I am using ECC6.0 and here at my end I encountered a strange issue (may be this is std SAP functionality but I couldn't understand the logic behind it.)
    Issue is like...
    Even in partially or fully delivered orders , I can change (increase) Ordered qty in Purchase Order items and even for the PO items  for which "Delivery Completed" is set , I can change qty.
    Also I wanted to know is there any setting by which i can lock this functionality (like users will not allow to change qty if material is recd (partially / fully )against this Po item.
    Thx to all for yr valuable support and guidance.
    Regards
    SANDEEP

    Hi!
    In order to prevent the users from changing the PO quantity when they are fully delivered, you may maintain a system message for this in:
    SPRO - Materials Management - Purchasing - Environment Data - Define Attributes of System Message - System Message
    Set 00 06 744 to E (error) =)

  • Purchase order item details in the drop box is not appearing

    Hi all ,
    I have created a 'Z' transaction  ME22N .Purchase order change .
    In that transaction purchase order item details in the drop box is not appearing.
    Please suggest .

    Hi,
    System will not display the Purchase order item details in the first screen. First enter the data on the Item overview like Material or short text then only it will display the Item details.
    I think you are checking with out entering the data on Item overview .
    Check by entering the material/short text.
    rgds
    Chidanand

  • Purchase order item(2lis_02_itm) and 0PUR_O01  transformation

    Hello,
    I'm trying to populate  DSO 0PUR_O01 with  standard DS 2LIS_02_ITM Purchase Order Items
    The mappings are not copied after BCT installation. so i have  trouble in mappings some of the  keyfigures of 0PUR_O01 with the extractor fields. It's confusing.
    I did try to check rsosfieldmap for the datasource but failed to display any data for 2LIS_02_ITM. There are no entries in the table foe this DS.
    0PDLV_QTY Actual Quantity Delivered
    0PREQU_QTY Desired Delivery Quantity
    0PCONF_QTY Confirmed Quantity
    0PDVQLECR Quantity Delivered Late Acc. to Requested Delivery Date
    0PDVQEYSC Quantity Delivered Early According to Schedule Line Date
    0PDVQLESC Quantity Delivered Late According to Schedule Line Date
    0PQCOASREQ Quantity Confirmed as Requested
    0LOWR_BND Tolerance Limit for Under Delivery in %
    0UPPR_BND Tolerance Limit for Over Delivery in %
    Please suggest how to go ahead with the mappings ..

    Hello Raj,
    What ur following 3.5 or 7.0...?
    In 7 there are less chances for mapping after BCT installation, you have to do manually mapping in some cases. You can also face some problem of copying routine. So need to see each and every field accordingly.
    Best practice is to install in 3.5 and then migrate to 7 with appropriate steps.
    Thanks,
    Santosh

  • How can I terminate the purchase order item?

    Dear all,
    I have created and released a purchase order, which had two items. like following
    Item Material no qty delivery date
    10 Material-A 1000 pcs 12-25-2008
    20 Material-B 300 pcs 12-28-2008
    This purchase order has been released. And the vendor production order had been released and producted too. Item 10 has been producted and deliveried 300 pcs to our company. Now the purchase department asked to terminate the item 10. They didn't want the 700 pcs left.
    So we have to cancel the purchase order item 10. But we couldn't terminate this item.
    How can I do? Please tell me how to do step by step.
    Thank you very much!
    Paul.

    Dear,
    You can't delete purchase order at header level.
    You have to deleter purchase order line item wise.
    You can do it with ME22N t-code.
    Enter t-code ME22N, Select all line item of purchase order and click on delete indicator.
    Otherwise click on Delivery complete indicator of purchase order.
    You can also delete purchase order line item wise with MASS t-code.
    Enter t-code MASS, Select object BUS2012, Go in Field tab and select field MASSEKKO-LOEKZ and click on execute button.
    Then enter your purchase order documents number and enter indicator for deletion as X.
    Regards,
    Sri

  • Issue at Purchase order Item Text Transferring

    Hello,
    I have an issue with Purchase order Item text transferring from SAP R/3 to EDI.
    Here I am using Function Module - IDOC_OUTPUT_ORDERS.
    within the function module i have user exit to populate this.
    User Exit Name : EXIT_SAPLEINM_002
    Include name : ZXM06U02
    I need to populate data manually ( Hardcode ) for E1EDPT1 is 'LINK'.
                                                     and    E1EDPT2 is " some text".
    When I write the code at user exit ,it is populating so many time Link Field.
    However i need to get only one time for each Item of Purchase order.
    and also I have one more question as per SAP Standard Purchase order each item has :
    1. Item text
    2. Info record PO Text
    3. Material PO Text
    4. Delivery Text
    5. Info Record Note
    when Create PO and it created Idoc ,even when i fill all the text ,when i see data at WE02 ,it has only few text not all.
    Please give me advice ,how should i follow.
    Thanks
    Seshu
    Issue at Purchase order Item Text Transferring

    Hi,
    Do this check before adding the text..
    IF INT_EDIDD-SEGNAM = 'E1EDPT1'.
    add the text..
    ENDIF.
    Thanks,
    Naren

  • Look for 'Purchase Order' and 'Due date' Tables

    Hi Everyone,
    iam creating a Form for an automatic payment and i have some difficulties to find the table of these fields :
    - Purchase Order (EBELN)
    - Due date (NETDT)
    Please can u help me?
    Regards.

    I hope you checked these tables.
    I found these on Where-used for your NETDT field, Alos these tables have field BELNR which might intrests you.
      Table Fields                     Short descriptn
      BWPOS                            Valuations for Open Items
      FAEDT                            Due Date for Net Payment
      DKKOP                            Balance Audit Trail
      NETDT                            Due Date for Net Payment
      DKOKP                            Open Item Account Balance Audit Trail
      NETDT                            Due Date for Net Payment
      DSKOP                            Balance Audit Trail
      NETDT                            Due Date for Net Payment
      MHND                             Dunning Data
      FAEDT                            Due Date for Net Payment
    good luck,
    ags.

  • Wrong purchase order item in inspection lot record

    we have a purhase order in which item no. 1 & 2 have the same material code .
    GR  has been done against item no. 2 in MB01.  Also the usage decision has been done
    in QA11 for the inspection lot no. generated. Now when we see  the purchase order data in
    inspection lot in qa13 the value in  purchase order item no. is  1,whereas the GR has been
    done against item no. 2.
    Please tell why the inspecton lot is picking wrong reference of Purchase order item.

    Thanks Jürgen L.     for your reply.
    I have made some test cases on development server but they are showing correct reference.  To me also  it looked program bug,

  • What's the purchase order agreement master data table name?

    hi experts
    what's the the purchase order agreement master data table name? and by the way tell me some relative table about agreement.
    thanks a lot and hunger for ur advice.

    Hi,
    EKKO is the purchase order master table. EKPO is the item table. EKBE is purchase order history table. EBAN is purchase requisition table. EBKN is purchase requisition account assignment table.
    Reward.

  • 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

Maybe you are looking for

  • Questions on OBIEE Report / Dashboards

    What is report based total? while using PIVOT TABLE we find this option of the measures section > more options Where can we set suppress or repeat default settings? On Column properties for duplicate values suppression. I would like to know the diffe

  • Can't print a graph on the whole page in landscape

    Hello! I have XY graph that I want to print on the whole page in landscape orientation (paper A4). On the screen the graph is small, so I do resizing, appending image to report, and then printing. After sending it to the printer I get preview (from t

  • Text is missing in migo - excise invoice tab

    Hi, I'm doing migo with excise invoice tab option, where on the left, there are options like, capture & post, part1 only, no excise entry .etc.. In that area if i use F4 option,  i can see both the fields i.e field nbr as 01 and text as capture and p

  • Randomly Disabled User Accounts in Server 10.3.9

    For various political reasons, we've chosen to skip 10.4 server and wait for 10.5. So, the problem is that users will be unable to log in, and once I go to Workgroup manager, they're "log in" checkbox is unchecked, but their user icon isn't crossed o

  • Strange error $Proxy91

    Hi everybody! I was just wondering if some could help me with my problem. I wrote a java bean and have deployed it on a server. So in JNDI there is an entry ".+ - CandidateBean (class: org.jnp.interfaces.NamingContext) + - remote (class: java.lang.Ob