Changing net weight on a Batch Sub-item (outb. delivery)

Hi !
From a report I have to change the Net weight on a Batch Sub-item on an outbound delivery !
I use BAPI 'BAPI_OUTB_DELIVERY_CHANGE' but I can't make it work... Does anybody know which parameters and tables I have to fill out when calling the BAPI
/Kenneth

Hi !
I can change the Delivery quantity on the batch sub-item...but when a try to change the Net weight on the same batch sub-item from eg. 850 kg to 853 kg the Net weight field is blank when the delivery has been updated..
I don't know if I have filled out the right fields in my internal table it_item_data...??
Table u_it_data contains the items that should be changed...both the main item 000010 and the batch sub-items...(900001, 900002)!
Here is my code !
  LOOP AT u_it_data INTO wa_data.
    IF wa_data-hieraritem = wa_data-posnr AND
       wa_data-batchsp = 'X'.
this is the main-position (000010)
      wa_item_data-deliv_numb      = wa_data-vbeln.
      wa_item_data-deliv_item      = wa_data-posnr.
      wa_item_data-material        = wa_data-matnr.
      wa_item_data-sales_unit      = wa_data-vrkme.
      wa_item_data-sales_unit_iso  = wa_data-vrkme.
      wa_item_data-base_uom        = wa_data-meins.
      wa_item_data-unit_of_wt      = wa_data-gewei.
      wa_item_data-fact_unit_nom   = wa_data-umvkz.
      wa_item_data-fact_unit_denom = wa_data-umvkn.
      wa_item_data-batch           = wa_data-charg.
      APPEND wa_item_data TO it_item_data.
      wa_icontrol-deliv_numb = wa_data-vbeln.
      wa_icontrol-deliv_item = wa_data-posnr.
      wa_icontrol-volume_flg = 'X'.
      wa_icontrol-gross_wt_flg = 'X'.
      wa_icontrol-chg_delqty = 'X'.
      wa_icontrol-net_wt_flg = 'X'.
      APPEND wa_icontrol TO it_icontrol.
    ELSE.
this is the Batch Sub-items (900001, 900002)
      wa_item_data-deliv_numb = wa_data-vbeln.
      wa_item_data-deliv_item = wa_data-posnr.
      wa_item_data-net_weight = wa_data-weight.
      IF wa_data-batchsp = 'X'.
        wa_item_data-dlv_qty        = wa_data-lfimg.
        wa_item_data-dlv_qty_imunit = wa_data-lfimg.
      ELSE.
        wa_item_data-dlv_qty        = wa_data-kcmeng.
        wa_item_data-dlv_qty_imunit = wa_data-kcmeng.
      ENDIF.
      wa_item_data-hieraritem      = wa_data-hieraritem.
      wa_item_data-batch           = wa_data-charg.
      wa_item_data-usehieritm      = '1'.
      wa_item_data-material        = wa_data-matnr.
      wa_item_data-sales_unit      = wa_data-vrkme.
      wa_item_data-sales_unit_iso  = wa_data-vrkme.
      wa_item_data-base_uom        = wa_data-meins.
      wa_item_data-unit_of_wt      = wa_data-gewei.
      wa_item_data-fact_unit_nom   = wa_data-umvkz.
      wa_item_data-fact_unit_denom = wa_data-umvkn.
      APPEND wa_item_data TO it_item_data.
      wa_icontrol-deliv_numb = wa_data-vbeln.
      wa_icontrol-deliv_item = wa_data-posnr.
      wa_icontrol-chg_delqty = 'X'.
      wa_icontrol-net_wt_flg = 'X'.
      APPEND wa_icontrol TO it_icontrol.
    ENDIF.
    CLEAR: wa_icontrol,
           wa_item_data.
  ENDLOOP.
  CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
    EXPORTING
      header_data               = wa_hdata
      header_control            = wa_hcontrol
      delivery                  = u_delivery
      techn_control             = wa_tech
    TABLES
  HEADER_PARTNER            =
  HEADER_PARTNER_ADDR       =
  HEADER_DEADLINES          =
      item_data                 = it_item_data
      item_control              = it_icontrol
  ITEM_SERIAL_NO            =
  SUPPLIER_CONS_DATA        =
  EXTENSION1                =
  EXTENSION2                =
      return                    = it_return
  TOKENREFERENCE            =
