How to update the inventory after committing order..?

How to update the Inventory stock level of a commerce item after committing the order.. in ATG 10.0.1..?
Thanks in Advance,
Vishnu & Nithin Kayithi

you can add the pipeline chain after the processOrder in the commerce pipeline , in the runProcess method call InventoryManager.decreaseStockLevel(String pId, long pNumber);

Similar Messages

  • How to determine the Installation after Work Order installs a new meter

    Hi IS-U Experts,
    I have a question about the integration of Work Orders and Installation of Devices as it relates to IS-U data.
    Our understanding of a Meter (Installation) process is as follows:
    1.  A Work (Service) Order is generated by CS (or a Sales) process.  At minimum, the Device Location (ES65) and the Device Category (Material) needs to be provided for.
    2. A techniciation executes the Work Order to install the meter.  After which, this work is confirmed (IW42) and a Goods Issue is done on installed Device.  In our case, the technician decides actual Device Number based on his/her vehicle stock.
    3. Now, we want execute the IS-U Device Installation (EG31).  However, we don't know where to draw the IS-U Installation from.  There is no IS-U specific reference on the Work Order for the Installation. (It would be nice if the Order Type had an IS-U releavant screen category (table TQBT) for such a reference).
    We could create the Installation on the fly, but we need the IS-U Premise (ES60). Our expection, anyway, is to build IS-U data
    prior to the Work Order execution as part of the CS process. We defer IS-U Installation only because the device number is determined at the time of installation.
    How should the IS-U context data passed around in the Work Order?
    Thanks, Ed

    Hi Reddy
    Thanks for your reply, but the note says that only applies for India or Brazil legal purposes.
    In my case I still have confuse, in a normal Sales scenario CRM to R/3 how to works the determination of the delivery plant.
    I know that in R/3 is determined by:
    1. Customer-Material info record (Sales Area data)
    2. Customer Master data (Sales area data)
    3. Material Master data (Sales-area data)
    I can think that in CRM is determinate bye Material Master Data, but I still don't know if I can change
    it??  and where in the crm sales order before it is download to R/3??
    Thanks
    Sussie

  • HT5538 How to update the devices: after Change of Apple ID & Password

    I changed my Apple ID name and password using my PC and was already verified. 
    How do I update the Icloud account settings in my Iphone4 and Ipod Touch 5th generation
    with my new Apple ID?  My old Apple ID Account name is greyed and cannot be edited in my devices. 
    And still prompts for a password with my old Apple ID in the prompt message.

    Hi ilayski,
    Sign out of the iTunes & Apps store and then sign in with your new AppleID. Delete the iCloud account, and then create a new one using your new AppleID.
    Hope this helps!
    Cheers,
    GB

  • After releasing the order same screen user updating the quantity in process order  in sap pp

    Hi experts,
    After releasing the order in the same screen user updating the quantity in process order  in sap pp.
    How to control it.
    can any help in this regards
    Thanking you,
    Rishit.

    Hi Rishit,
    You can control it by BAdi WORKORDER_UPDATE method AT_SAVE make error message if there is any change in quantity.
    Or you can create Transaction Variant through SHD0 for CO02 and make field Total Qty (CAUFVD-GAMNG) as output only.
    Regards,
    R.Brahmankar

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • How to update the service order status at meter level

    Hi
    I need to fetch one open service order and update the retrieved open service order status at meter level.
    I am trying to do it through BAPI_ALM_ORDER_MAITAIN but i am not able to do it.
    Please let  me know the process how to update.
    Thanks & Regards
    Pallavi

    Hi,
    Check if this code works ...
    REPORT zbapi .
    DATA t_meth TYPE TABLE OF bapi_alm_order_method.
    **Internal table for Operation (BAPI)
    DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
    DATA t_comp TYPE TABLE OF bapi_alm_order_component.
    **Internal Table for Opertaions UP (BAPI)
    DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
    **Internal table for BAPI Return code
    DATA t_ret TYPE TABLE OF bapiret2.
    ***WORK AREA DECLARATIONS
    **Work Area for Hedaer
    DATA:wa_header TYPE caufvdb,
    wa_meth TYPE bapi_alm_order_method,
    wa_op TYPE afvgb,
    wa_comp TYPE resbb,
    wa_comp1 TYPE bapi_alm_order_component,
    wa_comp_up TYPE bapi_alm_order_component_up,
    wa_oper TYPE bapi_alm_order_operation.
    PARAMETERS:TEST.
    ****Fill Method Internal table
    CLEAR wa_meth.
    wa_meth-method = 'SAVE'.
    APPEND wa_meth TO t_meth.
    wa_meth-refnumber = sy-tabix.
    wa_meth-objecttype = 'COMPONENT'.
    wa_meth-method = 'CHANGE'.
    wa_meth-objectkey(12) = '000004000104'.
    wa_meth-objectkey+12(4) = '0010'.
    wa_meth-objectkey+16(4) = '0010'.
    APPEND wa_meth TO t_meth.
    **Component Internal table
    wa_comp1-reserv_no = '0000001072'.
    wa_comp1-res_item = '0001'.
    wa_comp1-activity = '0010'.
    wa_comp1-item_number = '0010'.
    wa_comp1-special_stock = 'B'.
    wa_comp1-requirement_quantity = '15'.
    wa_comp1-stge_loc = '0001'.
    wa_comp1-backflush = 'X'.
    APPEND wa_comp1 TO t_comp.
    **Component Update Internal table
    wa_comp_up-special_stock = 'X'.
    wa_comp_up-backflush = 'X'.
    wa_comp_up-requirement_quantity = 'X'.
    wa_comp_up-stge_loc = 'X'.
    APPEND wa_comp_up TO t_comp_up.
    **Call Bapi
    BREAK-POINT.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
    TABLES
    it_methods = t_meth
    it_component = t_comp
    it_component_up = t_comp_up
    return = t_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.   <--- Hope u r using this too
    regards,
    Naveen
    Edited by: Naveen Deva on Apr 16, 2009 9:12 AM

  • How to update the windows cached password after SSPR?

    Scenario: Windows 7 remote user forgets the cached password for her laptop and uses FIM 2010 R2's Reset Password invoked from the login screen. The domain password change is successful, but the user still cannot login to the laptop as the
    cached password has not been updated.
    Question: How to update the cached windows logon password after SSPR to allow user to login with the new password.
    Thanks 

    Please try the following:
    KB2845626 - Cached credentials are not updated when you change your password in Windows
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • How to update the table value in the valuechange event?

    I have an input field in the datatable with the valueChangeListener
    <rich:dataTable id="cart" value="#{cart.cartList}" var="item">
    <h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
    <h:outputText value="#{item.errorMsg}"> </h:outputText>
    in the backing bean
         Item item = (Item) model.getRowData();
    // do some update, if the cost too larger, change to max_cost
         item.setCost(max_cost);
         item.setErrorMsg("Error Msg");
    After calling the valuechange method, the screen output doesn't update the cost.
    How to update the table value in the valuechange event?

    As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.

  • Update the cost in sale order

    dear sir
    i check with abaper ,he says the value is updated from sale order
    they get the consumption of sales using customized transaction
    actual cost is zero
    user create the material master withot pricing
    we ask to update the material master and they do the costing run
    in material master standard costing estimate found
    after they  run the consumption report ,once again actual cost is zero
    i chech\ked in  costing status using CK11N ,std cost estimate found
    is it  possible to update the cost in sales order
    (redetermine or recalculate the pricng in sale order)
    so that my consumpotion report will update
    thanks

    Hi,
    Check the following link
    http://help.sap.com/saphelp_46c/helpdata/en/90/ba6da4446711d189420000e829fbbd/content.htm
    Regards,
    Saju.S

  • How to update the data in sqlserver table using procedure in biztalkserver

    Hi,
    Please can any one answer this below question
    how to update the data in sqlserver table using procedure in biztalkserver
    while am using executescalar,typedprocedure getting some warning
    Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
    Please send me asap....
    Thanks...

    Hi Messip,
    A detailed error would have helped us to answer you more appropriately but
    You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
    http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    2013: Inserting RawXML (Whole Incoming XML Message) in SQL database

  • How to arrange the information in alphabetical order in a listbox?

    Can you guys help me out?
    How to arrange the information in alphabetical order in a listbox?
    *The information is taken from a text file using FileReader
    Thanks

    private void jbInit() throws Exception {
    // Get information for the text file
    File f1 = new File("Albums.txt");
    try {
    FileReader fr = new FileReader(f1);
    BufferedReader br = new BufferedReader(fr);
    //Use a loop to read
    for (String str = br.readLine();
    str != null;
    str = br.readLine())
    jListModel.addElement(str);
    //Closing the file
    fr.close();
    catch (Exception ex) {
    JOptionPane.showMessageDialog(this, "Error Retriving File", "error",
    JOptionPane.ERROR_MESSAGE);
    Can you explain to me how to use the Collection class? Above codes is getting the data from my text file and put it into my ListBox(jModelList)... So after inputting the text into it.. how do i arrange it using the Collection?
    Thanks

  • Need a query to update the inventory item to non inventory item

    Dear all,
            I need a query which should update the Inventory to Non - Inventory Item.

    Hi,
    You need to freeze the inventory by click inactive tick box. This will prevent users to use the inventory.
    The inventory posting lists will still exists as an inventory's transaction history for auditor if the inventory have had transactions.
    To empty the warehouse, just perform good issue and use inventory decrease account. After the warehouse has been empty, create similar inventory item by right click --> select duplicate. Create new item code and in the tab remarks, just write this non inventory item was ever inventory item with code e.g. xxxx.
    if you want to recover the stock, just create new item and then receive the stock into warehouse using Good receipt. use the same account code with account code used in the good issue.
    JimM
    PS.
    Do not use sql statement to update B1 database. No SAP support provided afterwards.

  • How to suspend the installation after downloading packages via ota for lollipop 5.0.1. on my Note 4. always asks me to install it on notification bar. thank you :)

    How to suspend the installation after downloading packages via ota for lollipop 5.0.1. on my Note 4. always asks me to install it on notification bar. thank you

    If you factory reset, it wont make the update go away, but you should back up and reset before you install the update.

  • How to update the PHP Class Service back in Flash Builder 4

    I'm not sure if my post title makes any sense or not but let me explain.  I've been working on an application in Flash Builder 4 using the ZendFramework and PHP services and everything is work great. the problem I have is after I make changes to my services PHP class (edit php file that has my functions in it), how to I updated those functions in the Flash builder application?
    For example, I needed to pass a second object into one of my function in my PHP class and after I edited the file and saved it, I don't see the changes in the Flash builder 4 application. Is there a button I can run to update the PHP class back in Flash Builder?
    Thanks,
    John Baranowski

    How do you use Flash Builder to regenerate the code for the same PHP service I connected to prior? When I first connected to the PHP service Flash Builder automatically built a package with all kinds of actionscript functions in it. I added a function to my PHP Class file server side and I need help on how to update the package back in Flex to see my new function. Can anyone help me??
    -John

Maybe you are looking for

  • User Exit MIGO for Purchase Orders

    I need to check a purchase order during the Migo process. I tried the User Exit EXIT_SAPLEINR_001, but the break-point has no effect. The user- exit is useful for schedule agrmts but it seems that there is a different handling. Do you have an idea wh

  • Cannot use create user as j2ee_admin

    Hi, All: The system is: double stack, ABAP & Java, NW04s SR2 SP12, BI + EP, AIX + Oracle. After successful installation, we logon the portal as j2ee_admin, when choose User Administartion -> Identity management, error occurs with message: "A required

  • Cannot Create OWB Repository Owner

    Hello All, On windows XP pro, 32 bit, the following tasks were completed (clean system, 1.5 gig ram and dual core) - Installed 9.2.0.1 Server - Installed 9.2.0.6 Patch - Installed Oracle Worflow + and created workflow user - Installed OWB_10.2.0.1.wi

  • Error when try to create a property

    Hi, I need to create a property (ORDEN) in dimension PPTO_PROMOCION. When I save the following error appear: Error modul admin Failed to create infoobject BI to atribute Someone can hep me? Flavia

  • Help with Aperture 2

    If anyone can help me with this I will be forever grateful! I am trying to use a free texture I found online on a photo of mine in Aperture 2. I have tried everything, but cannot figure out how to use the texture on the picture! HELP! I'm sure there