Updating picked quantity, gross and net-weight in delivery

Hello Experts,
I have created a program from which I am trying to update the picked quantity, gross and net-weights into an outbound delivery. This works in the normal scenario when the base UoM, sales UoM and the gross and net-weight UoMs are the same.
However, when these UoMs are different, I have to carry out a conversion according to the UoM being used for each of the quantities mentioned. In such a scenario, the BAPI returns the following messages: -
Error message: - Error in document 0080005487 item 00010 (quantity consistency check) [Message Class VLBAPI; Message Number 004]
Warning message: -Quantities  0.0000000000000000E00 and  0.0000000000000000E00 cannot be represented by conv. factors 87,658 and 39,761 [Message Class VL; Message Number 266]
The BAPI that I am using is BAPI_OUTB_DELIVERY_CHANGE.
For the parameter ITEM_DATA, these are the values, that I am passing: -
DELIV_NUM: - 80005487
DELIV_ITEM: - 00010
Material: - 30020596
DLV_QTY: - 4
DLV_QTY_IMUNIT: - 8.818
FACT_UNIT_NOM: - 87658
FACT_UNIT_DENOM: - 39761
GROSS_WT: - 1.004
NET_WEIGHT: - 0.004
UNIT_OF_WT: - TO
UNIT_OF_WT_ISO: - TNE
SALES_UNIT: - KG
SALES_UNIT_ISO: - KGM
BASE_UOM: - LB
MATERIAL_EXTERNAL:  - 30020596
MATERIAL_GUID: - DD7B9B2F133B61F1B6DF0015C5891481
Please note that the delivery I am trying to update has the following units: -
Base UoM: - Lb
Sales UoM: - Kg
Gross & Nt Weight: - TO
Please let me know if there is any other value in the item_data internal table or any other parameter of this BAPI that needs to be initialized.
Please respond ASAP. I have been struggling with this issue for quite some time.
Regards,
Divyaman Singh Rawat

https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=bapi_outb_delivery_change&adv=false&sortby=cm_rnd_rankvalue
Will help you out

