Database Field for Picked Quantity in Delivery

Hi All,
We want to know the Database Field for Picked quantity in a delivery. We checked the help for the field and it points to the LIPSD structure and the field PIKMG. However I could not find it in LIPS table or any other table. Could somebody please help me locate this field in the database ?
Thanks,
Amit

Hi, This is late response i know, but maybe someone else is looking for same and needs code for same. Please keep in mind that you also need to check if users have done LT0G return from GI are back to picking bin. In this case you need minus the TO from total picking qty.
ABAP routine:
form LIPS_PICKED using LS_LIPS type LIPS.
   data: LT_VBFA type table of VBFA,
         LS_VBFA type VBFA,
         LS_LTAP type LTAP.
   select * from VBFA into table LT_VBFA  "Fetch to data from doc flow and count picked
     where VBELV = LS_LIPS-VBELN
     and   POSNV = LS_LIPS-POSNR
     and   VBTYP_N = 'Q'.
   clear LS_LIPS-LFIMG.
   loop at LT_VBFA into LS_VBFA.
     select single * from LTAP into LS_LTAP
       where LGNUM = GS_SCREEN_100-LGNUM
       and   TANUM = LS_VBFA-VBELN
       and   TAPOS = LS_VBFA-POSNN
       and PQUIT   = 'X'. "Picked!
     if SY-SUBRC = 0.
       if ls_ltap-vltyp = '916'. "Source is GI area => LT0g done, it is minus!
        LS_LIPS-LFIMG = LS_LIPS-LFIMG - LS_LTAP-VISTA.
       ELSE.
       LS_LIPS-LFIMG = LS_LIPS-LFIMG + LS_LTAP-VISTA.
       endif.
     endif.
   endloop.
endform.                    "lips_picked

