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.

Similar Messages

  • Specific Identification Cost for batch managed items (Follow-Up from P2P)

    Specific Identification Cost method is used for serial and batch managed item. Using this method, the outbound cost of such items would be the original cost of specific goods, which can be determined according to the serial or batch number of that item.
    Business One allows the user to receive batch managed items with a batch number that already exists in the DB. It’s possible that the received quantity is added to on-hand quantity in the warehouse. In such case, the quantity on-hand of that batch and the received quantity may have different costs.
    What should be the system behavior in such case:
    1. Block receipts to the same batch with different costs.
    2. Write the difference to a price difference account, as done in Standard Cost method.
    3. Manage the batch cost with Moving Average method.
    This thread is continuation from 'Specific Identification Cost for batch managed Items' <a href="http://p2p.sap.com/businessoneforum?type=join&login=1&uid=41FB661A76CED536C825C4E2B6FF4397&cid=91&go=z37225">discussion</a> in P2P SAP Business One Forum (Product Development Collaboration).
    Previous discussion on P2P is summarized in the attached file.

    Hi Peter,
    This is a very important functionality that you are describing here. For example, in the Steel industry, it could be extremely useful to cost by batch or serial number.
    If you receive a batch that already exists in the system and if the costing method for the product is moving average, then teh cost of the batch should be calculated based on the moving average as well.
    If the costing method is standard, then the cost should go in a variance account.
    If the costing method is FIFO, then it is a getting trickier...
    Regards,
    Vincent

  • Update picking quantity in delivery for batch split items

    Hi,
    I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
    To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
    If we do not make picking quantity also zero it will not allow to delete these items
    and gives an error message saying "item is already made available for transfer order".
    Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
    Thanks

    Hi Vikram
    To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
    Parameters to be passed:
    VBKOK_WA
    -- VBELN_VL - Delivery Number
    -- VBELN - Sales Document Number
    SYNCHRON - 'X'
    VBPOK_TAB
    -- VBELN_VL - Delivery Number
    -- POSNR_VL - Delivery Item Number
    -- VBELN -- Sales Document Number
    -- POSNN -- Sales Document Item Number
    -- MATNR -- Material Number
    -- LFIMG -- '0.000'.
    Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
    Please try on your end too...
    Hope this helps.
    Regards
    Eswar

  • Material getting set for Batch Management in O/B delivery

    Hi Folks,
    For a material which is not batch managed, I created an outbound delivery.
    For some reason, the material is getting set as 'BatchManagement' even though the Batch Management indicator is not set.
    Due to this PGI is not possible.
    Any thoughts on why the 'Batch Management' indicator has been set and how to resolve this?
    Regards,

    Hi Jürgen  ,
    I am unable to replicate this problem in Q. Its occuring only in P while doing a goods issue.
    Message is
    "The batches are not defined for delivery item XXXXXX".
    As I said earlier, we have not set the batch management check box in MM.
    However the outbound delivery has the batch management check box selected .
    Anything I missed to check? Q is almost identical to P. But still issue is only in P.
    Regards,

  • 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

  • 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

  • How to block change of delivery quantity in VLO1N

    The system should not allow the change of delivery quantity in VLO1N, say if in sales order the quantity is 10 & they change in VLO1n as 12

    Hello Prem,
    What I understand from your post is that you want that a delivery document created for a Sales order should not allow the quantity to go beyond the Sales Order Quantity.
    You can do this by going to the following customizing entry.
    First determine the item category relevant to you here:
    LE -> Shipping -> Deliveries -> Define Item Category determination in Deliveries
    Then go to "Define Item Categories for Deliveries". Open the relevant item category. In the field "check overdelivery" Provide value "B" and save.
    Hope this helps.

  • VL32N Change inbound delivery quantity after a partial goods receipt

    Dear.
    I have created an inbound delivery using VL31N from a purchase scheduling agreement.
    I have executed a partial goods receipts using MIGO for the inbound delivery.
    I need to reduce the delivery quantity for the inbound delivery using VL32N but the system donu2019t allow to change the delivery after a goods receipt.
    How can I proceed ?
    Thanks for your help.

    Hi,
    When a (partial) goods receipt has been posted to an inbound delivery item, the possibilities to change this item are restricted.
    If the delivery quantity is the same as the goods receipt quantity, then the item is fully posted goods receipt. No change of quantity is possible.
    If the delivery quantity is still higher than the goods receipt quantity, you can create one or several new TO's for the rest and
    confirm, if needed, with differences.
    You have also the chance to adjust the delivery quantity to the picked (and already posted) quantity with VL32N and menu:
    Edit => Copy Putaway Quantities as Delivery Quantities
    Please also have a look at note 796053.
    Hope this can help
    Regards
    Mauro

  • Change (convert) delivery quantity

    Dear all,
    Does anyone know how I can change the delivery quantity ?
    What we ant to achieve is the following:
    - an order has been created with a quantity in sales units for example 10 BAG
    - at creation of delivery, we would like to convert the sales order quantity to the unit of issue (MARC-AUSME) if this one is different from the sales order sales unit (for example PAL iso BAG) ...
    I tried a few things yet to change the quantity (and unit) to the converted one, but it all didn't work ...
    Any idea how this can be done ?
    Thanks in advance !
    Greetz,
    Kurt.

      select single kwmeng vrkme into (lv_kwmeng,lv_vrkme)
                                 from vbap
                                 where vbeln = lips-vgbel
                                   and posnr = lips-vgpos.
      select single ausme into lv_ausme from marc
                                        where matnr = lips-matnr
                                          and werks = lips-werks.
      if sy-subrc eq 0 and lv_ausme is not initial.
        call function 'ZCF_UT_UNIT_CONVERSION'
          exporting
            matnr_imp      = lips-matnr
            unit_new_imp   = lv_ausme
            unit_old_imp   = lv_vrkme
            value_old_imp  = lv_kwmeng
          importing
            value_new_exp  = lv_lfimg
          exceptions
            invalid_input  = 1
            invalid_output = 2
            overflow       = 3
            others         = 4.
        if sy-subrc <> 0.
    *     message id sy-msgid type sy-msgty number sy-msgno
    *             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        lips-lfimg = lv_lfimg.
        lips-vrkme = lv_ausme.
      endif.

  • Problem when changing the target quantity for a contract

    Hello,
    I have a problem when i try to change the target quantity for a contract through the BAPI 'BAPI_CONTRACT_CHANGE'.
    I filled the tables 'item' and 'itemx' with new values. the BAPI 'BAPI_CONTRACT_CHANGE' returns no error, but after using the BAPI 'BAPI_TRANSACTION_COMMIT' I get an info message from SAP and the modification does not pass.
    In debugger I could locate the error. In fact, the appeal of FM 'ME_UPDATE_DOCUMENT is done with a table XEKKN with the new values of the quantity and a KZ code equal to ' I ' to insert, then it must have the value ' U 'for update .
    Is someone can help me to solve this problem?
    Thank you in advance.

    Have you tried selecting the page, and then changing the theme directly on that page?

  • 351 movmnt type doesnot refers the Batch managed items with respect to P.O

    Dear SAP Gurus,
    For Stock transport order, i am using the 351 and 101 movement type.
    The batch managed items are provided in the Purcahse order and the same batch is displayed while receiving the material -101 movement ytpe  with respect to Purchase order, but while performing the Goods issue - 351 movement type , the batch is not displayed in the line item.
    Kindly help me to solve this
    Thanks in advance
    Thanks and Regards,
    R.Diwakar

    Dear SAP Guru,
    Thanks for your kind response
    yes, the batch managed material is already available in both plants that is material already extended.
    Manually the batch is entered by the receiving plant (what they required for STO), but while performing the Good issue against the  Stock Transfer order the batch is not referred or automatically flows to the batch managed items.
    in 351 movement type.
    Kindly guide me on this.
    Thanks and Regards,
    R.Diwakar

  • QM In-Process Inspection for Batch Managed Material

    Hi,
    I have a issue related to UD of In-Process inspection for batch managed material. The production process is discrete manufacting for a cold rolling mill. A production order can have mutiple coils as per the production amount. To track the individual coil , batch management has ben activated. We have both in-process as well as inspection after production here.
    For inspection after production we are fine as we are doing partial confirmation after every coil and have separate inspection lot having different batch number.
    But for in-process I can have only one inspection lot for the production order (created on release of the production order). I can do the result recording but while trying to do UD u2013 it is asking for a batch number as the material is batch managed. W/o entering the batch number system is not allowing me to do the UD.
    Is there any solution/work around of this problem.
    -Regards
    ashim

    Hi Ashim,
    you raised a very good question? i am helpless here to execute same scenario,
    but i disussed with my QM guy here, he said, once the material is batch managed then it has to ahve batch in UD.
    so i discussed ur case, which is very much valid for heavy ind like cement and all,
    so what i suggest, u create a dummy batch in the UD for in process (no inventory posting)
    and at confimation give ur usual batch (if system propose the dummy batch which u give in the UD for inprocess, try to change there--- i hope it should allow)
    i would really like to here answer from u for this.
    try to do as suggested, and let me know the results.
    REgards,
    Pravin mukkawar

  • Customer exit for Batch management

    Hi experts,
    I'm using customer exit for batch management for internal number assignment.
    I need the Batch number as i mentioned below 
    DDMMYYB01
    DD-Date
    MM-Month
    YY-Year
    B-Block
    01-Number
    For this i need to give logic. How to give i'm not getting. This batch number creation will come at the time of GR.
    Anybody help me?
    Naren

    Hi
    Please use the user exit SAPLV01Z as I mentioned in your other thread, please go to SMOD to read its documentstion.
    In SMOD, select the 'Documentation' and click 'Display', this will show the overview documentation.
    Select the 'Componnet', then ciick the 'Display'. select each component and click 'Documentation Ctrl+F4) this will show the detailed documentation of them.
    Best Regards.
    Leon.

  • Tcode to create single delivery document for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code VL31N.
    Regards,
    JS

  • ATP check for batch managed products

    Hello All,
    I have a requirement for ATP check for batch managed products and would be glad if someone can help me on that.  One of the characteristics on my product is expiry date. Business wants to restricts confirming products which has an expiry date of less than 90 days for orders outside the country. How can we achieve that?

    Hello
    You can try with activating Shelf Life Expiration Date (SLED).
    For config, check SPRO - Logistice General - Batch master - SLED
    Then finally setup Customer Exit to calculate/check the SLED.
    Exit EXIT_SAPLMHD1_001 for enhancement SAPLMHD1.
    Further, you can refer following SDN thread for reference/understanding:
      - SLED by customer/ material
    Regards
    JP

Maybe you are looking for