Regards,
Kenneth

Similar Messages

  • Quality certficates for batch split items in delivery

    Hi Masters
       How to make the output determination for outgoing quality certificates to select the output type LQCB
    for batch split items in Delivery.
    What is the routine to be selected in the output determination to map this scenario?
    Regards
    Mohan

    Hi Masters
            My problem is When i create a delivery for the items with batch split, the output type LQCB is not determined ie., not automatically get assigned in the delivery item.Hence the delivery items are not listed while executing T code QC20/
    What am I missing?
    -mohan

  • Inserting Batch Split Items in Delivery

    Hi Folks,
    a very quick question. I was mining for info to get the batchsplit items inserted into an Outbound delivery thru the FM WS_DELIVERY_UPDATE sometime ago. Out of doubt and tight schedule I had to opt for BDC which is not that elegant and I would like to know if anyone of you gurus has managed to insert batch split items for a normal item in a delivery. A sample piece of code would be just what I am looking for, suggestions are invited
    thanks a lot in advance.
    ZAM

    Hi ZAMUser,
    I have played with batch-split Items, this is a little part of the code. In this code I try to update quantity of the delivery. Maybe that will help you
    Regards
    Frédéric
    (comments are in french, and I play with special messages and text)
    *   Livraison
        refresh wlt_btc.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '4004'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '/00'         to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'LIKP-VBELN'    to wlt_btc-fnam ,
               wlt_badge-vbeln to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   PoPo.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '1000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=POPO_T'     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Poste.
        if wlt_badge-uecha eq '00000000'.
          move wlt_badge-posnr to wlv_poste.
        else.
          move wlt_badge-uecha to wlv_poste.
        endif.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '0111'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=WEIT'       to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'RV50A-POSNR' to wlt_btc-fnam ,
               wlv_poste     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Marque le poste
        move : 'SAPMV50A'    to wlt_btc-program ,
               '1000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=CHSP_T'     to wlt_btc-fval .
        else.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=IDET_T'     to wlt_btc-fval .
        endif.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_CURSOR'     to wlt_btc-fnam ,
               'LIPS-POSNR(01)' to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
    *     Recherche le sous poste.
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '3000'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=POPO_T'     to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
    *     Sous Poste.
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '0111'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=WEIT'       to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
          move : 'RV50A-POSNR'   to wlt_btc-fnam ,
                 wlt_badge-posnr to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
    *     Marque le sous poste
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '3000'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=CDET_T'     to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_CURSOR'     to wlt_btc-fnam ,
                 'LIPS-POSNR(01)' to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
        endif.
    *   Onglet Qtt
        move : 'SAPMV50A'    to wlt_btc-program ,
               '3000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=T04'       to wlt_btc-fval .
        else.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=T05'       to wlt_btc-fval .
        endif.
        append wlt_btc.
        clear  wlt_btc.
    *   Mise à jour Qtt livrée
        move : 'SAPMV50A'    to wlt_btc-program ,
               '3000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=SICH_T'     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'LIPS-LFIMG'  to wlt_btc-fnam ,
               wlv_poids     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Appels du call transaction.
        call transaction 'VL02N'  using wlt_btc
                                  mode  'N'
                                  update 'S'
                                  messages into wlt_error.
        sort wlt_error by msgid msgnr.
    *   Binary search
        read table wlt_error
             with key msgid = 'ZTPL'
                      msgnr = '011'
             binary search.
        if sy-subrc eq space.
          message i011(ztpl) with wlt_error-msgv1 wlt_error-msgv2.
        else.
          read table wlt_error
               with key msgid = 'ZTPL'
                        msgnr = '010'
               binary search.
          if sy-subrc eq space.
            message i010(ztpl) with wlt_error-msgv1 wlt_error-msgv2.
          else.
    *       Pas de binary search pour la recherche d'erreur
            read table wlt_error
                 transporting no fields
                 with key msgtyp = 'E'.
            if sy-subrc eq space.
              message i398(00) with text-e01.
            else.
    *         Mise à jours des masses dans les textes au niveau des postes
    *         de livraison.
              concatenate wlt_lips-vbeln
                          wlt_lips-posnr
                          into wlv_tdname.
    *         Masse net.
              move : 'VBBP'     to wls_thead-tdobject ,
                     wlv_tdname to wls_thead-tdname ,
                     'YP09'     to wls_thead-tdid ,
                     wlv_langu  to wls_thead-tdspras.
              move : wlt_bascule-poids to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat .
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
    *         Masse brut.
              move : 'YP07'            to wls_thead-tdid ,
                     wlt_bascule-poid2 to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat.
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
    *         Tare.
              move : 'YP08'            to wls_thead-tdid ,
                     wlt_bascule-poid3 to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat.
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
            endif.
          endif.
        endif.

  • Work Center sub items postition change

    Hi ,
    I am new to CRM. Got a requirement to change the positionof the Work Center sub items.
    I could able to change the main work center positons (Using t.code crmc_ui_nblinks) .whereas for the sub items, i do not know where to go  & change the positions. Appreciate anyone's help.
    Thanks
    Sekaran

    Hi,
    Each work center internally contains no of groups, each group contains no of logical links ( sub levels ).
    First we need to give position for groups. ex. search, creates are groups -> we can enter positions for this in the same trx crmc_ui_nblinks .. click on the workcenter and search for ur work center and select it . Click on second level navigation and change the position.
    For changing the position for logical link:
    go to the Define Work Center Link Groups and search for your group id and click on the second level navigation. Here you can change the position for the logical link ( sub items ).
    Hope it helps.
    Regards,
    Sandeep Kumar B

  • Creation of sub item with serial numbers in outbound delivery

    Hi All,
    We need to create a sub item for an Outbound Delivery main item in change mode with serial numbers for sub item.
    Process flow:
    1. Sales order item created with main item
    2. Outbound Delivery created with main item
    3. Outbound Delivery interfaced to external logistics sytem
    4. External logistics system pick the main item and a sub item (packaging) from warehosue and ship to customer
    5. External logistics sytems send delivery pick confirmation interface with main item details and serial numbers for sub item
    Now we have to create a sub item with serial numbers in the delivery referencing the same main item.
    NB: Delivey can have multiple similar main items but there is only material number in SAP for sub item. Hence the requirement to identify relevant sub item serial numbers to each delivery main item.
    Can you kindly tell me in what possible ways we can create sub item with serial numbers for a deliveyr main item in change mode.
    Thanks in advance
    Best  Regards
    Veer

    Hi,
    Does anybody have an answer?
    Thanks in advance.

  • Delivery of sub-items from a sales order

    Hi experts,
    We have a business requirement to be able to modify the customer's transmitted order line in a sales order. However, we would like to retain the customer's original order details.
    In order to do this, we wanted to capture the original request as a line item in the sales order with a item category not relevant for delivery and billing. We then create a sub-item for the original line with UEPOS populated for the sub-item. This sub-item is relevant for delivery and billing.
    However, we find that with the copy routine 101, SAP does not allow only the sub-item to be delivered. With the routine 110, SAP does bring in the sub-item, but blanks out the material number ( since it expects product substitution ).
    Would appreciate inputs from the forum
    Regards
    Rohit Zalani

    Hi Rohit,
    It is ideally required to have both higher item and subitem in delivery. However the moment there is a sub item, the delivery quantity for higher level item becomes 0 and hence this will not affect the quantity to be delivered. Hence the presence of higher level item will not impact the delivery or PGI in anyway. You can check this.
    Similarly for billing, you can check the Billing quantity field in copy control between delivery and invoice. The value has to be either G or H based on the scenario you want.
    Having said all these things, I think just adding the customer entered material either in the customer material field in sales order (I think VBAP-MATWA) or in some other Z field will relieve you of this big complexity. So unless or otherwise your customer i adamant on this, you can think of a simpler solution than the multiple levels of items.

  • Item Category do  ot change for sub-item in BOM

    Hi Friends
    I create main item using MM01, Gen item cat. grop in basic data 1 in ERLA and Item cat. group in Sales org. 2 is LUMF
    and similarily i created other items useing MM01 (for making sub item of main item) Gen Item Cat grop in basic data 1 is NORM and Item cat group in Sales Org. is also NORM.
    When i create sales order (OR) and enter main item only, when i press enter (green button at right top), BOM automatically explode and Item Category of main item change to TAP main item become in display mode BUT ITEM CATEGORY of sub items do not change (it remains the same as TAN), i should also change to TAE
    and also when i save this document it shows error at bottam that prising PR00 is missing. When i edit and give price of each sub item, i can save document and all prices which i am giving just now is automatically added in net value at header lavel.
    Please any one can advice me where i am doing wrong
    Rajesh
    Email: [email protected]

    HI,
    Please check in customizing.IN assign item category menu
    S.doc typeitem cat. groupUsageHigh lvl itemiem cate.
    ORERLA   TAQTAE.
    IN MM01 ERLA and LUMF can not be assigned to same material.They are alternative item category group.
    ERLA  is used when you want to price Main item  in BOM and sub-item are not priced.
    LUMF is used when main item in BOM is not priced but sub-item(individual component) are priced.
    In SAles org vie 2- you have assigned LUMF,that is each sub-item is priced.hence you are able save the document.Since  You have  maintained price in VK11 for each sub-item and item category of sub-item is not getting vhanged from TAN to TAE.
    But if you maintained ERLA in Sales org view 2 and redo all steps,your problem will be solved.
    vrajesh

  • Gross weight and net weight of line item in a delivery

    Hi what exactly the meaning of gross weight and netweight of delivery line item?
    Where can i see these 2 fields in the transaction?How weight differs to the quantity for a particular delivery item?
    Thanks in advane
    Mahesh

    Hi,
    <b>Gross Weight</b>
    The system can use the <b>gross weight</b> at a later stage, depending on what kind of capacity check you run, to check storage bin capacity for warehouse management purposes.
    The system calculates the gross weight of each item by multiplying the delivery quantity by the gross weight per unit that comes from the sales order. If there is no related sales order, the system uses the gross weight from the material master record. You can change the gross weight manually in the delivery document.
    <b>Net weight</b>
    The total net weight of all items in the delivery.
    Use
    The system calculates the net weight of each item by multiplying the delivery quantity by the net weight per unit that comes from the sales order. If there is no related sales order, the system uses the net weight from the material master record.
    Please reward if helpful.
    Thanks & Regards
    Sadhu Kishore

  • Sales Order Material Determination Cannot Change Quantity of the Sub-item

    Hi SAP Guru's,
    Has anyone encountered this scenario?
    1. Created a standard order with an item as material substitution
    2. Created a pro-forma invoice referencing the sales order created
    3. Went into VA02 to change the item quantity of the higher level item in the material substitution
    Expectation is that once you change the quantity of the higher level item, the quantity of the sub-item should also reflect whatever is in the quantity of the higher level item.
    Actual Result is that only the higher level item quantity is changed, the sub item quantity remained the same.
    Is there any configuration or copy control that we can check regarding this?

    Hi Maurice,
    Apologies! The qty of the sub item should change when you change it in VA02 even after proforma is created.
    Could you pls check the item categories TAX and TAPS config i.e. the material entered should get item category TAX and the sub item should have TAPS or the item categories should have same configuration as TAX and TAPS.
    Please check.
    Regards,
    Raghu.

  • Recreating duty calculations for PO for changed Net price of an item.

    Dear Friends,
    i am trying to simulate the duty values for a PO by calling the FM's in the below said order.
    it is working fine, when i am simply passing the actual value of the item via structure (gfl_komp) shown below.
    My requirement is like, i want to change the net price in the  item structure (gfl_komp) and recalculate based on the changed Net Price. But when i change the Net value, it is not getting reflected in the simulated value of FM 'Pricing_screen'.
    Is there anything i should pass to the  header structure (gfl_komk). Please help me out.
       CALL FUNCTION 'ME_FILL_KOMK_PO'
              EXPORTING
                i_ekko          = gfl_ekko
                i_ekpo          = gfl_ekpo_pass
               i_lfa1          = gfl_lfa1
                i_t001          = gfl_t001
               i_kalsm         = gfl_ekko-kalsm
               i_kappl         = 'M'
         I_EGIMP         = I_EGIMP
         I_LFM1          = I_LFM1
         I_T001W         = I_T001W
         I_TRTYP         = I_TRTYP
         I_WEDATEN       = I_WEDATEN
         I_KVORG         = I_KVORG
             IMPORTING
               e_komk          = gfl_komk
            CALL FUNCTION 'ME_FILL_KOMP_PO'
              EXPORTING
                i_ekpo                     = gfl_ekpo_pass
                i_t001w                    = gfl_t001w
                i_ekko                     = gfl_ekko
                i_komk                     = gfl_komk
           I_MT06E                    = I_MT06E
           I_EINE                     = I_EINE
           I_EINA                     = I_EINA
           I_PREISFINDUNGSMENGE       = I_PREISFINDUNGSMENGE
           I_UEBPO                    = I_UEBPO
             IMPORTING
               e_komp                     = gfl_komp
    Here i am trying to change the values of the actual PO values in gfl_komk and gfl_komp.
            CALL FUNCTION 'PRICING_SCREEN'
              EXPORTING
                comm_head_i            = gfl_komk
                comm_item_i            = gfl_komp
      COMM_TEXT              = ''
      DISPLAY_ONLY           = ''
      MATERIAL_TEXT          = ''
      TRTYP_I                = 'A'
      FPTYP_I                = ''
      CTRL_NO_DISPLAY        = CTRL_NO_DISPLAY
      REQUEST_POS1           = '-'
      REQUEST_POSM           = '-'
      REQUEST_POSP           = '-'
      REQUEST_POSL           = '-'
    IMPORTING
      COMM_HEAD_E            = COMM_HEAD_E
      COMM_ITEM_E            = COMM_ITEM_E
      CALCULATION_TYPE       = CALCULATION_TYPE
      FCODE_E                = FCODE_E
              TABLES
                tkomv                  = git_tkomv
      SVBAP                  = SVBAP
    CHANGING
      C_VFKOMV               = C_VFKOMV
        ENDCASE.
      ENDIF.
    Regards,
    Sandeep Sivan
    Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
    Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
    Edited by: sandeep sivan on Apr 13, 2010 11:37 AM
    Edited by: sandeep sivan on Apr 13, 2010 11:47 AM

    hi sirnivas..
    Thanq you for the points..these are the first i ever recieved..
    if you are working on peice of code which can get the price history do me a favour if you have finished the code just explain it to me who did u  do that...
    i have been working on an object from last two weeks to get the latest price...
    the thing is even though the price for condition items has been changed it wont get updated in the Sales orders unless new pricing fot the document is done...
    so i have to get all the sales orders who condition items price has been changed and display them in an ALV...so if you can get the exact old values...for the conditions i guess the opposite also can be done.....
    Here i have suggestion for you...in condition items there is a process called SCHEMA ( pricing Schema) which you can see using Condition Analysis button at the bottom of the condition item window...
    you can see all the price changes to the condition when you parse the tree structure of the procedure..EXAMPLE :- R0000 etc...
    so some Sales orders if the Schema has been changed all the existing condition are replaced by New ones from the changed Schema...so i guess that would play an important role in deciding the Price of Sales order...
    I know this is bit long but .....if you did finsish your program do let me know how you did it...
    Thankyou very much and good luck.

  • How to use CSAP_MAT_BOM_MAINTAIN for deleting / changing sub-items?

    I'm trying to use CSAP_MAT_BOM_MAINTAIN for BOM create / change / delete.
    Issue: This Function module is not working when I'm trying to delete / change sub-items of a BOM. I'm getting update termination (ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC) during BOM post.
    Is there a way to fix this?
    (1) BOM creation part is working fine
    (2) BOM item (without any sub-item change) change / delete is also working

    hi
    The following parameter are important parameter and mandatory
    Matnr ;  Enter the material Number
    BOM_USAGE : Ther many BOM available that is sales BOM and Production BOM etc  here you need to mention usage of BOM that is for sales or production
    I_STKO : Enter the BOM Header information  . Note : Ask your Functional consultand
    Apart form this parameter, all are optional so do worry
    regards
    anand kumar

  • Mass change through CS20 at sub item level

    Hi,
    Can we change BOM at sub item level through CS20.
    If any input pl. provide..
    Regards
    Tushar

    Hi,
    You can not change the sub items of BOM through CS20.
    Only item details can be changed here.
    Thanks
    SISL !!

  • Change in delivery quantity for batch managed items.

    30.09.2010
    Hi friends,
    We have activated batch management. During delivery after the batch is determined and if i want to change the delivery quantity say for example from 50 to 30 then first i have to go and adjust the quantity in the batches to toal 30  and then come back and change the delivery quantity from 50 to 30.
    After searching the forum i have found  user exits, but other than the user exits is there a standard configuration wheren if i change the delivery quantity the quantity is adjusted in the batches.   Please advise.
    Regards,
    Udaynath.

    Udaynath
    Did you try working with the batch strategy config?
    Try working with fields a) Over Del allowed, and b) Qty proposal.
    Path: SPRO/IMG/Logistics - General/Batch Management/Batch Determination and Batch Check/Strategy Types/Define Sales and Distribution Strategy Types
    Hope this helps. Let me know.

  • Variant as sub-item in Sales Order

    Dear Experts: 
    I have a scenario as follows:
    1. i want a variant as a sub-item in the sales order with reference to a higher level item. when user will enter the KMAT article, the pop-up will come for choosing variant and the KMAT will be replaced with the variant as it happens in configurable material.
    2. this variant article should not be relevant to pricing, delivery and billing; i. e. - document should not be incomplete for net value,  this variant should not come in delivery and billing document.
    how can i achieve this scenario?
    Regards,
    Farahnaz Sobhan

    Hi
    Delivery creation that is selection date is controlled by the schedule line of the line item in the sales order
    Try by changing the schedule lines in sales order in VA02
    there you try to change the delivery date to past
    It might be possible if you had enough stocks at that time
    Regards
    Raja

  • Material exchane ,copy pricing and conditions from main item to sub item.

    Hi All,
    We are using parts exchange/interchangeability in the transaction ME22N,
    While using ME22N we are exchanging  main item with interchangeable part and while doing so we want to copy pricing and conditions from main item to sub item.
    But its not happening.
    As per sap help its possible, details describe below.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/c2/0a5288b77d11d3bcce00105ab03aee/content.htm
    Price Determination by Copying from Main Item
    In the case of price determination by copying from the main item, the net price of the originally ordered part is still used for the superseding part in a part exchange.
    The system copies all conditions from the main item to all sub-items and takes into account the order quantity for the main item when calculating scale prices. It does not take into account the conditions and scale prices that exist for the interchangeable part.
    You cannot change the conditions, which have been copied from the main item, at sub-item level. It is possible, however, to define additional conditions for each sub-item.
    Prerequisites
    A calculation schema, which can be altered on an individual basis in Customizing, has been supplied for the price determination.
    In the vendor master record, you have set the schema group 09 (interchangeable material).
    But in customizing I didnu2019t find value 09 for schema group .
    Can any buddy through some light on missing pieces which need to be set?
    Thanks
    Regards
    Ritesh

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

Maybe you are looking for

  • Safari does not open in home page.

    Safari does not open with the "home page" set in preferences.  Always opens with the last page viewed prior to quitting.

  • How to create a tree in table?

    How to create a tree in table?

  • SRM back end service PO not showing NAVS value in Item condition

    Hi, We are on classic scenario.When PO for services created in backend from SRM, in item details view under conditions,NAVS value seen as '0' but at service level it shows the correctly calculated value for NAVS. When PO crrated in ECC dierctly for s

  • Lose connection to router after iMac wakes up

    Ok, when my iMac is waking up after it has been asleep it loses its connection to the router (grayed out). I can turn it off, turn it on, select my network but it says it cannot establish a connection to base station. Then for some reason it starts t

  • Disable horizontal scroll in multicolumn listbox

    I'm using a Multicolumn listbox and I programmatically change the cell to be edited using UP, DOWN, RIGHT and LEFT keyboard keys. Everything is working exept for the rightmost column: when I press the RIGHT key, the cursor moves to the next cell insi