Similar Messages

  • Table and table field for PICKING QUANTITY.

    Hi friends,
           I need to use PICKING QTY in script. but it is in structure LIPSD-PIKMG.
    Please say Table and Field for Picking quantity.
    I need a table and field.
    THANKS in advance.
    balaji.

    Hi Tarani, Rasmi,
    Thank you for quick response.
          LIPS-LFIMG is Delivery Qty . It is not Picking Qty.
    please let me know for PICKING QTY to display in my Script.
    Thank you.

  • Exact field name and table name for Picking quantity

    Hi All,
    I need to know the field name for Picking quantity. If we go for VL02N transaction code and enter deliver number and go for picking tab, here in item details for picking quantity I need the exact field to catch it.
    Thanks in advance.
    Ramesh.

    Hi Ramesh,
    You can find Picked quantity in below way.
    table where picking quantity is
    Regards,
    Jai

  • SD - copy picked quantity as delivery quantity ( VL02N )

    Hi everybody, I will be appreciate if sombody can helpme.
    I need to copy the delivery quantity to the picking quantity, becouse this is the most common situation that happend in this company. But, when I tried it, nothing happend.
    So, been in the VA02, I go -> Edit -> Copy Picked Quantity as Delivery Quantity, but nothing happend. Only sendme this warning message "Delivery quantity must be entered for the item".
    It's seems as something left me.
    Thanks,
    JEOS.

    First check the Delivery Item category"OVLP", whether "Picking relevance" check box is marked or  not.
    If it is activated then you have to pick the material.
    For that, you have to create a Transfer order for the Delivery (LT03). When you create a Transfer order, Enter your Warehouse no , Plant Delivery document number and proceed.
    The Delivery quantity should be automatically copied as Picking quantity which you can check in the overview screen in Picking Tab.
    It is mandatory that the Delivery quantity and the Picking quantity must be same to do PGI.
    As Picking is relevant for the item, so you must ensure that Picking location determination assignment  have been done.
    Otherwise, you can remove the activation from the Picking relevance field from the Delivery item category and try once.

  • User Exit for Pick Quantity

    Hi All,
    Please let me know user exit for Pick Quantity.
    We are doing picking without ware house management. while creating the delivery, pick quantity should be same as delivery quantity.
    while creating the delivery on the first screen it self picking quantity should be displayed.
    Please also let me know in which table pick quantity gets stored if the picking is without warehouse management.
    Thanks and Regards,
    Shravan G

    Hi.
    I believe the standard way to do this would not be by coding a user-exit, but insead working with Delivery Groups and Output Messages. Your SD consultant should know how to do this.
    Delivery group:
    A delivery group is created when you work with batch creation of deliveries (transaction VL10A etc). You can also create a delivery group on transaction VG01 and manually enter the deliveries that make up the group.
    Output Message:
    There is a standard output message called SK00 which will do what you want - copy the delivery quantity to the picking quantity on non-WM controlled storage locations. You have to create the condition records for this message on transaction VVG1. However, this is a Group-related message (see transaction NACO to see it), so you can't put this directly on the delivery (which would be easier I think) and that's why you have to work with Groups.
    As far as my SD knowledge goes, this is the right way to do this. If you can't work with groups, you should try working with the standard delivery exit MV50AFZ1, form move_field_to_lips.
    Regards,
    Sergio

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

  • 10g Locks Up when selecting database field for optimistic locking

    As the subject says, when I attempt to select the database field for optimistic locking, JDeveloper locks up and I have to kill it with the task manager.
    Should I post problems with TopLink in 10g in this forum or the TopLink forum?

    I finally hit this StackOverflowError again. This happens sometimes when I select the Locking tab on a class where the locking field has already been selected. Here is the top of the stack trace:
    java.lang.StackOverflowError
         at java.util.TreeMap$KeyIterator.next(TreeMap.java:1047)
         at java.util.TreeMap.buildFromSorted(TreeMap.java:1588)
         at java.util.TreeMap.buildFromSorted(TreeMap.java:1534)
         at java.util.TreeMap.addAllForTreeSet(TreeMap.java:1492)
         at java.util.TreeSet.addAll(TreeSet.java:247)
         at java.util.TreeSet.<init>(TreeSet.java:138)
         at oracle.toplink.workbench.model.desc.MWClassDescriptor.getAssociatedTablesCopy(MWClassDescriptor.java:377)
         at oracle.toplink.workbench.model.desc.MWClassDescriptor.getSecondaryTablesCopy(MWClassDescriptor.java:698)
         at oracle.toplink.workbench.model.desc.MWClassDescriptor.hasMultipleTables(MWClassDescriptor.java:796)
         at oracle.toplink.workbench.ui.labels.DatabaseFieldLabel.isMultiTable(DatabaseFieldLabel.java:120)
         at oracle.toplink.workbench.ui.labels.DatabaseFieldLabel.installUI(DatabaseFieldLabel.java:93)
         at oracle.toplink.uitools.cell.BasicLabel.prepareLabel(BasicLabel.java:953)
         at oracle.toplink.uitools.cell.BasicLabel.getListCellRendererComponent(BasicLabel.java:611)
         at oracle.toplink.uitools.plaf.basic.BasicListChooserUI$RendererWrapper.getListCellRendererComponent(BasicListChooserUI.java:1104)
         at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1147)
         at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1097)
         at javax.swing.plaf.basic.BasicListUI$ListSelectionHandler.valueChanged(BasicListUI.java:1465)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
         at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
         at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
         at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
         at javax.swing.JList.setSelectedIndex(JList.java:1730)
         at javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:998)
         at javax.swing.plaf.basic.BasicComboPopup.access$000(BasicComboPopup.java:43)
         at javax.swing.plaf.basic.BasicComboPopup$ItemHandler.itemStateChanged(BasicComboPopup.java:782)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1161)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1218)
         at oracle.toplink.uitools.ComboBox.selectedItemChanged(ComboBox.java:512)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at oracle.toplink.uitools.plaf.basic.BasicListChooserUI$ComboBoxModel.fireContentsChanged(BasicListChooserUI.java:598)
         at oracle.toplink.uitools.plaf.basic.BasicListChooserUI$ListDataHandler.contentsChanged(BasicListChooserUI.java:842)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at oracle.toplink.uitools.DefaultListModel.setSelectedItem(DefaultListModel.java:830)
         at oracle.toplink.uitools.DefaultListModel.removeAll(DefaultListModel.java:529)
         at oracle.toplink.uitools.DefaultListModel.replace(DefaultListModel.java:724)
         at oracle.toplink.uitools.ListChooser.setData(ListChooser.java:747)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage.populateOptimisticFieldChooser(DescriptorPropertiesLockingPage.java:333)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage.propertyChange(DescriptorPropertiesLockingPage.java:342)
         at oracle.toplink.workbench.tools.events.ChangeSupport.firePropertyChange(ChangeSupport.java:216)
         at oracle.toplink.workbench.tools.events.ChangeSupport.firePropertyChange(ChangeSupport.java:230)
         at oracle.toplink.workbench.tools.AbstractModel.firePropertyChange(AbstractModel.java:70)
         at oracle.toplink.workbench.model.desc.MWDescriptorLockingPolicy.setLockField(MWDescriptorLockingPolicy.java:117)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage$ActionHandler.actionPerformed(DescriptorPropertiesLockingPage.java:471)
         at oracle.toplink.uitools.Chooser.fireActionEvent(Chooser.java:305)
         at oracle.toplink.uitools.ListChooser$ListDataHandler.contentsChanged(ListChooser.java:1382)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at oracle.toplink.uitools.DefaultListModel.setSelectedItem(DefaultListModel.java:830)
         at oracle.toplink.uitools.DefaultListModel.replace(DefaultListModel.java:732)
         at oracle.toplink.uitools.ListChooser.setData(ListChooser.java:747)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage.populateOptimisticFieldChooser(DescriptorPropertiesLockingPage.java:333)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage.propertyChange(DescriptorPropertiesLockingPage.java:342)
         at oracle.toplink.workbench.tools.events.ChangeSupport.firePropertyChange(ChangeSupport.java:216)
         at oracle.toplink.workbench.tools.events.ChangeSupport.firePropertyChange(ChangeSupport.java:230)
         at oracle.toplink.workbench.tools.AbstractModel.firePropertyChange(AbstractModel.java:70)
         at oracle.toplink.workbench.model.desc.MWDescriptorLockingPolicy.setLockField(MWDescriptorLockingPolicy.java:117)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage$ActionHandler.actionPerformed(DescriptorPropertiesLockingPage.java:471)
         at oracle.toplink.uitools.Chooser.fireActionEvent(Chooser.java:305)
         at oracle.toplink.uitools.ListChooser$ListDataHandler.contentsChanged(ListChooser.java:1382)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at oracle.toplink.uitools.DefaultListModel.setSelectedItem(DefaultListModel.java:830)
         at oracle.toplink.uitools.DefaultListModel.replace(DefaultListModel.java:732)
         at oracle.toplink.uitools.ListChooser.setData(ListChooser.java:747)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage.populateOptimisticFieldChooser(DescriptorPropertiesLockingPage.java:333)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage.propertyChange(DescriptorPropertiesLockingPage.java:342)
         at oracle.toplink.workbench.tools.events.ChangeSupport.firePropertyChange(ChangeSupport.java:216)
         at oracle.toplink.workbench.tools.events.ChangeSupport.firePropertyChange(ChangeSupport.java:230)
         at oracle.toplink.workbench.tools.AbstractModel.firePropertyChange(AbstractModel.java:70)
         at oracle.toplink.workbench.model.desc.MWDescriptorLockingPolicy.setLockField(MWDescriptorLockingPolicy.java:117)
         at oracle.toplink.workbench.ui.desc.DescriptorPropertiesLockingPage$ActionHandler.actionPerformed(DescriptorPropertiesLockingPage.java:471)
         at oracle.toplink.uitools.Chooser.fireActionEvent(Chooser.java:305)
         at oracle.toplink.uitools.ListChooser$ListDataHandler.contentsChanged(ListChooser.java:1382)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
    ...

  • Table Name For 'Picked Quantity' Field in VL03 Transaction

    Dear All,
                 I am not able to find out 'Picked Quantity' Field in VL03 Transaction.Can anybody provide me Table name and field name for the same.
    Regards,
    Mayank

    Hi Mayank / Masha.
    Your requirement is to find out the picked quantity for the delivery document.
    Please note that this value can never be found from any table & what you will find are only structures.
    For this you need to use / run a function module to fetch the Picked Quantity
    Functional Module: WB2_GET_PICK_QUANTITY
    Goto Tcode SE37 & enter the function module.
    Further enter the delivery details in the screen
    I_VBELN   - Delivery Number
    I_POSNR  - Item Number
    And Execute.
    E_PIKMG - the picked quantity.
    If you require to find picked quantity for any report you can very well ask your ABAPer to include this function module in your program
    Hope this solves your requirement
    Regards,
    Dhananjay

  • 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

  • Picked quantity in delivery docuement

    Hi, experts,
    I have created the sales order and try to create the delivery. However, in the delivery document and in its picking tab the column "picked quantity" allows no changes(default 0) with color blue instead of white.
    Only when I save it and the delivery document nr is generated and I get into the this delivery document again using VL02N, I am allowed to change the picked quantity and post goods issue.
    Is this normal?
    Best regards,
    Fan

    Hi
    in-img-enterprise structure -assignment-under logistics execution there is a setting maintained for warehouse/plant and storage location combination and remove your entry remove the warehouse maintained for your  plant and storage location combination there and try
    If warehouse is assigned to to your plant and storage location combination then manual picking is not possible
    In this case you need to do picking thro a additional process called Transfer order in t code LT03
    (this is a big subject by itself)
    Not to allow manual picking system has greyed out the picked qty in the picking  tab in delivery If warehouse is assigned
    Regards
    Raja
    Edited by: ramanathan raja on Aug 27, 2009 5:57 PM
    Edited by: ramanathan raja on Aug 27, 2009 6:01 PM

  • 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,

  • Field for 'Delivered Quantity'

    Hi experts,
    I need to create a report with Quantities for Requested Delivery Qty, Goods Issued Qty and Delivered Qty. I am looking for the appropriate datasource, please advice. The report also needs to mention Sales doc # (and Purchase Order # if possible). Need advice if 2LIS_12_VCSCL is the right one?
    My second question is how to calculate GI Date? I was wondering if I take the key fig 0GIDATE and choose aggregation as 'Maximum' and 'First Value'. I mean in ECC, when purchase order is received, the system calculates a goods issue date based on the requested delivery date and route(and transition time). My point is  if the 'First value' of the kf 0GIDATE is equal to the first date from system generated '0GIDATE'? If this is right, then I don't have to create additional field and user exit to populate the gidate based on the requested delivery date. Please help.

    Viren,
    Seems you have good experience with this. Thanks for your quick turn around. Please see my requirement and also I have listed my current model, I need your input.
    I need in the report:
    Order Qty
    Qty of Goods issued
    Goods issue data as per the order
    Actual goods issued date
    I could not find a field for 'goods issue date as per the order' as it has to be calculated from 'Requested Del Date' minus 'Transit time'. This transit time comes from 'Route'.
    But from your input, is '0GI_DATE_GH' from the order or physical issue date? Btw, I took the following fields and objects and realized they are not perfect:
    KWMNG       Order qty(for qty  from the Sales Order)        0CML_OR_QTY
    VSMNG_L     Dely qty                                                    0DLV_QTY
    WADAT        Goods issue date                                        0GI_DATE( KF-I took Maximum and                                                                               
    first value in aggregation of key figure)
    WADAT_IST  Actual GI Date                                            0ACT_GI_DTK(actual goods issue date)

  • Irrelevant id's under 'Database Fields' for BW query

    Hi all,
    I am new to Crystal reports and have a problem.
    I installed Crystal Reports 2008 and as integration kit (with BW), i installed 3.1 version.
    I am trying to connect a bw query to the Crystal Reports.
    Now i can connect a bw query, but in 'Fields Explorer' under 'Database Fields' i can not see proper names. I have already selected 'show description ' setting.
    There are items like, Cube creation time, cube type, data update time etc.. and for key figures, there are lots of items that starts with M~[Measures].....
    Some of my collegues have the same version and it is working just fine. So I wonder, what is wrong with mine.
    What can be the problem?
    Thanks
    Ozan

    Settings button can be found in the SAP toolbar.
    Also in Menu bar, you can see 'Settings' under SAP menu.
    By the way, integration kit has to be installed beforehand.

  • Can't Expand Database Fields for Query

    I am having a problem creating a Crystal Report based on a BEx query. I use the SAP menu to Create New Report from Query using the MDX driver but I am not able to expand the Database Fields so that I can select them and add them to the report.  I'm able to create a report with a similiar BEx query with no problems. Any suggestions?

    If your purpose is to simply point to a different database (but otherwise want the exact same report), don't bother going through the database expert.  When you run the report, it should ask for the database logon credentials.  Just change the database as well as the user id and password.  In Crystal Enterprise (or BOE), this change can be made permanent through the CMC.
    HTH,
    Carl

  • Pick quantity at delivery order

    Hi,
    I don't want to pick the quantity at delivery order (Picking Tab). where is the conrol to configure the same?
    thanks in advance.
    Ramesh

    Please search the forum or Google with the same text so that you will find many times this has been discussed.  Please go through the forum rules which you can see to your right screen and adhere to that.  Being an old member, there is no need to stress the importance of adhering to forum rules.
    G. Lakshmipathi

Maybe you are looking for