Assign operation Bill of Material

Hi,
This is my question: we need to do a New Assignement or Reassign Operation - Bill of Material.
It's a Routing (transaction CA02) and I don´t find any Bapi, Function, etc. The Task List exists.
We try with BAPI_ROUTING_CREATE but doesn't work.
Someone can help me?
Thanks in advance.

Hi,
BAPI is not working for ROUTING even i have tried...then i coded a BDC program for this.
so, better go for BDC...dont waste time working on BAPI...
Regards,
Pavan

Similar Messages

  • Account assignment group is different in Intercompany Billing from Material Master

    Hello,
    Account assignment group is different in Intercompany Billing from Material Master.
    Account assignment group in Billing and Intercompany Billing is feched from Material Master.
    In Material Master, account assignment group is assigned as 12.
    In Billing, account assignment group is 12 but in Intercompany Billing, account assignment group is 13.
    Please help me to understand why in Intercompany Billing, account assignment group is 13.
    Best Regards,
    Debashri Dutta

    Check the table MVKE for the values maintained for field KTGRM. You can see the sales org-DC combinations for which the AAG is maintained as 13 for this material. This may give you clues for investigation.

  • WEB ADI INTEGRATOR FOR Bill of Material

    I am developing a WEB ADI integrator for Bill of material upload. The integrator will populate the data in a temporary table, validate it & write the error messages back to the table . On succesful validation the data will be sent to interface tables & then to base table.
    The integrator uses a procedure & sends data to the procedure. Procedure then loads data in temporary table & does the rest of work.
    To do this i need to know the following thinngs:
    1. How i can track the line no of Excel?
    2. How do I know that all data are loaded in temporaray table because the validation & rest of work will be done once all the rows of excel are transfered to temporaray table. i.e. How do i determine the End of File in Excel?
    3. How do i write error messages from the table to the excel in web adi?
    Any help will be appreciated. Please send me the sample scripts & web adi developer guide at [email protected],[email protected]

    If you check the XML that Web ADI generates to upload a document you will note that each row gets a row number. It would be a matter of being able to keep track of that number in your table so that when you are reporting the error back you can include that number in the message so the code in the Excel spreadsheet can assign it to the correct row.
    I would suggest trying to use even some of the basic validation mechanisms provided within Web ADI, as these will automatically return the error messages for bad data to the correct row in the spreadsheet.
    Web ADI will take the uploaded data, perform any validation check defined within meta-data then push the data to your Interface table. There are plenty of examples in th shipped code of product teams then using the Import phase of the upload to perform additional checks and then push the data further. But if you can utilize the existing Web ADI functionality. The data never ends up in the table in the first place to require any clean up on your part.

  • How to get currently logged in user on 'Bill of Material' Form in Add-Mode

    Dear All,
                    I am using a UDF on 'Bill of Material' Form in SAP. This UDF is named as Current_User. I want in this UDF the user name that is currently logged in to SAP. I am able to get user name at form load event. But when 'Bill of Material' Form comes in ADD Mode, the user name doesn't display. What can I do for this problem.? Here is my code:
    public override void Handle_SBO_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;                 
                try
                    if ((mst_FormUIDModal != null))
                        if (FormUID != mst_FormUIDModal)
                            bool dbo_FormFound = false;
                            foreach (SAPbouiCOM.Form dsa_Form in this.SBO_Application.Forms)
                                if (dsa_Form.UniqueID == mst_FormUIDModal)
                                    if (FormUID != mst_FormUIDModal)
                                        if (this.SBO_Application.Forms.Item(mst_FormUIDModal).Selected == false)
                                            this.SBO_Application.Forms.Item(mst_FormUIDModal).Select();
                                        BubbleEvent = false;
                                        return;
                                    dbo_FormFound = true;
                            if (!dbo_FormFound)
                                this.mst_FormUIDModal = null;
                    if (pVal.BeforeAction == false)
                        switch (pVal.EventType)
                            case BoEventTypes.et_FORM_LOAD:
                                    if (pVal.FormType == -672)
                                        Program.Curr_User = SBO_Company.UserName;
                                        doc_form = this.SBO_Application.Forms.GetForm(pVal.FormType.ToString(), pVal.FormTypeCount);
                                        ((SAPbouiCOM.EditText)doc_form.Items.Item("U_User").Specific).Value = Program.Curr_User;
                                } break;

    Hi,
    You need not to write any sdk code for this task. You just create a user query as mentioned above and save it with some name.
    Then Open the Bill Of Material Screen, just click in the required field, then click alt + shift + f2 to assign a Formatted Serach.
    Then Select 3 rd Option       "Search in Existing User-Defined Values According to Saved Query"
    Then Click on the button "Open Saved Query"
    It will open the Query Manager. Select the Saved Query.
    Enable the Option "Auto Refresh When Field Changes"
    In the Drop Down list, select the Value "Parent Item"
    Then Select the Option Refresh Regularly or Display Saved Values.
    This will automatically put the user code if the parent item is selected.
    You an achieve this by without SDK Code.
    PS:
    There is a change in the Above Query:
    Select USER_CODE from ousr where userid = $[USER]
    Edited by: Manikandan K on Dec 22, 2011 2:00 PM

  • Hide all the components in bill of material for all the transaction

    Hi experts
    I have requirement where my client does not want to share the bill of material details across the organisation. Hence they would not like to see bill of materials components details for particular set of materials.
    Also, when any material documents or any other related transctions are posted in those production order, they want that only authorized user should view those components of BOM.
    Please help me in this regards
    Let me know if my question is unclear.
    Thanks

    yes.. particular set means a group of materials but they do not have a common material group assigned to them in the material master.
    And as you mention, i need to do something in the mentioned transaction. How to do that..
    because there should not be any loop holes for any users to get the information to identify BOM.
    Regards

  • Able to Remove Bill of Material when there is existing Production Order

    Hi All,
    Is this logical?
    A bill of material (AAA) is created with a couple of components attached. Then production orders are raised against this Bill of Matierial (AAA). SAP B1 still allows user to delete the Bill of Material (AAA).
    According to the usual standard in SAP B1, the master cannot be deleted when there is document attached to it.
    How is this so?
    My version is SAP B1 8.8 SP 0 PL21
    Regards
    Jessie

    Hi Jessie,
    Yes, it is very logical, since SAP treat BoM not as a master data in usual way master data as you know. Keep in mind that even in BoM table, OITT and ITT1, SAP use the item master data code as a BoM code. If your finished goods is AAA, then the Code field in OITT and Father in ITT1 also same with AAA.
    Which means, it is the Item master data - Item code is the actual reference to Production Order. Try it by yourself, if you already assign AAA in Production Order, you can't delete it from Item master data. When you assign the item master data in production order as the finished goods, system actually only copy respective raw materials from BoM and copy it into the production order. Consider it as a template, not a transaction - master data relation.
    Best Regards,
    Hendry Wijaya

  • Bill of material related data.

    Dear experts,
    I want to know is their any standard  datasources to extract Bill of material related data(Material,Component) to BI.As the data in standard tables like MAST,STPO,STKO.
    Pts will be assigned.
    With Regards,
    Meiyappan

    Hi,
    Check these links:
    Hope these links would be of some help
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/40b8aeaa5bba4d9a81c7332119a4b4/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/6eeedf6d44f242902eafc361924026/content.htm
    Sasi

  • ME21N : account assignment mandatory for bulk material

    Dear guru.
    For a raw material used as bulk in production with material type ROH and quantity/value updating I need that when I create purchase order the system send an error message that account assignment is mandatory.
    I know that for an NLAG or UNBW material type the system send this message.
    For internal reason  I need to maintain material type ROH  with quantity/value updating , do you know a solution , any exit , in order to solve my problem  ?
    Thanks for you help.

    CONS  SAP wrote:
    Dear
    > I need that this component in the bill of material must be managed with position type L and I donu2019t want to do consumption movements.
    > I have verified that I can create a purchase order with account assignment for this material , I need only that the system send a message for these bulk materials.
    > Thanks.
    position type L means it is a inventory managed material.
    why do want the material to be inventory managed and at the same time dont want to record consumption movements?

  • CG37 - Error: No specification is assigned to the item material

    Hello,
    I have a problem in transaction CG37.
    I have created a BOM for a material A with the component B.
    The materials have been assigned to specifications (REAL_SUB) in EHS.
    However, when I start CG37 to execute a BOM to BOS transfer I get the following error message:
    "No specification is assigned to the item material B" (CM_BOMBOS037) even though the material is assigned to a specification.
    Your help concerning this problem would be much appreciated.
    Robert
    Edited by: Robert LOHMANN on Sep 28, 2011 6:04 PM

    Hello robert
    we are not using BOMBOS. But in my opinion the error message indicates that a "BOM" position does not have a "corresponding" REAL_SUB. As you may be know: you need ot make a "configuratoin" of the BOMBOS interface. In this you indicate which materials of which type should be analysed if or if not a REAL_SUb is there and if no REAL_SUB is there to create the REAL_SUB on the "fly".
    Refer may be to the "best practisese" of EHS or take a look here: http://help.sap.com/erp2005_ehp_05/helpdata/en/a7/288aa30a6c11d28a220000e829fbbd/frameset.htm
    chapter Bill of Material Transfer
    Edited by: Christoph Bergemann on Sep 28, 2011 8:12 PM
    Edited by: Christoph Bergemann on Sep 28, 2011 8:13 PM

  • BADI after Bills of material change.

    hi friend,
    I need the name of badi which is called after every change in bills of material for material.
    i,e In the TCODE CS02, after changing the quantity and given save, i need to send mail to concerned users intimating them about the change.
    I tried using the badi... BOM_UPDATE with the method...Change_at_save, but this method is called before the data is saved into database.
    ls help me in solving this.
    thank u in advance.....

    Hi,
    it's quite easy:
    Use FM CHANGE_POINTERS_CREATE_DIRECT to write change pointers. You need to define a own Z-message with WE81 and activation in BD50, a field assignment in BD52 is not necessary. Fill the MATNR into objectid, so you know what to search. Maybe the complete MAST key makes also sense.
    BP_EVENT_RAISE - look into the FM help to find the transaction to define own events. Just call this FM with MANDT, because events are cross-client - then your job can have a look, if the event was from correct (sy-mandt) client.
    Job planning is periodic, but not by time. There is a special option for the events - just have a look, it's quite obvios in SM37, you just have ignored this line up to now.
    In the job you select the new change pointer - if there is no change pointer, then wait and select again -> that is the delay for the booking of the transaction. Then you can access the BOM (maybe with a little bit waiting again).
    Set the change pointer status = X (FM CHANGE_POINTERS_STATUS_WRITE), so that you don't read pointers twice.
    Works good in most times - if you don't wait enough for one pointer, it will be handled with the next run a little bit later (weeks, if no one changes a BOM? You can schedule a daily job for this, too).
    Regards,
    Christian

  • Bills of material

    Dear SAP gurus,
    my client wants the unit of measure in bills of material is Kg. The have the quantities in mili grams too.. so they want justise to this issue. Pls help

    Dear,
    Please maintain the unit of issue in material master. Now when you add this material in the matrerial list in BOM you can enter this unit of issue.
    Ex. Base unit -
    KG.
    Or,
    Maintain the Conversion factor between Base unit of measure (Mill-GM) and Alternative Unit (KG) for that Material at Material Master (MM02).
    Assign the issue Unit as KGs at "Work scheduling View" or "General plant data View" of Material master (MM02)
    Now , alternative unit of measure (KG) will come automatically when include the Material as Component at BOM (CS02). (Material List)
    Regards,
    R.Brahmankar

  • Bills of material without plant.

    Hi,
    what is the impact to create a Bill of Material without Plant ?
    Best regards

    Hi,
    Special features of group BOMS:
    A plant check is not carried out for the materials in a
    group BOM.
    A group BOM is not exploded in material requirements
    planning and in the production order.
    Group bills of material are mainly created in the design
    phase and then later assigned to one or more plants for
    production.
    A collection of bills of material that lets you describe a
    product or a number of similar products.
    The following bills of material comprise a BOM group:
    All the variants of a variant BOM
    All the alternatives of a multiple BOM
    Regards

  • CO11N-in operation w/o material unable to find that material with 101 mvmt

    Dear PP Gurus N Experts,
    I have three operations in Routing, where all the material is consumed at First operation i.e. on second & third operation there is no MATERIAL CONSUMPTION.
    So, I have assigned the material on operation one. Here my all operations have Control Key PP01
    Now, my issue is: Material stock should update only at the confirmation of Third Operation. But when we go for confirmation of third operation (CO11N), we are unable to find that material with 101 movement at Goods Movement Screen.
    We tried to enter the material manually also but we get a message: Goods receipt items can not be entered.
    Why. Please help.
    With thanks,
    DSC

    Dear Bhupendra,
    What do you want to Say. Please read my original question: where I have mentioned-
    I have three operations in Routing.
    Where all the material is consumed at First operation i.e. on second & third operation there is no MATERIAL CONSUMPTION.
    So, I have assigned the material on operation one. Here my all operations i.e. (0010, 0020 and 0030)  have Control Key PP01.
    For Control Key PP01, Auto Goods Movement Indicator is Checked in OP67.
    Now, When I go for order confirmation for final (i.e. 0030) operation, here Order Material (say PMP1230) should appear with 101 Movement or as receiving material
    Which is not happening. In other words I am not getting any material.
    If I try to enter the material manually, get a message: Goods receipt items can not be entered.
    With thanks,
    DSC

  • Need help - Real time Bill of Material Cost

    Dear MM Experts,
    I would like to know how to generate real time Bill of Material Costs for FG products. As per the limited knowledge I have, this can be done only by running CK40N Cost Estimates. Is there any way to get this information for all FG-Products through tables without running the Standard Cost Estimate?
    Look forward to your feedback.
    Mihir

    Dear Jayaraman,
    If you want to give multiple materials as the input,then you can use T code CK40N,and
    execute the first 4 steps,and dont go for Marking & Release.
    That's 1.selection (we select the product for which we want to do costing),
    2.Structure Explosion.
    3.Costing(the system sums up the materials cost and operation cost and the other Cost).
    4.Analysis,Where here you will get the Standard Cost for multiple materials
    and you can analyse the same.
    Once if it's marked and released then Cost Rollup can't be carried out using CK40N or
    CK11N,so you have to reorganise the cost estimate using CKR1.
    Check & Revert back.
    Regards
    Mangalraj.S

  • How to create BOM(Bill Of Material) item data from flat file?

    I have two flat files one is BOM(Bill Of Material) header data and BOM item data. BOM header is already created, now I want to create BOM item data with reference to the header data. Is there any standard direct batch input method in LSMW or Is there any standard BAPI or Is there any standard BDC report program to do the task? CS01 is the TCode to create BOM.

    Hi,
    The DI program works for create step CS01 and not for CS02.
    Perhaps this ( adding items in header by Tx: CS02 ) could be achieved by a Recording step in LSMW.
    Best Regards, Murugesh

Maybe you are looking for

  • 9.5.2 won't work

    9.5.2 hangs and I just get the spinning wheel and have to force quit, I am running OSX 10.5.8

  • Mirror to apple tv

    my computer is unable to see my apple tv... my ipad is able to so is my ipod but not my macbook. its the macbook pro with mountain lion on it... i see the airplay symbol but no apple tv.

  • Back Button - Why does it go back a FRAME (framed pages) instead a PAGE ?

    In a "framed" site, the Back button causes the display going back one frame, following back goes back another frame, 3 framed page needs 3 backs to finally beeing back on previous page. Why ? Error in page setup or in handling of FF? Rgds Jordi

  • Typing text problem

    When I type random letters jump in. Upper and lower case changes, Stops typing altogether..Text disappears eg TFhje quic]k brown tfgox yjhumpS\ OVER TFJHE sla

  • Autopopulating PER_ALL_ASSIGNMENTS_F column fields depending on Job Id.

    Hi, Currently the following fields are getting populated in assignment form depending on the Position name. 1) Payroll 2) Salary Basis 3) Working Hours 4) Frequency Now our client want to disable the position field. They want to store these informati