Updating Qty

Hi i need to update a table with qtys from another table, i
have tried the query below but its not updating
any ideas what i should do?
<cfquery name="SEL" datasource="#application.ds#">
SELECT *
FROM supplierhistory SH
WHERE SH.HistoryQuoteNo = '#session.order1#'
</cfquery>
<cfloop query="SEL">
<cfquery name="QQE" datasource="#application.ds#">
SELECT *
FROM products_table
WHERE PartNo = '#SEL.HistorySouthPartNo#'
</cfquery>
<cfset newqty = QQE.Qty + SEL.HistoryQty>
<cfquery name="Update1" datasource="#application.ds#">
UPDATE products_table
SET Qty = #newqty#
WHERE Part_No = #SEL.HistorySouthPartNo#
</cfquery>
</cfloop>

You don't need loops. You can do it all with one query. It
starts with
update pt
set qty = qty + historyQty
from product_table pt join supplierHistory on part_no =
HistorySouthPartNo
where HistoryQuoteNo = '#session.order1#'
Depending on what db you are using, you might have to
experiment with the syntax a bit. My example works in
redbrick.

Similar Messages

  • Unable to update Qty for outbound Delivery using BAPI_OUTB_DELIVERY_CHANGE

    Hi Experts,
    I am unable to update the Outbound Delivery quantity using FM BAPI_OUTB_DELIVERY_CHANGE. I am getting error in BAPI Return "Error in document &1 item &2 (quantity consistency check)".
    Here is my sample program to update Quantity
    *& Report  ZTEST_BAPI                                                  *
    REPORT  ZTEST_BAPI                              .
    tables : lips.
    parameters : v_vbeln like likp-vbeln,
                 v_posnr like lips-posnr.
    data : it_item type BAPIOBDLVITEMCHG occurs 0,
           wa_item type BAPIOBDLVITEMCHG,
           it_return type BAPIRET2 occurs 0,
           i_head type BAPIOBDLVHDRCTRLCHG,
           i_hdata type BAPIOBDLVHDRCHG,
           wa_conf type BAPIOBDLVITEMCTRLCHG,
           it_conf type BAPIOBDLVITEMCTRLCHG occurs 0.
    start-of-selection.
    select single * from lips into lips where
                      vbeln = v_vbeln
                      and posnr = v_posnr.
    if sy-subrc eq 0.
    move lips-vbeln to I_hdata-DELIV_NUMB.
    *append wa_hdata to i_hdata.
    move lips-vbeln to wa_item-DELIV_NUMB.
    move lips-posnr to wa_item-DELIV_ITEM.
    move lips-matnr to wa_item-MATERIAL.
    move lips-charg to wa_item-BATCH.
    lips-LFIMG = lips-LFIMG + 20.
    move  lips-LFIMG to wa_item-DLV_QTY.
    move  lips-LGMNG to wa_item-DLV_QTY_IMUNIT.
    move  lips-VRKME TO wa_item-SALES_UNIT.
    MOVE  'KGM'      TO WA_ITEM-SALES_UNIT_ISO.
    MOVE LIPS-MEINS  TO WA_ITEM-BASE_UOM.
    MOVE 'KGM'  TO WA_ITEM-BASE_UOM_ISO.
    append wa_item to it_item.
    move lips-vbeln to wa_conf-DELIV_NUMB.
    move lips-posnr to wa_conf-DELIV_ITEM.
    move 'X' to wa_conf-CHG_DELQTY.
    append wa_conf to it_conf.
    endif.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        HEADER_DATA               = i_hdata
        HEADER_CONTROL            = i_head
        DELIVERY                  = v_vbeln
      TECHN_CONTROL             =
      TABLES
      HEADER_PARTNER            =
      HEADER_PARTNER_ADDR       =
      HEADER_DEADLINES          =
       ITEM_DATA                 = it_item
       ITEM_CONTROL              = it_conf
      ITEM_SERIAL_NO            =
      SUPPLIER_CONS_DATA        =
      EXTENSION1                =
      EXTENSION2                =
        RETURN                    = it_return
      TOKENREFERENCE            =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    I need to update Qty to the outbound delivery for an given item.
    Thanks for your quick response.
    With Regards,
    Bala Sankar
    9900433488

    Hi Bala,
    make sure you are setting...
    itemdata-dlv_qty
    itemdata-dlv_qty_imunit
    itemdata-fact_unit_nom     e.g = 1.
    itemdata-fact_unit_denom  e.g = 1.
    Rgds
    Glenn

  • Update qty in delivery note through bapi for migo

    hi im using bapi for migo upload
    my requiremnt is to update QTY IN DELIVERY NOTE in migo.
    i got the folowing error if i dont pass the quantity.
    qty and/0r delivery indicator or final issue indicator missing
    if i pass the quantity field then it is changing quantity in unity of entity and qty in SKU i dnt want to change this field
    here is my code,
    gmcode-gm_code = '01'.
        ls_GOODSMVT_HEADER-pstng_date = tdate . "sy-datum.
        ls_GOODSMVT_HEADER-doc_date   = sy-datum.
        ls_GOODSMVT_HEADER-pr_uname   = sy-uname.
    loop at itab.
      ls_GOODSMVT_HEADER-REF_DOC_NO = itab-LFSNR.
      it_goodsmvt-move_type  = itab-BWART.
      it_goodsmvt-po_number  = itab-EBELN.
      it_goodsmvt-PO_ITEM  = '10'.
      it_goodsmvt-STGE_LOC  = itab-LGORT.
    it_goodsmvt-QUANTITY  = itab-LSMNG.
    it_goodsmvt-BASE_UOM = 'KG'.
    it_goodsmvt-material = 'RC1092'.
    it_goodsmvt-entry_qnt = itab-LSMNG.
    it_goodsmvt-ENTRY_UOM  = 'KG'.
      it_goodsmvt-mvt_ind = 'B'.
      it_goodsmvt-plant = 'G001'.
    it_goodsmvt-NO_MORE_GR = 'X'.
    append it_goodsmvt.
    clear it_goodsmvt.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header               = ls_GOODSMVT_HEADER
        goodsmvt_code                 = gmcode-gm_code
      TESTRUN                       = ' '
      GOODSMVT_REF_EWM              =
    IMPORTING
      GOODSMVT_HEADRET              =
       MATERIALDOCUMENT              =  lf_MATERIALDOCUMENT
       MATDOCUMENTYEAR               = lf_MATERIALDOCYEAR
      tables
        goodsmvt_item                 = it_goodsmvt
      GOODSMVT_SERIALNUMBER         =
        return                        = return
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    if return-type ca 'EA'.
          rollback work.
          message id '26' type 'I' number '000'
          with return-message.
        else.
          call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
          wait up to 5 seconds.
        endif.
    select * fROM mseg
          INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
                             where mblnr = lf_MATERIALDOCUMENT and
                                       MJAHR = lf_MATERIALDOCYEAR.
      LOOP AT IT_MSEG INTO WA_MSEG.
        IF WA_MSEG-LSMNG IS INITIAL.
          wa_mseg-lsmng = ITab-LSMNG.
          UPDATE MSEG from wa_mseg.
          commit work.
          wait up to 5 seconds.
        ENDIF.
      ENDLOOP.
    ENDLOOP.

    It is been done by implementing one implicit enhancement in FM: MAP2I_B2017_GM_ITEM_TO_IMSEG
    I have added the below functionality at the end of the function module.
    Just i have maped the ERFMG i.e ent_qnt(Received quanity) with LSMNG i.e qty.in del note
    All best for others.
    $$-Start: (1)----
    $$
    ENHANCEMENT 1  Z_EV_IMP_GOODSMOVEMENT.    "active version
    Populate the delivery note quantity and UoM
    IF IMSEG-ERFMG IS NOT INITIAL.
      MOVE IMSEG-ERFMG TO IMSEG-LSMNG.
      MOVE IMSEG-ERFME TO IMSEG-LSMEH.
    ENDIF.
    ENDENHANCEMENT.
    Thanks,
    Mahesh.Gattu
    Edited by: Maheshkumar gattu on Dec 3, 2010 4:35 PM

  • Update Qty and Value in Quantity Contract

    Hi,
    With reference to Quantity Contract when we i create release order the status of quantity Contract should l be changed.
    Example
    Order Qty in Quantity Contract    100 pc             Value 10000
    One Release order is created  with Order qty 20   Value 2000
    Now in the contract where can i see open order qty and open order value.
    in VTAA item category KMN -
    TAN the setting has been checked for "Update Doc Flow"
    Regards
    Jyoti

    Hi,
    Just try this and let me know your expected result.
    1. Go to VA42 to VA43.
    2. Enter your contract number and press document flow button.
    3. See whether the Qty and value is getting displayed or not.
    4. If not getting displayed. Do execute the below steps.
    5. In document flow screen, select your contract document.
    6. In top menu : Documen flow->View-> Items.
    7. Now, the systme will display the Qty and value of delivered/not delivered information.
    Regards,
    Vijay

  • How to update Purchase Request automatically when update qty in sales order

    When we create a sales order, the PR will be automatically generated.
    Now we have a requirement to change the order qty for the sales order. also the PR should be automatically changed.
    With VA02, the process is perfect.
    But by using BAPI_SALESORDER_CHANGE  the SO is partly changed ( order qty is changed but the confirmed qty is not changed) and the PR is not changed.
    So can you advise me how to update the PR by using the BAPI_SALESORDER_CHANGE, which indicator should be defined?
    I've read the BAPI document but no such information.
    Regards,

    Hi Yang,
    Workflow is the best approach for any issue related to business objects.
    Since you want call FM BAPI_SALESORDER_CHANGE, it will change SO. It means everytime any SO is changed there will an event being triggered.
    object type: BUS2032
    event: Changed
    simple solution:
    1. Please create object type (SWO1) and its super type should be BUS2032.
    2. Add your own method and attach your custom FM which actually updates the qty & PR)
    3. Create Task (PFTC_INS)
    in basic data:
    - provide object type which you have created
    - provide method which you have added
    goto triggering events tab
    - Choose Object Category as BOR object type
    - provide object type (better give BUS2032)
    - provide event as CHANGED
    Please have look into very nice video blog which helps you to create your workflow.
    blog: [Creating your first SAP Business Workflow]
    Regards,
    Sukhbold Altanbat.

  • BAPI_SALESORDER_CHANGE problem in updating qty

    hi,
    i am working in bapi_saleorder_change . in that i want to update some fields but  some fields are not update properly. for qty(vbap-kwmeng) i set BAPISDITM-TARGET_QTY = qty ,  BAPISDITMx-TARGET_QTY = 'X' and BAPISDITMX-UPDATEFLAG = 'U' in the internal table ORDER_ITEM_IN and ORDER_ITEM_INx but still it is not working. similar things, i have did for changing material ,delv.prior and  reason for rejection which update successfully. Whereas fields like qty(kwmeng),price date (in header),payment terms(vbkd-zterm in header) ,plant(werks in item ) are not updated properly .
      And I also want to know how to change SHIP-TO party using this FM.
      Thanks in advance.

    Hi
    you can do in this way
      MOVE: '10' TO BAPISCHDL-REQ_QTY,
                 '10'  TO BAPISCHDL-itm_number,
                 '10' TO BAPISCHDL-SCHED_LINE.
                  APPEND  BAPISCHDL.
       MOVE: 'U' TO BAPISCHDLX-UPDATEFLAG,
                   'X' TO BAPISCHDLX-REQ_QTY,
                  '10' TO BAPISCHDLX-itm_number.
                   APPEND  BAPISCHDLX.
    Use  SCHEDULE_LINES           =  BAPISCHDL
           SCHEDULE_LINESX         =  BAPISCHDLX
             in bapi_saleorder_change FM

  • Problem in CRM_ORDER_MAINTAIN for updating qty in more than 1 line item .

    Hi abapers,
    I am using BAPI CRM_ORDER_MAINTAIN to update quantity. Its updating the quantity properly if there is single line item for a transaction .If more than 1 line item is there then its throwing an exception* "Document is being distributed - changes are not possible"*.
    Scenario:
    I have a itab  which is having 2 line items for a transaction. i run a loop pass the pass the required parameters in CRM_ORDER_MAINTAIN ,do CRM_ORDER_SAVE , BAPI_TRANSACTION_COMMIT for the 1st line item. When i run the 2nd loop, in  CRM_ORDER_MAINTAIN it gives an exception saying NO_CHANGE_ALLOWED for the same transactions 2nd line item. leaving the quantity unchanged for both the line items. What may be the problem?
    Note: We cannot say how many line items are there for an transaction. so no chance of grouping all items at a time and saving at a time.
    Regards,
    Navin

    Hi Navin,
    Why its not possible to use CRM_ORDER_SAVE only once. I think its possible. Call CRM_ORDER_MAINTAIN in loop for all the line item in transaction and after that call CRM_ORDER_SAVE once. Pls follow the below sample code.
    loop at it_item.
    call CRM_ORDER_MAINTAIN. (Here append data for all the line items and miantin the transaction).
    emdloop.
    After endloop call CRM_ORDER_SAVE. Also you can add some wait after CRM_ORDER_SAVE, In order to avoid locking issue.
    PLs let me know where you are trying to use CRM_ORDER_MAINATIAN ? In any BADI or Z program ?
    Regards,
    Amol.

  • MIGO Qty should Update Order Qty

    Gurus,
    Reqirement is during third party process:
    MIGO step should update the migo confirmed qty to
    sales order confirmed quantity .
    suppose : order raised for 100 qty .
                   PO raised for 11 qty
                   MIGo qty 80 qty
               So, migo should update qty 80 to sales order qty - from 100 to 80.
    Regards

    Hi Jitender,
    As Per my understanding MIGO is third party is used for Statistical pourpose only, A you are not getting any physical good in your Premises. Good will delivered Directly from your vendor to your customer.
    Hope this iwll help.
    Thanks,
    Raja

  • Do not update in qty for asset transaction

    Dear all,
    the system update the qty field in asset master data when transaction take effects. But there is any why that qty field in asset master data do not update  after transaction takes place like when transfer from one asset "a" to asset "b" with t code ABUMN.
    asset a with qty 1 and asset b with qty 2 in the master record,
    when transfer from a to b the system must not update the qty field in asset master data that the system updates to 3.
    How can the system do update qty ?????
    regards

    Hi,
    This is the standard behaviour of the system.
    If a transfer takes place from asset X to asset Y, then the system adds the sending asset's qty to receving asset's qty, only if the both UOM are same.
    Often users create an asset master with values in qty fields also, but that qty field should be blank only, since the qty will be added to it through asset transaction only.(if earlier qty is 0 and transaction qty is 1, then it would be 0+1=1)
    In your case you might have created your second asset with 2 qty and transfered 1 qty from sending asset, so the system added the both quantities in receiving asset. ( 1+2=3), as you are aware of this.
    Thanks,
    Srinu

  • Questions about PO creation / update / cancel interfaces

    Hi there,
    An E-Business Suite 11.5.10.2 customer wants to use the 11i PO creation / update / cancel interfaces in order to manage Purchase Orders created from a 3rd party system.
    I've been through the 'Oracle Purchasing Open Interfaces' guide (115mfgapi.pdf), but it's still unclear to me whether:
    1/ It is possible or not to add a new PO line to an existing PO through the interfaces ? If yes, how do one do that: what interface ? sample code ?
    2/ It is possible or not to change the distribution (= accounting information) of an existing PO line ? If yes, ...
    3/ It is possible or not to reject the full PO document if a single line fails during the PO creation ? Same for a batch of POs: reject the full batch if a single PO fails ?
    4/ Is it possible or not to cancel a PO line even if the shipment already occured ? And even if the payment already occured ? Are there some controls here ?
    Thanks for your help,
    Kind regards - Hugues

    1. Answer is YES. You can add a line to an existing standard purchase order by choosing the UPDATE. This can be done through Purchase Documents Open Interface.
    I can not give an example. It's quite long to write it. But You should use Open interface user guide to find nessesary columns. Just insert new row with status UPDATE and try to import
    2. Think You can NOT.
    3. Answer is YES. You can do it. Use "Cancel PO API". Function name is PO_Document_Control_PUB.control_document ().
    For technical details read Open interface UG.
    You must create exception to be avoid problems if some lines can not be canceled.
    4. Answer is YES. You can do it if there's still expected quantity to recive.
    boldJust from UG:*bold* :)
    bold1. Purchase Order Change APIs. bold
    boldThe APIs enable you to do the following*bold*:
    - Record Acceptance/Rejection in Oracle Purchasing
    - Update quantity, price, and promise date on standard purchase orders or releases in Oracle Purchasing
    boldSo only qty, promissed date, price*bold*
    boldRead next*bold*:
    Line Level Validation and Update: This logic occurs when LINE_NUM is not null
    and SHIPMENT_NUM is null.
    1. No update occurs if the line status is FINALLY CLOSED or CANCELLED.
    2. The new quantity or price value must be positive.
    3. If updating quantity, the new quantity must be greater than or equal to the
    greater of total quantity_received of all shipments and total quantity_billed
    of all shipments for this line. After the update takes place, the new quantity
    will be prorated at the shipment level and for each shipment the quantity is
    prorated at the distribution level if applicable.
    4. If updating price, no update occurs if a receipt has been created against one
    of the line’s shipments and it's been accrued upon receipt. No update
    occurs if an invoice has been created against one of the line’s shipments.
    After a price update takes place, price changes are rolled down to the
    shipment level for standard POs. No price update occurs for a release if the
    Price Override flag on the blanket purchase agreement Line is No.
    boldSummary:*bold*
    boldYou can update qty if still there's a qty to receive (Expected) and if PO still is not canceled*bold*
    boldEXAMPLE:*bold*
    Usage Example
    set serveroutput on;
    -- After the API completes, do not forget to commit if the result is 1
    -- and rollback if the result is 0.
    DECLARE
    l_result NUMBER;
    l_api_errors PO_API_ERRORS_REC_TYPE;
    BEGIN
    -- This needs to be changed according to your environment setup.
    FND_GLOBAL.apps_initialize ( user_id => 1318, resp_id => 50578, resp_appl_id => 201 );
    -- Record an acceptance of Y for PO 1261.
    l_result := PO_CHANGE_API1_S.record_acceptance(
    x_po_number => 1261,
    x_release_number => null,
    x_revision_number => 0,
    x_action => 'NEW',
    x_action_date => null,
    x_employee_id => 588,
    x_accepted_flag => 'Y',
    x_acceptance_lookup_code => 'On Schedule',
    x_note => 'All valid',
    x_interface_type => 'APITEST',
    x_transaction_id => null,
    version => '1.0');
    IF (l_result <> 1) THEN
    -- Handle the errors in the PO_INTERFACE_ERRORS table.
    END IF;
    -- Change the quantity to 5 on line 1, shipment 1 of PO 1263.
    l_result := PO_CHANGE_API1_S.update_po (
    x_po_number => 1263,
    x_release_number => 1,
    x_revision_number => 1,
    x_line_number => 1,
    x_shipment_number => 1,
    new_quantity => 5,
    new_price => NULL,
    new_promised_date => NULL,
    launch_approvals_flag =>'Y',
    update_source => NULL,
    version => '1.0',
    x_override_date => NULL,
    x_api_errors => l_api_errors,
    p_buyer_name => null
    IF (l_result <> 1) THEN
    -- Display the errors
    FOR i IN 1..l_api_errors.message_text.COUNT LOOP
    dbms_output.put_line ( l_api_errors.message_text(i) );
    END LOOP;
    END IF;

  • In RG23D  Register is it possible to update general sales

    HI, Experteese,
    My Client is a Trading Industry  and they will do most of the times imports and becz nature of business he will pass
    excise benefit to some particular excisable customers,
    *here is the issue 
    In SAP we can  make entry of vendor excise invoice into RG23D register  and that time if I procure material from vendor qty*
    10 it will show receipts as 10
    *and if we do excise pass on for 5 qty it will show
    receipts 10
    issues    10
    balance as 5*
    I f we sale the remaining  qty 5 to regular customer  system will not update  qty of material in  excise qty
    client wants all the sales should reflect the RG23D register
    is it possible
    Thanks
    Sri

    Hi,
    all
    If I do GRN  system will update excise registers qty as well as regular stock in MIGO itself I have set like this*
    *When i do J1IJ system will update issue qty in RG23D it is doing the same*_
    but as per my client "regular sales also should replicated to RG23D register without
    Making Excise Invoice(benefit pass invoice).
    Any inputs

  • CCS Details are not getting updated to COPA in Sales Order Settlement(VA88)

    Dear Experts,
    Our scenario is MTO with valuated material.
    1. Production order is tagged to Sales Order.
    2. Production order is settled to Material and variance is getting posted to COPA.
    3. At the time of Delivery, COGS Debit (Cost Object- Sales Order), Credit - Inventory.
    4. At the time of Billing, Accounting Document is getting generated, COPA document is not getting generated.
    5. We  are not executing WIP. (as per Business process)
    6. Settlement is done thru transaction code VA88. COPA Document is getting generated.
    I am facing the following issues in the above MTO process.
    1. At time of sales order settlement thru VA88, In COPA, only COGS is getting as updated with one value field i.e. Material Cost.  Cost Component data (Material Depreciation, Labor etc..) is not getting updated to COPA.
    2. When I settle the Sales Order thru VA88, Billing Quantity is not getting updated to COPA though Quantity field mapping is done properly.
    Please help me how to resolve the above issues.
    Note: Same Cost Component Structure, we are using for Make to Stock scenario. Cost Component Data is getting updated Properly to COPA  (at the time of Billing)
    Regards,
    vgl
    Edited by: vglokam on Aug 31, 2010 10:52 AM
    Edited by: vglokam on Aug 31, 2010 10:54 AM

    Hi
    1. CCS (Cost Comp Split) wont be updated to COPA if you settle via sale order.. In sale order, COGS cost element is posted.. the same will get settled to COPA as one single value...
    In MTS, the CCS gets updated to COPA upon billing because of the "valuation" strategy customization... Billing posts to COPA in that case, COPA gets Sales Qty and it is valuated with CCS to give you the break up.. But, in your case, Billing is not posting to COPA, but to sales order.. hence, there is no qty flow into COPA upon billing.. thats why you dont get CCS for MTO
    2. The sales qty should be updated to COPA upon VA88.. For this, make the following settings in your PA transfer structure which is used during VA88
    1. Go to KEI1, Select your PA transfer structure...
    2. Add an assignment line in it... Check on "Qty Billed/Delivered" in the assignment line
    3. In the Tab "Value Field" below "source", assign Qty Field
    Now when you settle, it should update qty as well
    regards
    Ajay M

  • R11i update PO need_by_date

    Hi All,
    It seems that there is impossible to update po need by date by using PO open interface.
    Is it true?
    We find that there is an API:PO_CHANGE_API1_S.UPDATE_PO, which can be use to update qty,price,promise_date, need_by_date in R12, but only qty,price,promise_date in R11i.
    Is there any other standard API/Interface for updating need by date of existed POs?
    Any Suggestions will be appreciated.
    Best regards,
    Zhxiang

    Hi Zhxiang,
    1. Po Need by Data can not be update using API/Interface
    2. This Option is available in R12 but not in 11i.
    As I believe there is no such interface/API through which you can update the need by date in PO.
    Regards,
    Jyoti

  • Billing doc error due t copa standard quantity

    Hi  I am facing an issue .this is regarding the error while releaseing a billing doc the errortranslating the quantity to the COPA standard quatity.
    in material master i checked the unit of measure is SET and in copa KEA6 VVAUM( Alt Uom)
    Error translating the quantity to the CO-PA standard quantity
    Message no. K/832
    Diagnosis
    Customizing in Profitability Analysis CO-PA allows a standard quantity field to be updated.
    An error has occurred in the present document while the standard quantity field "VVAUM" was being supplied.
    The base unit of measure "SET" could not be translated into the standard unit of measure "M3" for the material "B/CAL/PROJECT5".
    System Response
    It is not possible to process the document again.
    Procedure
    1. If required, maintain the unit of measure "M3" as an alternative unit of measure in the material master for the material "B/CAL/PROJECT5".
    2. In certain cases, you should check whether derivation of the unit of measure for the CO-PA standard quantity field "VVAUM" needs to be changed in Customizing for CO-PA characteristic derivation
    This is billing docments needs to be released . what is the problem some body can help me to resolve the issue
    Arjun

    Hi
    I am assuming that you want to update qty in COPA with UoM M3
    In MM02 - Maintain conversion of SET to M3
    In KE4MS - Maintain M3 as the Standard Unit of Measure
    In KE4M - Assign SD Qty field (FKIMG) to VVAUM
    BR,Ajay M

  • Storage Location for NON valuated material in MIGO

    Hi friends ,
    I have created a purchase order for NON-Valuated material (UNBW) with Account Assignment "K".I did check the material type UNBW configuration where only Value Update is checked for my Plant.
    Now at the time of MIGO , system is asking for Storage lcoation (mandatory) and after MIGO system also updates quantity in Storage Location entered in MIGO.
    while in normal cases (like ROH material type) , if we create Account Assigned PO ( like K) , system neither ask for Storage lcoation at the time of MIGO , nor system updates Qty at any storage location.
    As per my understanding , if we create Purchase Order with account assignment K , system updates value in consumption and doesn't update Qty in stock (although material is stockable) .....which is simply like immediately issue of material to cost center.
    Therefore wondering why system is updating Qty for NON-VALUATED material.
    Does non valuated material means , POST value to Cost center (for account assignment K) and Update Qty in stock ?
    Like in case of Account Assignment , value gets charged to WBS and qty gets updated as special stock "project"
    All replies are welcome .....
    Regards
    Shrey

    By definition UNBW's are ony qty updating and have no value assoicated with them. Since the system needs to stock this qty somewhere it by deafult asks for a Sloc.

Maybe you are looking for