BAPI_SALESORDER_CHANGE with BOM Materials

Hi all,
I'm trying to modify a Sales Order using the FM BAPI_SALESORDER_CHANGE. The error I got ( V1 045 ) is just when I try to modify a BOM material.  What info do I have to pass in order to chage quantities??
Thanks in advance.
Dimas B. Salazar

I'm sorry I was testing teh BAPI and I got the same error today. If I find a solution I will post it here. By now I still have the same problem. I got error V1 045 : Enter Sales Document Number. I tried removing the object blocking but it didn't work, I also tried changing parameters and it works two days ago but now it doesn't.
PLEASE HELP IF ANY IDEA!!!!

Similar Messages

  • BAPI_SALESORDER_CREATEFROMDAT2 with BOM

    Hi,
    currently I'm using the BAPI_SALESORDER_CREATEFROMDAT2 to create sales order via .NET, it works beautifully when the materials used are not BOM. However, when I test the BAPI out with BOM materials, it does not get exploded.
    Please help. Thanks.
    Regards,
    Norman

    Hi Maxim,
    thanks for the replay. But was looking through the notes, still don't understand what I need to do. I tested the BAPI via ABAP program, it works fine. The BOM get exploded as expected. However, when I try it via .NET program, it did not work.
    BTW, what's configuration? Any idea what are the data I need to put in to make the BAPI work with BOM?
    Regards,
    Norman

  • How do I find only materials with BOM in CS_BOM_EXPLOSION?

    Dear experts,
    In a BOM I try to find only BOM materials .
    I use CS_BOM_EXPLOSION.Is there a parameter that only explodes materials with bom underneath?
    is it brems?
    Thank you in advance.
    Roxani

    Hi Roxani,
    Please try this.
    CALL FUNCTION 'CS_BOM_EXPLOSION’
      EXPORTING
        MTNRV = wa_marc-stdpd
        CUOBJ = wa_marc-cuobj
        WERKS = I_PLANT
    <b>    MEHRS = ' '</b>
      IMPORTING
        TOPMAT = TOPMAT
      TABLES
        STBD = IT_STBD
        STBP = IT_STBP.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • PO with BOM

    Hi everyone, pls. I need your advice related with PO with BOM.
    I explain the process:
    I always buy a kit containing 350 items, so the PO have only 1 ítem because the manufacturer bills 1 item, but the GR have to be for 350 items. After GR I have to assemble the kit. This process it´s related with motorcycle production.
    I trie to use a PO with item cat. L but before MIGO I have to do ME2O to send materials in subcontracting, so this process is similar to subcontracting but is not the same.
    Thanks for your cooperation.
    Regards.

    Sorry, I think I misunderstood your question. The kit contains not 350 pcs but 350 items (different components).
    In SAP Retail you can use the structured article scenario.
    If you don't use IS Retail you can still have one item on the PO. After GR you can split it into components (e.g. MB1A + 201 for the main item and MB1A+202 for the compoenents - you can of course automize this via development that these technical bookings should be triggered by the GR).
    But sorrowfully standard SAP cannot handle BOm on PO except subcontracting and IS Retail...(as far as I know)
    (More exactly: IS Retail structured article means an additional movement, so it's not really BOM on the PO.)
    Edited by: Csaba Szommer on Jul 7, 2011 9:34 PM

  • Without MRP, with BOM explosion

    Hi,
    I'm new to SAP and learning SAP SCM. I would like someone to brief me on what the following lines imply, especially 'without MRP, with BOM explosion'.
    "dependent requirements must be determined for materials that are planned in SAP ECC. So, you assign the MRP type “X0” with MRP procedure “X” (“without MRP, with BOM explosion”) to the materials planned in SAP SCM."
    Thanks,
    Krish

    Hi,
    Without MRP , with BOM explosion - means the dependent requiremens are created for this materials from APO.
    The MRP will not run in APO. Only the dependent requirements will be created from APO. The MRP for this materials will be executed the ECC or R/3 system to create planned order anb purchase requisitions.
    Thanks and regards
    Murugesan

  • Subcontracting with BOM

    Dear all,
    Can anyone tell me the method of creating PO with BOM
    i mean what are the additional fields should be maintained in Material Master???
    How to create Material BOM using Tcode CS01??
    Is CS01 Tcode is for to create for maintaining Bill of Materials for a Finished product??
    pls tell me in detail step by step to Create BOM and subcontracting BOM
    Thanks a lot in advance??

    Sub Contracting Cycle
    (1) You have a material that can be procured externally, and you have maintained BOM with components. Any waste generated and received during subcontracting process can be maintained as component with negative quantity.
    (2) You create a subcontracting PO (PO with Item Category L). You can also maintain Purchase Info Record for Subcontract category for material and subcontractor.
    (3) You make a transfer posting to issue components for SC PO. Material is sent to subcontractor. As material remains under your ownership, system does not make any value entry. But quantity is shown as "Material Provided to Vendor"
    (4) You receive finished material against SC-PO. You also specify components consumed in manufacturing of finished goods. Additionally, if you have negative components in BOM, now you'll also receive subcontracting by-products. There are three events, so three accounting entries are generated:
    DR FG Stock/ SC By-Product Stock
    CR Change in Stock (FG/ SC By-Product )
    (for finished goods received)
    DR Subcontracting Charges
    CR GR/IR Clg
    (for moneys payable to Subcontractor)
    DR Consumption (Components)
    CR Change in Stock (FG/ SC By-Product )
    (material provided to Vendor is now charged to expense)
    (5) You do the IV for SC Invoice, and the process is complete.
    Process of Subcontract in MM
    Sub-contract business process:
    You want to buy material from the supplier (processed material/ assembled item) , but for some reason (quality of certain item / price ) you will give some component to vendor .
    Vendor shall process the item / use the item provided & supply the final item.
    SAP process:
    1.Create the finished goods material code.
    2.Maintain the BOM for the material.
    3.Create PO with item category as "L" .
    4.Issue material to vendor with movement type 541
    5.Receive the material against the PO with movement type 101.
    6.MIRO to account for vendor's invoice for the service charge& material used by him.
    Can anybody tell me how a process has to be given to subcontracting?
    Suppose, I have 3 operations 1)weaving 2)dyeing 3)cutting & packing
    if no 2 process (i.e Dyeing) has to be given to subcontracting, what process should i follow ?
    The following process to be followed for subcontracting.
    1. Item code(material master) to be created at the stage of before dyeing.
    2. Item code(material master) to be created after Dyeing as subcontracted item.(F30)
    3. Bill of material to becreated for the material(2) calling for material(1)
    4. Inforecord and source list to be created for material(2) with the corresponding vendor
    5. PO to be released for material (2)
    6.Along with PO the material(1) to be issued to vendor
    7.On receipt of material when GR is made the stock with vendor will get updated.
    How to Create a Subcontract Order?
    To create a subcontract order, proceed as follows:
    Enter the material you want to order and the item category for subcontracting (L) in the order item.
    Press ENTER to display the screen for component processing.
    Enter the components that the vendor requires to manufacture the product.
    Please note:
    – You do not need to enter the date required for the components. This date is proposed by the system when you press ENTER.
    It is calculated as follows:
    Delivery date of the item - Planned delivery time
    – If you do not want the quantity of the components to be changed if the order quantity of the end product is altered, set the indicator Fixed quantity (column F).
    – You can determine whether the components are available on the date required by selecting Edit -> Availability check.
    If you entered a bill of material as the material in the subcontract order, the components are created automatically.
    If you want to determine the components in the bill of material at a later date (for example, if the bill of material is subsequently changed), choose Item -> Component -> New BOM explosion. The existing components are deleted and redetermined in the bill of material.
    Save the purchase order.
    When you print the purchase order, the components are printed per order item
    Subcontracting - Key Points
    Special Procurement Process.
    Item category: L
    Order type: NB
    In info record vendor should be maintained as subcontractor.
    Vendor (Subcontractor) receives the components used to manufacture a finished product directly from your company or through third party.
    Your company should place a purchase order for the finished product. In this manually you can enter the required individual components or it can be determined via the explosion of BOM (if exists).
    Stock check at vendor level: ME2O
    Company stock check: MMBE
    GR for individual components through movement type: 501 or 561 (if with out PO or without reference).
    GI to subcontracting vendor: through movement type 541.
    GR from sub contracting vendor: through movement type: 101
    Movement type 543 is displayed to cancel the material cost account.
    If the subcontracting order has to be generated through materials planning,the special procurement key has to be set in MRP 2 screen.
    - To create the Subcon Info Record : Tcode ME11 - Info Category - Click Subcontracting
    - To create Material BOM : Tcode CS01
    - With the Info and Material Setup, you can then create the Purchase Order in Tcode ME21N
    Regards
    Ravi

  • Error in Rush Order type with BOM item!!

    Hello,
    I am facing a very strange error while creating a rush Order with BOM item.
    System Error:
    1. No item category available (Table T184 SO ERLA TAQ).
    I except the error. I get next error as
    2. Structure explosion for item 000010 is not possible.
    After this BOM explodes with only first 2 Sub Items ( Item cat for main item is determind as TAQ and Sub Items as TAE) , where as the complete BOM has 7 Sub items.
    I have made the required configs in item cat determination in T184 table for order type SO, as follows.
    SO ERLA - TAQ for Main Item of the BOM
    SO NORM TAQ TAE for the Sub Item of the BOM
    The same item (BOM ) works very well in OR/BV kind of sales order types, by exploding the BOM to full level(i.e all the 7 sub items are determined).
    Has any one come across such an issue. Please let me know what could be the solution?
    Thanks in adv,
    Shripad

    Hi,
    Thanks,
    In vov7 for TAQ Item Cat. the structure scope is maintained as 'A'. And that's the reason for Standard order 'OR' , the BOM is exploding properly.
    It is only with Rush Order , the BOM is not exploding correctly.
    BR
    Shripad

  • Creation of Transfer order with multiple materials at a time(no reference)

    Hello All,
    Can you please tell me  the transaction to create transfer order (TO) with multiple materials, LT01 has the abiity to create only one material at a time, any transaction available to create with multiple materials ? Please reply.
    Thanks
    John

    Yes, see transaction LT10 to select multiple materials.

  • Problem in Delivery with BOM

    Dear Experts,
    I have problem with delivery with BOM
    The steps are:
    1. I create Sale Order with BOM A (which consist of material AA 1 PC, AB 1 PC and AC 1 PC) 75 ST
        So Sale order shows:
        Item           Material         Qty    Unit
        10     A     75      ST
        20     AA                75      PC
        30     AB     75      PC
        40     AC                75      PC
    2. I create Delivery reference sale order from 1 so Delivery will be:
        Item           Material         Qty    Unit
        10     A     75      ST
        20     AA                75      PC
        30     AB     75      PC
        40     AC                75      PC
        But I want to delivery only 25 ST so I change quantity in Item 10 from 75 to 25 but the system show:
        Item           Material         Qty           Unit
        10     A     25             ST
        20     AA                25             PC
        30     AB     25.004      PC
        40     AC                25             PC
    What happen with Item 30 why system determine to 25.004. Please help me

    Hi,
    if you want change the item quanty like TAP or TAN plz goto VOV7 select TAP Item category  under bill of material/configuration Maintainstructure scope A and application SD01 put the check mark for *manual alternativs  and same to TAN also
    Your Itemcategory determination should be IN VOV4
    QT-LUMF--TAP
    QT-NORM-TAP-AGN
    If your using BOM item categories is showing gray mode only.
    regards,
    sreenivas

  • Problem with BOM (packaging material) in order change

    Hi Gurus,
    In my b2b shop, i have created an order with BOM material and that order contains one main material and a sub item material after update or order. When i open the same order and click on change, when i click on update, a new sub item is getting added as a main item.
    Details:
    item 10 is 12007492 (main material)
    item 20 is 12007491(sub item for the main material)
    when i click on update,again one more sub item 30 is getting added.
    When i check the logs, all the items guids are getting passed to IN of crm_isa_basket_changeitems functions module. But when check it in runtime using external debuggin mode, the sub item guid is blank.
    Then the main material is again getting exploded and the sub item is coming at item 20 and actual sub item before update is shifting to item 30 as new item.
    Please help me in this regard why it is happening like this.
    Thank you
    Lakshman

    Hello Lakshman,
    I had the same issue, however my backend system was ERP and not CRM. In any case, the logic might be the same.
    When a BOM material is sent to the backend system for simulation/save, only the header needs to be sent. By this, backend system will explode the material and send 2 items back. I guess in your case, ISA is sending both items to SAP and that is the reason you are getting back 3 items.
    Simplest approach is to write some logic in your backend class to avoid sending this subitem to SAP. You can achieve this by manupulating the items table sent to SAP
    Suppose salesDoc is the ISA document and itemsTable is the JCO table that is sent to SAP as a table parameter:
                   ItemList itemList = salesDoc.getItems();
                   for (Iterator iter = itemList.iterator(); iter.hasNext();) {
                        ItemSalesDoc itemSalesDoc = (ItemSalesDoc) iter.next();
                        TechKey parentKey = itemSalesDoc.getParentId();
                        if(null!=parentKey){
                             if (!parentKey.getIdAsString().equalsIgnoreCase("")) {
                                //Here remove it from the tables parameter which is sent to SAP
                                               itemsTable.deleteRow(i);
    I am not too sure how it would work for CRM, but works in ERP.
    Pradeep

  • I received an ipad with seminar materials at a recent seminar I attended. I wanted to download apps. I have an account with app store, but I can't get apps because the ipad is registered to the person who put on the seminar.  Help.

    I received an ipad with seminar materials on it at a recent seminar. Now I want to add apps, using my app account. But when I try to do that, the app store says my ipad is registered to the person who put on the seminar. How can I fix this so I can use my ipad.

    Go to Settings>Store>Apple ID - tap on the previous user's ID and sign out. Then tap sign in and enter the information for your ID and password.

  • MRP run for header material with bom usage-3

    Dear All,
    We have header material with bom usage-3.We maintain the stock at child components only ,not at header
    I have created the planned independent requirement for header material.I have created a sales order but sales order is not shown in md04.
    What can be the further setting  I am missing for mrp run of above scenario.
    with regards,
    pradeep

    Dear ,
    Couple of checks points for you :
    1.Check the material master Sales Org Veie-Item Categoery .As you have mentioned Item Categoery -TAQ which is not relevent for requirement planning throgh schedule line category -CT ( CT means there will not be any inventory or good movement and requirement will not be passed for MRP ) .Only CP -line item categoery does requirement passing through MRP and it will show u in MD04. So the summery is if you want to generate an MTO order for the same FG material , you should matian the Sales Line item categoery as MTO in sales Org View and it will pop up in VA01 whiel logging Sales Order .
    Generally , TAQ item categoery are used in Project Billing or Delivery .ok  and they will not be having any availabilit check so it KP ( no check ) .
    But for MTO order , you should have availablty chek 02/01 in MRP3 view and also MTO Sales Item categoery .
    Based on the above information logg an sales order , release credit chek in VKM3, SAVE and check in MD04.
    Create PIR in MD61 and Run MRP on the both cases .I have tested its working .but noit with TAQ item categoery ok
    2.Why do you need to create Sales Order for dependent Item-Y because it will be in X-BOM item  ? Make sure that Y- should have Sales Item categoery in material master -MM02-Sales Org View as NORM item .If you really want to create sale sorder for this item , it should TAN or NORM .
    3.Other PIR detail is fine .
    Try and revert back
    Regards
    JH

  • UTF-8 files with BOM chrashes DOMParser?

    Hi.
    We are storing XML-documents in an 8i databse with UTF-8 encoding (in CLOBS).
    Problem: If the Unicode XML-document contains a BOM the oracle.xml.parser.v2.DOMParser's
    parse()-method throws an exception.
    I get the following output when using the ParseXMLFromURL.java class supplied in JDeveloper 3.2 samples directory:
    Sample output >>>>
    System Output: XML parse error in file http://localhost/UTF-8_With_BOM.xml
    System Output: at line 1, character 1
    System Output: Start of root element expected.
    <<<<<<< Sample output
    If I change the XML-file not to include a BOM the parser works fine.
    (I set/unset the BOM using EmEditor from http://www.emurasoft.com/ if you'd like to try for yourselves).
    To me it looks like DOMParser interprets the BOM at the start of the XML-file as XML-content instead of a Unicode signature.
    IE 5.5 can handle both formats, shouldn't DOMParse also be able to handle that?
    Any ideas how I can get DOMParse to work with UTF-8(BOM) XML-files?
    Regards,
    Jan-Erik
    Sample XML:
    <?xml version="1.0" encoding='UTF-8'?>
    <newsdoc>
    <news>
    <newstitle>
    Document contains no BOM
    </newstitle>
    <introduction>
    See http://www.unicode.org/unicode/faq/utf_bom.html for info on BOM
    </introduction>
    </news>
    </newsdoc>
    null

    I have the same problem when trying to store UTF-8 encoded XML files with BOM marks in iFS version 1.1.9.0.7.
    The database is 8.1.7.1.1 created with UTF-8 charset.
    I have loaded the XDK for PLSQL 9.0.2.0.0A into the database and replaced the original %ORACLE_HOME%\lib\xmlparserv2.jar with the one distributed in this XDK.
    I get the following error message:
    Wed Aug 01 10:10:06 GMT+02:00 2001: \public\CV-Bank\CV_Patrik_Johansson_intDTD_BOM.xml:
    oracle.ifs.common.IfsException: IFS-12608: Error while pre-parsing with the SAXParser: at line (1), column (1): oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    at oracle.ifs.beans.parsers.IfsXmlParser.preParse(IfsXmlParser.java, Compiled Code)
    at java.lang.Exception.<init>(Exception.java, Compiled Code)
    at oracle.ifs.common.IfsException.<init>(IfsException.java, Compiled Code)
    at oracle.ifs.common.IfsException.<init>(IfsException.java, Compiled Code)
    at oracle.ifs.beans.parsers.IfsXmlParser.preParse(IfsXmlParser.java, Compiled Code)
    at oracle.ifs.beans.parsers.IfsXmlParser.getParserName(IfsXmlParser.java, Compiled Code)
    at oracle.ifs.beans.parsers.IfsXmlParser.parse(IfsXmlParser.java, Compiled Code)
    at oracle.ifs.beans.parsers.IfsXmlParser.parse(IfsXmlParser.java, Compiled Code)
    at oracle.ifs.utils.common.ParserHelper.parseExistingDocument(ParserHelper.java, Compiled Code)
    at oracle.ifs.protocols.ntfs.server.FileProxy.parseFile(FileProxy.java, Compiled Code)
    at oracle.ifs.protocols.ntfs.server.FileProxy.cleanupFile(FileProxy.java, Compiled Code)
    at oracle.ifs.protocols.ntfs.server.FileProxy.runFileProxy(Native Method)
    at oracle.ifs.protocols.ntfs.server.FileProxy.run(FileProxy.java, Compiled Code)
    This is a serious problem since we use an XML editor that adds BOM's.
    Regards
    Patrik Johansson

  • BOM Display in CS11/CS12 with BOM status "3"

    Hi,
    Just wanted to know if it is possible to display BOM using CS11/CS12 with BOM status "3"- Active with history requirement.
    Your quick reply is appreciated.
    Thanks
    Nitin
    Edited by: Nitin Pandhare on Jun 16, 2011 10:16 AM

    No, it doesn't display the BOM in CS11/CS12 which has BOM status '3' (Active with history requirement). It always give an error message " The BOM is not effective on current date" though the BOM exists in the system and has the history within the validity period. If you try, it also gives the same error message even if the BOM status is Inactive (2').  I guess it works only for the BOM, which has status "1" (Active).
    May I request you to try at your end as well and let me know.
    Thanks for your help and sharing your views.
    Regards,
    Nitin

  • MD04 issue with BOM Material

    HI
    We have a scenario where Sales order is Created with BOM Material. Sales order has been saved, delivered and Billed.
    But still the BOM Material is shown in MD04, we tried running the Correction program SDRQCR21, but still the BOM Material shown in MD04.
    Can anyone help on this issue.
    Thanks

    hi,
    please check,
    whether TECO has been done for production order from PP perspective.
    after this the requriment from MD04 should disappear and finally refresh it.
    you are requested to search the FORUM sir.
    regarsds,
    balajia

Maybe you are looking for

  • EREC: PFAL ALE Error

    Hi, When i do ALE of HCM data to erec system, info type 0006 and IT105 are not being copied over. I get the below error, Object 01 ,P ,000***1 does not exist: infotype 0006 cannot be created Message no. 5-105 Diagnosis You have tried to create infoty

  • What is this error: com.apple.fontd FODBCheck: foRec- annexNumber != kI

    what is this error: com.apple.fontd FODBCheck: foRec->annexNumber != kInvalidAnnexNumber (0) and there's an error appeared in the startup: com.apple.fontd [74] FODBError: Revive Font Family failed (fam -32256, fileToken 372). (status = -3127) then wh

  • RTMFPTurnProxy for peer to peer communication in proxy connection

    Which server ip i have to mention in mms.cfg against Rtmfpturnproxy either the fms server ip or the deployment server for peer to peer communication For peer to peer communication, it is said to add a variable RTMFPTURNProxy in mms.cfg and assign the

  • Where to download JAI and javax.media libraries

    i want to download java advanced images and javax.media help please

  • Help setting up switch

    Hi I Have Cisco Catalyst 3750G switch that I need to route a /24 subnet of external ips to servers connected to the switch. I wish to break this up to into /30 subnets mostly and then allocate these to servers on a specific port of the switch. I have