Similar Messages

  • Required the Gross and Net weight

    Hi to All,
    Please help me on how to config or reqired the Gross weight and net weight in creation of material master in tcode MM01 (Sales: General/Plant)
    Thanks,
    Ermin D. Concepcion

    Hi,
    Please check with the following link you  can find the BDC Program to Upload Material Master Data (MM01)
    http://sapprograms.blogspot.com/2008/11/bdc-program-to-upload-material-master.html
    Thanks,
    Neelima.

  • 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

  • Capture Gross ,Tare & Net weights of each receipt in MIGO.

    Hi All
    The requirement is to capture Gross ,Tare & Net weights container wise for all Goods receipts .
    either in MM or WM , is this feature availabele on standard SAP or how is it possible.
    Thnaks in Advance
    Kind Regards
    Samson

    Hi,
    For Gross wt. Tare wt and Net wt. you have to go through the following process :
    Inbound Delivery        - VL31n  (Gross wt, what is printed on the invoice)
    GRN                            - MIGO( Net wt, what is the actual receipt)
    So the different between the both will give you the tare wt.
    If your industry is following the above mentioned process then it is possible to track or you can track the same through a development of report for your Weighbridge. Here what is done manually will be captured in the sap system.
    Hope this will clear your issue.
    T & R,
    Brijesh

  • Update Picking quantity in VL02N?

    Hi All,
    In my application i am Using WS_DELIVERY_UPDATE_2 we can  update picking quantity, it is working fine when we pick full quantity.
    Suppose if i pick partial quantity, for example for one item total qty is 2, i am picking 1 first time and save, next time if i pick 1 second time it is not updating? how can we acieve this??
    Thanks,
    Venkat.

    Use below FM :
    Clear : i_prot.
      refresh : i_prot.
    Delivery Update
      CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
           EXPORTING
                do_commit                = 'X'
           TABLES
                t_delivery_items         = i_lips
                prot                     = i_prot
           EXCEPTIONS
                conversion_overflow      = 1
                essential_data_missing   = 2
                error                    = 3
                nothing_to_update        = 4
                lock_after_update_failed = 5
                error_in_delivery_update = 6
                OTHERS                   = 7.
      COMMIT WORK.
    Pass lips-lgort..
    <REMOVED BY MODERATOR>
    Thanks
    Seshu
    Edited by: Alvaro Tejada Galindo on Aug 8, 2008 4:51 PM

  • Gross weight and net weight not getting copied from Inquiry to quotation

    Hai Gurus
    Could anyone tell me why gross weight & net weight for the particular quantity of goods are not getting copied to quotation and order from an inquiry. All other details that I maintain in an inquiry (shipping type, receiving point etc) are getting copied  to quotation.
    regards
    John
    Edited by: Gino12 on Nov 11, 2010 12:49 PM

    Dear
    Did you maintain in MM02-MMR-Sales/Plant  view Gross weight and Net wirght ??
    System calculates the net weight based on the order quantity for the item and the net weight proposed from the material master record. If the item has more than one schedule line, the system uses the total order quantity of all schedule lines to calculate the net weight. In sales documents where schedule lines are not allowed (contracts, for example), the system calculates the net weight using the target quantity.
    Regards
    JH

  • In sales order gross weight and net weight are incorrect.

    Hi,
    In sales order are for a line item gross wt and net wt are  not showing as per order quantity.
    I checked in material master, in basic data 1 and additinal data gross wt and net wt are maintained correctly.
    So could you please advise me what could be the issue.
    Thanks,
    Praveen

    You need to provide a bit more information on when this is happening like whether the sales order has been created against a contract or the user changed the quantity etc..
    For example, when the user creates the sales order against a contract, while copying and changing the quantity this may happen. This is due to, the user directly clicking the save button before hitting enter button. Meaning whenever a user makes changes in item quantity in the sales order, they can hit the enter button so that the system can refersh the related data. Then the user can click on the save button.
    We had similar issue when the quantity is copied from quantity contract and we instructed the users to hit enter button to refresh all the related data.
    Regards,

  • Update picked quantity and delivery quantity in picking.

    hi,
    i completed delivery with reference of sales order, and also complete pgi useing tc vl02n . i want any standard function module or BAPI for  update the picked quantity and delivery quantity in picking.
    thanks in advance.

    Hi Dhanush,
    Refer to the function module WS_DELIVERY_UPDATE for pick, pack, update serial numbers & PGI functions of the delivery.
    Hope it helps!
    Thanks!
    Preethi.

  • BAPI's for Batch Split and Update Picking Quantity

    HI All,
    I have the delivery details(along with batch number, MATNR etc), now i need to split the batch for picking.
    and then i need to sum the batch quantity and update this total quantity to the picking quantity and then update the delivery.
    I tried to use this BAPI function module BAPI_INB_DELIVERY_CHANGE.
    But i am unable to find the picking quantity field in this BAPI.
    Any idea about how to split the batches using BAPI's??
    and how to update the picking quantity using BAPI's?
    Thanks in advance.
    Vijay

    Hi,
    Can you share the solution for the above issue/
    Regards

  • "Internal error (-5002) occurred" On Pick List Update Picked Quantity

    Hi Experts,
    I have an SDK program that simply tries to update the Picked Quantity in SAP. Previously it has been working fine, until I try to use the same logic for items managed by Batch or Serial Number.
    In this scenario, I have created a PickList with only 1 row, the item is managed by Serial Number.
    I try to simplify the code as below.
    Dim oBaseDocument As SAPbobsCOM.PickLists
    oBaseDocument = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
    BaseDocument.GetByKey(12345)
    oBaseDocument.Lines.SetCurrentLine(0)
    oBaseDocument.Lines.PickedQuantity += 1
    oBaseDocument.Lines.BinAllocations.Add()
    oBaseDocument.Lines.BinAllocations.SetCurrentLine(0)
    oBaseDocument.Lines.BinAllocations.BinAbsEntry = CInt(sBinAbsEntry)
    oBaseDocument.Lines.BinAllocations.Quantity += dXML_Quantity
    oBaseDocument.Lines.SerialNumbers.InternalSerialNumber = sXML_BatchSerialNo      ' <--- ***
    lRet = oBaseDocument.Update
    I have added the *** line for handling the Serial Number, but when it hit the Update command, the SDK returns "Internal error (-5002) occurred".
    I'm not sure what does it means.
    Anyway I tried to remove the *** line and it works fine for item not managed by Batch or Serial, but the issue will remains for the Items managed by Serial or Batch.
    Please advise whether I missed anything in this code.
    Thank you in advance.
    Best Regards,
    Krisma

    Hi Krisma,
    I haven't done this thing practically but error -5002 will occur, if there is any Invalid Object.
    You can check it accordingly.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • Urgent-Help needed in FM to update picking quantity in outbound delivery.

    Hi,
    I have to automatically update the delivery and picking quantity for an outbound delivery without doing any post goods issue.Could you please help me with any FM which does this with proper explanation.
    Any help will be greatly appreciated.
    Thanks,
    Sandeep.

    Check with FM : SD_DELIVERY_UPDATE_PICKING
    The above FM will update Picking in delivery
    Check the structure VBPOK ,within structure VBPOKKOMMI(Include structure)
    Field is PIKMG.
    Thanks
    Seshu

  • Same gross weight & net weight in delivery

    Hi Gurus,
    Why net weight and total weight is coming same in delivery?
    In Delivery > Goto > Header > Loading > Total weight & Net weight
    as I see difference in  the gross weight & net weight in MMR.
    What could be the reason?
    Regards,
    Rakesh

    Hi,
    Chcek in VOV7, whether the field "Wght/Vol. Relevant" is flagged or not. It has to be flagged to calculate weight and volume for an item.
    Regards
    Vijay

  • 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

  • Update picking quantity in delivery (Batch split items) using function modu

    Hi All,
    I need to update a picking quantity with zero value in delivery for batch split items (Item numbers start with 900001. etc).I'm trying to use WS_DELIVERY_UPDATE
    and SD_DELIVERY_UPDATE_PICKING. I'm passing parameter VBKOK-KOMUE , and all other details, but it is not updating.
    I'm able to update delivery quantity of same item with zero value but not picking quantity.
    Could you please let me know how to achive this.
    Regards
    Vikram

    I think the number 900001is mean batch split line item.
    example:
    In Deivery Note:
    Item 10
         Batch 900001
         Batch 900002
    Item 20
         Batch 900003
         Batch 900004
    That right,

  • LSMW Custom program for updating picked quantity in outbound delivery

    I have been tasked with creating an LSMW that will update the picked quantity in an outbound delivery.  I originally thought of using a recording on transaction vl02n, but I need the LSMW to work with variable amount of item lines. 
    Through some research I figured out that FM WS_DELIVERY_UPDATE_2 can update the picked quantity.  I have successfully created a custom program that calls this FM. 
    I have created what I believe to be the correct entries in the SXDA0, SXDA1, SXDA2, and SXDA3 tables to make my custom program work with LSMW.  I am able to find my program in the "Maintain Object Attributes."  I am also able to "Maintain Structure Relations Step" (screen shot attached)  I am currently using VBKOK and VBPOK for the header and line item structures respectively. 
    My difficulty is converting the data.  I have tried everything from having no conversion rules to mapping many fields and I always receive the following error (screen shot also provided).
    Error analysis
    The statement
         "Move src TO dst"
    requires that the operands "dst" and "src" are convertible.
    Since this statement is in a Unicode program, the special conversion
    rules for Unicode programs apply.
    In this case, these rules were violated.
    Program /SAPDMC/SAP_LSMW_CONV_FORMS
    Include  /SAPDMC/SAP_LSMW_CONV_FORMS
    Row 1,080
    Module type (FORM)
    Module Name TRANSFER_RECORD
    Since I have run the conversion with no conversion rules I am very confused as to why I am still receiving this error.  Any insight would be greatly appreciated.

    For anyone I have uncovered some interesting things about my issue.  I started going through the conversion code piece by piece trying to figure out what data element the system was choking on. 
    After digging though the program and using the debugger I found out that the issue was in FORM transfer_record. 
    ASSIGN (g_record) TO <l_record>.
         CASE g_objecttype.
           WHEN '01' OR '02'.
             gt_buffer-record = g_record.
             gt_buffer-data = <l_record>.
             APPEND gt_buffer.
    If this LSMW was working
    g_record = 'VBKOK'
    <l_record> = 'VBKOK'
    But what is actually happening
    g_record = 'VBKOK'
    <l_record> = "Structure of some sort
    I do not know why this is happening since the field symbol is being assigned right before this piece of code.  Any suggestions are greatly appreciated.

