Change quantity of a component in a BOM created through SDK

I am creating AR Invoices which are based on Sales Orders through SDK. These SO have a BOM which has only 1 component, when I create a AR Invoice off of these SO I have to be able to change the quantity which is delivered. How do I specify that I am changing the quantity of the component and not the amount of the Parent?
thx,
Richard

Owen,
If you go to Document Settings and change the selection to Price and Total for Parent Item Only, when you choose this BOM which is a Sales Item, you can modify the quantity of the Child Item and it does not affect the Parent Items price or quantity.
This is what I am trying to accomplisg through the SDK, but it seems all I can insert is the Parent Item in the Marketing Document, how can I alter the Child quantity?
thx,
Richard

Similar Messages

  • Base quantity value of component in a BOM

    Hi Experts,
    Can you please tell me how to compute the Base Quantity of the BOM of a Process Order?
    Does the system round up or down qty's if the order qty is an odd no?
    Ex.
    I have a PO 123456 material A  with component B.
    Conversion is 1 case = 24 btl
    PO
    material A
    total qty = 211 cas
    base qty = 5064 btl
    component B
    req qty = 71 cas
    base qty = 1687 btl
    How did i get the base quantity of 1687 btl from the component B?
    Thanks a lot.

    Hi,
    From the given calculation, it seems that to produce
    1 case of MATERIAL A :  0.336 case of Component B is required
    For this maintain following data in BOM:
    1. BOM Header:  Base Quantity = 1 case
    2. In Item Detail : Basic Data Tab;
                Quantity = 0.336 case
    3. Maintain  1case = 24 btl
    In "Units Of Measuer" Tab of "Additional Data" of Material A.
    Thanks,
    Meghasham
    Edited by: Meghasham Badgujar on Nov 11, 2009 1:30 PM

  • Quantity field KWMENG not updating in Salesorder created through BAPI

    Hi ,
    I created sales order through BAPI - BAPI_SALESORDER_CREATEFROMDAT2.Here, I passed material , quantity , unit of measure etc..
    But, when the sales order is created the value in the quantity filed is missing.
    I passed values as :--
      wa_itemx-updateflag = 'I'.
          wa_item-itm_number = '10'.
          wa_itemx-itm_number = 'X'.
          wa_item-material = wa_alv-matnr.
          wa_itemx-material = 'X'.
          wa_item-rnddlv_qty = wa_alv-kwmeng.
          wa_itemx-rnddlv_qty = 'X'.
          wa_item-target_qu = wa_alv-kmein.
          wa_itemx-target_qu = 'X'.
          wa_itemx-ITEM_CATEG = 'X'.
          append wa_item to it_item.
          append wa_itemx to it_itemx.
    What possibly could be the error?
    Thanks,
    Shivaa......

    Hi,
    You have to pass the quantity in the schedule lines parameter ORDER_SCHEDULES_IN..
    Thanks
    Naren

  • Mass change in component Scrap % in BOM

    Hi Guru,
    Can someone explain me the process of mass change in component scrap % in BOM ? I have to make zero coponent scrap % in BOM for all materials.

    Dear Vikash,
    Check with t-code CEWB
    for this you need to define work area in OP77
    Regards
    Madhu

  • Changes in process order against actual/standard bom

    Dear GURUS
    We are from Process Industry.
    Suppose there is finished material A. Components of A (BOM) for qty - 1
    Component    qty.
       X                 1
       Y                 2
       Z                  3
    One process order is created of A for qty 1.
    Then I had deleted the component Z from the created po and change the qty Y from 2 to 3 or any one.
    How can I track these changes against standard bom? Is there any report for same.
    I would also like to know the deviation in process order against standard bom and issued qty against BOM.
    I try Tcode COOISPI . Table STPO and RESB but not getting success.
    Also try MCRX, MCRE but it show actual issed against process order qty. But I would like to see diff. bet. Actual BOM , Process order and actual qty.
    Regards
    Rajan

    Hi Rajan,
    I think that this kind of control is designed in SAP through CO, meaning that in product cost controlling you have 3 sets of costs: standard as per BOM, target as per the definition in the the production order (e.g. after you changed the components), and actual as per the actual goods issues.
    These sets contain not only costs data, but also quantities.
    There's also very nice functionality to do a variance analisys between the three, again, not only cost but also quantity.
    Regards,
    Mario

  • Component in the BOM whit the for decimal .

    Dear gurus,
    i need insert in the quantity of component in the BOM the value 1,1234 , a value whit for decimal but the system for the UM ( example KG) is 3 decimal in the  transaction CUNI .
    Are there the procedure for insert this value ?
    Thanks a lot
    Daniele Pistilli
    PP

    Hi,
    SAP Standard will allow u only 3 decimal palces.
    So do one thing increase the base quantity of header material so it can fullfill you're requirement..
    EX: in bom you have given like for one FERT material you want RAW material 1.1234..normal in this sap std will allow only up to
    1.123 only...
    For this in the BOM of FERT material header data PUT base Quantity 100 so that you can put youre RAW material Quantity as
    112.23.
    Regards,
    Ravi

  • Add component to 200+ BOMs

    Hi,
             I want to add a single component to over 200 BOMs. Is there any mass change transaction ? I tried the CEWB but cant seem to figure out how to use it to add a single component to many BOMs.
    Thanks
    GS

    >
    GS wrote:
    > ok dudes, I am not getting a firm answer still.
    >
    > Can CEWB be used or not ? Whether LSMW or BDC is better is a later discussion.
    >
    > Also to use CS20 I need to specify a common component which would need to be replaced by this new component. I DO NOT have a common component in the 200+ BOMs. So where do I put the list of 200+BOMs to be updated ?
    >
    > Thanks
    > GS
    GS,
    1. CEWB cannot be used to mass add a Components to Multiple Material BOMS.
    CS20 if none of the BOM components are common for all 200, may be you can try to group them based on common materials and then try to run CS20 multiple times to complete your task.
    Final option is as described earlier LSMW and BDC.
    Regards,
    Prasobh

  • Capture ERFMG - Requirement quantity for a component

    Hi All,
    I have a requirement where in i need to capture the requirement quantity for a component(ERFMG).
    The problem is the value exists only at runtime in the following structure MDPM.
    I am writing the code in an exit   EXIT_SAPMM06E_013 where in i cannot capture this value from this structure.It is not storing in a database table also . how can i get this value  ?
    Kindly help.
    Priya.

    Hi,
    Thank you for your post!
    It is exactly what I have done but as I above mentioned:
    Subsequent problem
    The system schedules the dates correctly on the component level, but re-schedules the dates for the project the day you schedule and erase the complete old scheduling dates except for the activities with constraints.
    If I have an "old" scheduled project and I add some new components anywhere in the complete project structure additional needs. I go then to the project definition level and schedule the complete project. My result is that on project definition and WBS elements no changes but on all activities (without confirmation) the system put the start date the day which I re-schedule the project.
    That what I want  to avoid and let the initial planned schedule date on activity level the same as before re-scheduling the project.
    Do you have any further advices?
    Thank you in advance for your input
    Best regards

  • Change quantity in production order

    Dear Expert,
    I've done production order for multiplication last year with expected quantity 22.000 kg. This year we received from subcontractor 50.000 kg. Would you be so kind and advice the best way to updated this? It's allow to go to CO02 and change quantity from 22000 to 50000? I afraid because in component overview the component will change according to new qty but has to be the same. The GI 261 on this component was done last year
    Thanks in advance,
    doti_781

    Hi,
    If you do not want the quantity to be changed, then tick the check box of Fixed Qty for each component, this will ensure that the qty will not increase or decrease when the header qty is changed.
    Hope it clarifies your query.
    Regards,
    Vivek

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Fetch Open PO's based on component part numbers (BOM)

    Hi All,
    I need to fetch Open PO's based on component part numbers (BOM).
    Is there any standard FM or any T-Code or program to achieve this?

    Hi All,
    I need to fetch Open PO's based on component part numbers (BOM).
    Is there any standard FM or any T-Code or program to achieve this?

  • Sales Order Material Determination Cannot Change Quantity of the Sub-item

    Hi SAP Guru's,
    Has anyone encountered this scenario?
    1. Created a standard order with an item as material substitution
    2. Created a pro-forma invoice referencing the sales order created
    3. Went into VA02 to change the item quantity of the higher level item in the material substitution
    Expectation is that once you change the quantity of the higher level item, the quantity of the sub-item should also reflect whatever is in the quantity of the higher level item.
    Actual Result is that only the higher level item quantity is changed, the sub item quantity remained the same.
    Is there any configuration or copy control that we can check regarding this?

    Hi Maurice,
    Apologies! The qty of the sub item should change when you change it in VA02 even after proforma is created.
    Could you pls check the item categories TAX and TAPS config i.e. the material entered should get item category TAX and the sub item should have TAPS or the item categories should have same configuration as TAX and TAPS.
    Please check.
    Regards,
    Raghu.

  • Bapi parametrs to be passed in bapi_salesorder_change to change quantity

    Hi,
    how to change quantity of sales order by using bapi_salesorder_change.
    kindly Help us... to solve this Issue....(bapi parametrs to be passed in bapi_salesorder_change to change quantity)
    regards
    sathish Kumar.

    pass the updateflag = U
    pass the posnr,qty,mat in the item and pass the itemx= 'X' to these fileds.

  • Changing UoM of a component in Sale Order

    Hello everyone,
    We are faced with the following issue:
    1) For a material A there is a BOM created which has material B as a component.
    2) The base UoM for both the higher level item as well as the component is CS.
    3) The sale UoM for the higher level item is ACB.
    4) There is no sale UoM maintained for the component material.
    When a sale order is created for material A using VA01, the UoM for A as well as B is CS.
    The requirement is that the UoM for B should always be ACB.
    We have tried some user exits also but the UoM for B is always reflected as CS.
    How to solve this problem?
    Best regards,
    Ronnie
    4)

    Hello,
    I would also like to create purchase order with article components (DB view MDSB, table RESB) and can not find any BAPI or FM with component interface. I'm using BAPI_PO_CREATE1 for creating PO, but ther is no interface for components.
    Thank You in advance for help.
    J.
    EDIT: We are using version 4.6C...
    Edited by: Jana Bittnerova on Jan 23, 2008 9:28 AM

  • Changing quantity using bapi_salesorder_change function

    hi ,
    i am changing quantity using 'bapi_salesorder_change' function.what are the minimum parameteres that needs to be passsed to the function.i am not able to change the quantity for some items.also for some sales orders i am not getting any error message but commit work is not working.
    thanks ,
    nitin

    Hi Nitin,
    After you call the BAPI_SALESORDER_CHANGE, specifically call BAPI_TRANSACTION_COMMIT , as BAPI_SALESORDER_CHANGE does not run a database commit.(as per the documentation provided by SAP for BAPI_SALESORDER_CHANGE)
    Thanks
    Lakshman

