Delivery entry - warehouse item quantities updating

Hello experts,
i need to update the warehouse quantity when I make a delivery.
do i have to intercept the add button pressed event on the delivery form?
If i do it sap b1 execute my code before his "standard" code or after ?
what's the exact process time flow?
thanks in advance.
Best regards
Andrea

Hi Andrea,
If you want to be able to trap the event of a delivery document being entered via the UI API then the best option is to use the FormDataEvent for the delivery form. In this event, when BeforeAction is false, the FormDataEvent will return the DocEntry of the document that was just added (it's in an XML string so you have to parse it to get the actual DocEntry value).
I'm curious to know why you need to adjust the stock for a delivery. The delivery document itself will adjust the stock levels on any stock items that are on the document.
Kind Regards,
Owen

Similar Messages

  • Order Entry - Line Items Unit_Selling_Price Updation

    Dear All,
    When creating order in Order Entry form, Line Items TAB, I am unable to change the unit_selling_price, Presently this is populating from Order Management Price List form. We are struck here, Please help us how to manualy change the unit_selling_price when booking the order.
    Thanks & Regards
    Dhamodaran

    Dear All,
    When creating order in Order Entry form, Line Items TAB, I am unable to change the unit_selling_price, Presently this is populating from Order Management Price List form. We are struck here, Please help us how to manualy change the unit_selling_price when booking the order.
    Thanks & Regards
    Dhamodaran
    Dear Dhamodaran,
    In the Line Items Tab, display the List Price by clicking Actions>List Price. You can easily edit the List Price from there, and it will edit the list price in Price List Form.
    Hope it works.
    Regards,
    Uzair Khan.

  • Speed up batch update of warehouse item records

    I've written a program that allows the user to update the warehouse item table with a new gl account.  The user can specify which warehouse to perform the update for and then I am using the data browser against OITM & then accessing the warehouse object to loop through the list of warehouses for that item.  If the warehoue matches the user selection then I update the gl account.
    Doing this for each of their 15,000 items  (reading  up to 30 warehouse records per item) is INCREDIBLY SLOW.  At the current rate, it will take 30 hours to process.  I find batch processing to be a huge problem for the B1 OO structure.
    Is there some way for me to speed this up?  here's some of the code for an idea of what I'm doing:
            Do While _vItmsgrp.Browser.EoF = False
                _GrpCod = (itmGrpRS.Fields.Item(0).Value)
                sql = "Select itemcode from oitm where itmsgrpcod = '" & _
                     _GrpCod & "' order by 1"
                itmRS.DoQuery(sql)
                If Not itmRS.EoF Then
                    _vItm.Browser.Recordset = itmRS
                    Dim item As String
                    Dim fullwhse As String
                    Dim whse As String
                    Dim employee As String
                    Do While _vItm.Browser.EoF = False
                            item = _vItm.ItemCode
                                   If _vItm.WhsInfo.Count > 0 Then
                                 Dim x As Short
                               Do While x < _vItm.WhsInfo.Count
                             if _vItm.WhsInfo.WarehouseCode = SelectedWhse then
                                  _vitm.whsinfo.varianceac = glacct
                                  exit loop
                        Try
                                         _vItm.Update()
                                Catch ex As Exception
                                    bad += 1
                                End Try
                            End If
    I've left out some code for readability, but you get the idea
    There must be a better way!

    Hi John,
    Are all your items always assigned to all your warehouses? If not, you could speed things up by filtering out those items that don't have a link to the selected warehouse before you begin your loop.
    i.e.
    sql = "Select T0.itemcode from oitm T0 inner join oitw T1 on T0.ItemCode = T1.ItemCode where T0.itmsgrpcod = '" &  _GrpCod & "' and T1.whscode = '" & SelectedWhse & "' order by 1"
    Of course, if the warehouse is always going to be allocated to every item then this will make no difference :-\
    Kind Regards,
    Owen

  • In Special Delivery Instructions needs to be updated

    In Special Delivery Instructions needs to be updated   : Please help  change the delivery address/Purchasing Contact Name/Contact phone number.

    Hi
    Please follow this process.
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data.
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • How to populate the LOV with warehouse item in Item Roles form

    Hi
    Any one please tell me can we populate the list of values for warehouse items in the item roles form, if so please let me know how to do it.
    Navigation
    Go to OPM Inventory Control
    Go to Workflow
    Go to Item Roles
    Opens a window Item Role Relation.
    When I click on the LOV tab of Warehouse Item, it says list of values contains no entries.
    Thanks in Advance
    Prem.

    This applies for Release 11 or before. (Not for R12)
    Warehouse items are the OPM Items. When you define new item there is field warehouse item and by default it gets populated with the same item name. You can manually changed it to previously defined item name.

  • Retrieve Multiple Serial Numbers for given Delivery Document and Item

    Hello Experts,
                          I am currently working on a 2Lis datasource to extract Delivery information.Now it is required to append the
    datasource with field (say ZZSERNO) which should extract ALL Serial Numbers from OBJK table for a given Delivery Item.
    I know that there is a link between table SER01 and OBJK to retrieve the same.However, my concern is- C_T_Data table is
    already providing the Delivery Information and along with that I want to display ALL Serial numbers for a given Delivery Item.
    A delivery Item can have more that one serial number linked to it as what I see in VL03N for a Delivery document.
    So currently in RSA3, I retrieve say 1 record for a given Delivery Document and Item .Now an Item has say 10 Serial Numbers
    associated with it, so i should see 10 Records for that Delivery Document and Item, after executing RSA3.
    Please provide me with the CMOD logic to do so.

    Hi,
    You can Link LIPS and OBJK tables with Delivery and Del Item.........refer below for the code.
    1) Declare an Internal table of type OBJK with fields DEL DOC, DEL ITEM and ZZSERNO .
    2) Declare another Internal Table ITAB_LIPS of type LIPS with required fields say in your case *DEL DOC, DEL ITEM and ZZSERNO....etc.
    3) Use below select statement to extract records from LIPS into ITAB_LIPS that you have declared for to fetch LIPS data.
    Select DEL DOC, DEL ITEM ( here i have included only few fields but as per requirement please add fields here)   from
    LIPS into corresponding fields of Table ITAB_LIPS.
    4) write one more select statement to fetch Serial number data.
    Select DEL DOC, DEL ITEM ZZSERNO  from OBJK into corresponding fields of TABLE ITAB_OBJK for all entries in ITAB_LIPS
    where DEL DOC = ITAB_LIPS-DEL DOC and
                DEL ITEM = ITAB_LIPS-DEL ITEM.
    Loop at ITAB_OBJK.
    Read table ITAB_OBJK into ITAB_LIPS with keys DEL DOC    DEL ITEM.
    ITAB_LIPS-DEL DOC = ITAB_LIPS-DEL DOC
    ITAB_LIPS-DEL ITEM = ITAB_OBJK-DEL ITEM.
    IF SY-SUBRC = 0.
    ITAB_LIPS-ZZSERNO = ITAB_OBJK-ZZSERNO.
    ENDIF
    ENDLOOP.
    Hope the above code helps
    Sujan

  • Item descriptions update on Master Data

    Hi there,
    Item descriptions update on master data does not get read into existing sales orders and subsequently when delivery dockets and invoice are generated, they are all not updated. Could the SAP programmer analysts please fix this bug? thanks.
    Similarly if item's GL account is set by item group and the item group is changed after an item is processed on sales order, the change in GL posting is not reflected when invoice is subsequently processed. Please also fix this bug, thanks.

    Hi Amy,
    for both  issue nothing to do from SAP MDM side, You need to take help of SAP Technical Consultant(Programmer) which analyst the problem and fix it for e.g. SAP Notes updation for program or assign/change SAP standard program for  message type  etc.
    Thanks,
    Jignesh Patel

  • Difference - set g/l account by warehouse,item group,item level

    hi all,
    Pl. explain what is difference between setting
    g/l accounts by warehouse,item group,item level ?
    Jeyakanthan

    Hi Jeyakanthan,
    Let us consider an example that will make you understand this better. Consider that you are creating GRN's for Item A and Item B. The accounts that get updated are :
    1. Inventory Account/Stock account: gets debited
    2. Goods Received Not Invoiced Account : Gets Credited.
    Now let us consider that Item A has been grouped under the item Group Raw Materials and Item B has been grouped under Item group Finished Goods. Now as mentioned above if you choose the Set G/L accounts by as Item Group in the Accounting tab of the item Group Raw Materials you will have to choose the Inventory/Stock Account as Inventory -  Raw Material and for the Item Group Finished Goods the Inventory/Stock account has to be Inventory- Finished Goods. In all cases the Goods Received not Invoicved account will remain the same.When you create the GRN's the respective Inventory accounts will get debited and when you create the A/P Invoice for these the Goods Received Not Invoiced account will get Debited and the Vendor account will get credited.
    Now in case if your company manages goods according to the Warehouse i.e. if the company has different warehouses for different types of goods like Raw Material warehouse for Raw Materials , Finished Goods warehouse for Finished goods then you should set the G/L accounts by Warehouse so that in the item master in the inventory Tab the respective warehouse is chosen and the relevant accounts are updated. Just for example when you choose Set G/L accounts by Warehouse for item A then  in the accounting tab of the Raw Material Warehouse choose Inventoty  - Raw material.
    In the 3rd case consider that you are buying a Machine to be used in your workshop which is costing  you around Rs. 10,00,000/- and the management wants to know the monthly utilisation costing of the machine like power, labour charges and overheads for that particular machine then it is better to define G/L accounts based on that item i.e. if Item C is a machine for which the Management wants to know the costing details then it would be better off defining a G/L account as Inventory - Item C. This option is better to be used for capital goods or Fixed assets.
    For better understanding in the item master you need to initialise thru the Form settings the various G/L accounts like Goods received Not Invoiced accounts, Inventory accounts , Allocation Cost account etc.
    Hope this calrifies matters.
    Nagesh.

  • Item Cost update Coneversion Error

    Hi All,
    I am doing item Cost Update conversion, while doing this i am getting the Following only one error for all the items.
    Error Explanation - 'The default cost type for the cost type is not valid.'
    Error Code - CST_INVALID_DEFCSTTYPE
    i am inserting the data in the interface table 'CST_ITEM_CST_DTLS_INTERFACE'
    in this table i am taking only the below columns
    INVENTORY_ITEM_ID,
    ORGANIZATION_ID,
    COST_TYPE,
    RESOURCE_CODE,
    USAGE_RATE_OR_AMOUNT,
    COST_ELEMENT_ID,
    PROCESS_FLAG
    and i am doing this only for materail cost, is there any extra columns i have to take in the interface table for doing with out getting the above error.
    please provide me the data also for the extra columns.
    Any help would be appreciated.
    thanks
    Anushka

    the above error can come only when the row being imported is missing any of "lot size" or "based on rollup flag" or
    "shrinkage rate" or "inventory asset flag" values. Most probably it could be a setup issue.
    when any of these values are missing, the values are defaulted from the default cost type
    of the current cost type into which item costs are being imported into. If the
    default cost type too does not have the values set for the above mentioned
    columns which are having Null values, this message is displayed.

  • The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, cont

    I have a user on an iMac 10.6 connected to our domain.  She uses Outlook web access for email on our exchange server.  Last week she received the following message which is randomly preventing her from sending emails.  She claims no attachment was involved in the original email when this all started.  I have not been able to look at her account as she is out of the office but maybe someone else dealt with this issue.  I realize this may not be Mac related but thought I'd give it a try.  She did say it occurred once over two days while working on a PC but it continued over the past weekend.
    If an internal user tries to send a message with infected attachment using Outlook Web Access, it may report the following error message: The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, contact technical support for your organization.
    This is because F-Secure Anti-Virus for Microsoft Exchange has detected a virus in the attachment. If the user tries to send the message again, the message will be sent but without the attachment. At the same time a blank message with an attachment named "Attachment_information.txt" will remain in the user's Drafts folder. The "Attachment_information.txt" will contain information about the virus detected in the message.

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Report on delivery data in item level for list of po

    Dear all
             How to take Report on delivery data in item level for list of po
    regards
    M.Chandra mohan

    You can check any of the standard reports like ME2M with the selection variant as "PO where GR exists"

  • SCHEDULE AGREEMENT-DELIVERY SCHEDULE LINE ITEM PRINTING

    Scheduling agreement is created in ECC.
    Delivery schedule line items are generated using APO and CIFed over to ECC.
    Upon displaying in ME38 in ECC, the delivery schedule line items are appearing as required. The problem is that no output type is displayed for condition type LPET even though the settings are done & condition records are maintained.
    Can someone throw some light on this?

    Hi Anil ,
    Goto Transaction NACE , Select Application EL and then Click on O/p Types.
    Select your o/p and click on Processing routines.
    Make a copy of medium 1 and change it to 5. The program , Form , Form routine would remain the same.
    Maintain condition records with medium 5 in MN10.
    Ensure that email address exists in Vendor Master.
    Check with ur Basis to make sure that the setting are done in Transaction SCOT for sending document via PDF.
    Create a new Agreement and test it.
    Regards
    Ramesh Ch

  • Complete Delivery at Line item level in Sales Order

    Hello Gurus,
    While creating a sales order for some customers (the sales area tab in the customer master data has complete delivery and full delivery at item level), the complete delivery flag should be enabled and partial delivery flag at item level shoulb be C.
    We have a situation where this is not working in some cases. I need to know what user exits are copying the customer master data into the sales order fields. Please give me a lead how I can proceed with this.
    Regards,
    Balu

    Hi Balu,
    Please check user exits in program MV45AFZZ.
    i.e USEREXIT_MOVE_FIELD_TO_VBAK 
    Regards,
    Gumanti

  • Delivery block at item level in sales order,Qty should not be confirmed

    Dear all
    We have a below requirment
    We will have multiple line items in sales order and put delivery block at item level.If delivery block is put at item level it should not confirm the qty and pass on to MRP
    But if we put at header level delivery block,schedule line qty at item level are not getting confirmed.So requirements are not passed to MRP-This is correct .Working as per SAP standard configuration.
    Can you tell how to activate the same for item level delivery block.if same delivery block is put at item level,it is confirming the quantity.But we don't want confirmation of qty to happen.
    Can you give us solution
    Regards
    Sudha

    We had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
    Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
    Check the  customizing OVZ8: if the flag  Transfer of Requirement
    Transfer of requirements of the requirement class should be ON.
    In the sales order the requirement type is determined by the combination sales order item + MRP type.
    Refer SAP Help URL below
    [Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]

  • Delivery group 001: Item 000020 contains no confirmed schedule lines

    Hi,
    I am getting following error message when i try to save sale order
    "Delivery group 001: Item 000020 contains no confirmed schedule lines"
    The item is a BOM itam and when i checked Deliverygroup for all items in BOM, it is the same for all.
    Pls let me know how can i save sale order??
    Thanks in Advance
    Srikky

    hi srikky,
    delivery group stands for:
    for example you have entered a BOM item in line item 20.
    and it contains plenty of components in that BOM
    then if you assign these delivery group at transaction level then it will combine all the components material available dates and gives one single Material availability date basing on the components feasibility.
    so coming to your issue, here that delivery group's 001 is not having confirmed material availabilit date so it is throwing an error on schedule lines.
    i think you should go to OVZJ and check FIXED DATE AND QUANTITY against the salesarea.
    test and confirm the forum
    balajia

Maybe you are looking for

  • Multiple ipods belonging to multiple family members on one computer

    How do I keep my family's libraries separate on one computer. I have been checking and unchecking songs each time I sync one of my children's ipods. It is driving me nuts. There has got to be a better way. My husbands library alone so far is 1300 son

  • Can't Build 64-bit Tomcat Connector Module (mod_jk)

    I've been using the Tomcat Connector Module on my server so all requests can be logged by Apache, I only need to open port 80 on the firewall, and sites that use jsp with other technologies look more cohesive to the user. In the past when a new versi

  • How do I permanently display the Airplay icon in the menu bar of my MacBook Pro?

    The Airplay icon on my MacBook Pro is not permanently displayed on my menu bar. How do I get it to be always present on the menu bar?

  • GR for Confirmed qty only

    Hi Group, MY requirement is:- An Order qty is 100 ton and in shift A i have confirmed 1 ton , when i do MIGO (goods receipts) for that order system proposes order qty 100 , but my requirement is that system should show the confirmed qty 1 ton , I kno

  • Resources in 9.1

    Hi to All, In SBO 9.1 resource master data is added, but I can't find it in the DI API. It seems it is not exposed Does anyome know more about this? Regards Ad