Maybe you are looking for

  • Planned Order to STR Conversion - incorrect Valuation Price

    Hi Experts Not sure if you've encountered this before:- Material A in Requesting Plant has Valuation Price of USD10. Material A in Supplying Plant has Valuation Price of USD20. Material A is planned through MRP in Requesting Plant with Planned Order

  • Mac OS X GUI keeps freezing

    Hello, Approximately once in every two weeks my Mac OS X GUI hangs. Applications are working, but I am unable to change them via command-tab, or via mouse click. Mouse pointer is moving. I am able to login from remote machine via ssh. Last time 'kill

  • T420 BIOS - "Clear Security Chip" Option missing

    Hello, we got several T420 with different BIOS versions (from 1.30 to 1.40) On 95% of them the "Clear Security Chip" Option is available @ BIOS but on some of them the option is missing. Is there an easy explanation for this mistery? Best regards, Ch

  • Purchase of Adobe Photoshop

    Hi,      my name is Louis Colin from Mauritius. I am interested to buy the latest download version of the above product online only to find out that I cannot as I live in the region of Mauritius. Kindly make this product available for download to the

  • FTP Keeps Timing Out

    I can FTP just fine using my browser with a login. But when I try with Dreamweaver, it logs in, just keeps trying (Progress bar, Progress Bar, ...) then skips file. Unfortunately the file on my server is then empy and I am hosed. Then I must go to th