Maybe you are looking for

  • Why Favicons aren't displayed and no addon can solve this problem ?

    This problem occurs in Firefox and Nightly. Is it normal our it's a bug. I find favicons useful and I hope to see them again like they exist in IE or other browser. Thanks for answer.

  • IPhone + iMuffs -- does this work?

    Has anyone tried iMuffs with iPhone? I already own iMuffs, which work quite well with my Motorola. My ears are too small for the standard Apple earphones, which is a common lament for short people like me. Not having a decent earphones/microphone com

  • How can I check the version of the Folio Producer tools that a publication has used?

    I work on several different iPad publications, many of which use different versions of the Folio Producer tools (some use version 1.1.1 while some use 1.5.0 or 1.6.0)... how can I quickly check the version of folio producer that a publication has bee

  • Bug in SQL Developer relating to handling of XMLTYPE columns

    Hi, I have found a bug in SQL Developer relating to its handling of XMLTYPE columns. Given a table with the following data: ID, XML_DATA 1, <xml here> 2, <xml here> 3, <xml here> And the following SQL to extract a value from the XML and also an XML f

  • Uninstall from Mac

    Can someone tell me how to uninstall Adobe Reader 11.0.06 from my Mac (OS 10.8.5)?  All my PDFs downloaded from Safari 6.1.2 are opening in Reader and I don't want them to.