Creation of Material BOM

Hi All,
I need to create a material BOM ,as in Transaction CS01, without any components.
Which function modules should i be using..
I have tried using CSAI_BOM_MAINTAIN and CSAP_MAT_BOM_CREATE but not with too much success
Thanks
Aviroop

Hi,
thanks for all your inputs. My requirement has somewhat changed over the last 24 hrs. What it stands as of now is that for a material and a plant there exists a bom (with items and sub-items).
I have to retrieve this data and create a new BOM for a different plant.
The first step would be to retrieve all the BOM data from STKO STPO and STPU. Is there any FM that would retrieve all these data
What FM would i then use to create a new BOM
Thanks
Aviroop

Similar Messages

  • Cideon / Autocad 2007 / Material BOM Creation from autocad

    Hi,
    we are using Cideon integration for AutoCad 2007 & SAP ERP communication. DIR's in DMS are created from AutoCad drawings via SAP menu.
    We want to create Material & Material BOM from AutoCad but we cannot see any option present in SAP menu. We can just create Header Material from SAP menu in AutoCad, no BOM option. What steps should be taken to enable material & bom creation from AutoCad SAP menu.
    Thanks
    Edited by: Rob Burbank on Oct 22, 2010 3:56 PM

    Moderator message - Welcome to SCN
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    In particular, offering points is against forum rules
    Rob

  • Creation Material BOM Time

    Dear Expert,
    How can I get the creation time for Material BOM while I can only get the creation date.
    Is there any idea?
    Thanks & B.Rgds
    Bishnu

    BOM creation time can not be found like some other document as Purchase Order.
    Only date can be traced out

  • 2 Material BOM creation

    Dear All,
    I want to create 2 material bom. please see the below details
    i have 1 raw material sheet for example 6 mtr metal sheet
    i want to produce 2 part from 6 mtr metal sheet that is one material is 3 mtr & seconde is 2 mtr & remaing 1 mtr is my scrap
    can you guide me, how to create two diffrence material bom in one bom
    so i can understand that 1 raw material = 2 diffrent product + scrap
    -SKP

    Create a material code for raw "6 mtr metal sheet"with material type ROH
    Create a material code for "2 mtr"  with material type Halb
    Create a material code for "3 mtr"  with material type FERT
    Create a material code for "scrap" with material type HALB
    Create a BOM
    Header material   "3 mtr"
    Component
    1)    "2 mtr" in -ve quantity
    2)   6 mtr metal sheet with + ve quantity
    3)   "scrap"  in -ve qty
    Maintain UOM as Meter or KG as per your requirement
    When You confirm and  Production, Do the GI and GR
    While goods movemnt
    system will do the GR " 3 meter" with movement type 101
    system will receipt the 2 mtr & scrap with movement type 531
    system will do the GI ' 6 mtr metal sheet" with movement type 261
    Regards,
    Sundaresan

  • What are the mandatory fields while creation of material master in differen

    what are the mandatory fields while creation of material master in different views?

    Hi Gopi,
      This is purely depends on the function configuration, which would be done MM consultants.  Kindly check with them.
    thanks & regards
    Kishore Kumar Maram

  • Automatic creation of Material Master at the time raising the PO !!!

    Hello All,
    I am stuck in a scenario of our client which should be implemented (or mapped) in SAP.
    Scenario: At the time of creating the PO (in there legacy system -in house developed) they can choose the items from the existing master data or/and they can also add a new item (which is not present in the master data records at the time of creating the PO).
    Now as soon as the system realise that a new item is inserted into the PO, it will create that item record automatically in the backend (database) and the master data will be present from there on.
    The items they are dealing with are all fashion accessories and they generate order on the following basis:
    1. Demand of particular item in market.
    2. List of items provided by the vendor.
    3. Based on the requirement in there outlets.
    So for them its very difficult to fix there master data records, as it can be changed daily or monthly as per the market conditions. At the same time every time they order, its almost around 100 different items (some time 80 of them are new) in a single PO so they cannot create 80 records manually each time.
    These items are not consumable material so obviously they are maintaining the stock for them. They are also not going to use IS Retail.
    I am not at all sure how can we map this particular practice in SAP, it would be really appreciated if any one could help me on this problem.
    Please let me know if you need any other details from my side.

    Hi,
      As you have two different systems one in house developed and another SAP, and the PO creation part starts from Legasy system which creats the PO in SAP, you can do some development as per below
    1:  While Passing the details from legasy to SAP, use two columns in legasy one will contain the Material Code of ECC (for laready exist material ) and another for deescription of material.
    2: In case material is new for which there is no material master in ECC pass only description from legasy systems.
    3:While getting triggred from Legasy to ECC to create the PO, first check whehter all the material code exists or not in ECC.
    4:If some material are not created (only description present) for those material first create the Material Code using BAPI 'BAPI_MATERIAL_SAVEDATA'.
    5: Aftre creation of Material code create the PO using BAPI ' BAPI_PO_CREATE1'.
    6:For the new created material , trnasfre the master record from ECC to Legasy systemso that next time user can see that material in your legasy system.
    Regards,
    Zafar

  • Creation of material master

    Dear all,
    While entering of MM01, MM02, MM03 T codes, The system showing the error message - "Record Y1 01 does not exist in Table T133A" - for this what do I do, Plz suggest.
    reg
    Vishnu.Ch

    Hi Madhu,
        Thanks for your reply. But, I have one more doubt. For non stock materials, we
    will specify the cost centre and G/L account at the time of creation of Purchase order. Then, do we have to specify the valuation class at the time of creation of
    Material Master since there is no automatic account determination?
    Regards
    Yoga

  • MARA-GEWEI is not overtaken during creation of material from cdesk

    Hi, we work in ENV SAP R3 4.71 and create material in background out from
    cdesk.
    Therefore we defined in the customizing of CAD Desktop that in case of
    creation of material MARA-GEWEI determination type = constant and
    determination parameter is "ST" for "piece"
    Every other parameter works fine during creation of material ==> as soon as
    we fill a weight into the corresponding fields SAP tells us a message
    "ENTER the unit of weight for the net weight" ==> if you press "continue action then" SAP ends creation of material an nothing happens....
    ANY ideas?
    (will enter this message for sure as well into the oss....)

    Hi  Gerhard,
    have u put
    EXP_MARA-BRGEW           Gross weight
    EXP_MARA-NTGEW            Net weight
    from Inv side in config...
    Also check in cdesk_cus under create material
    <b>Base Unit of Measure               Constant     ST
    Net Weight               File Attribute     Physical_Properties_MassValue</b>
    hope this helps

  • How to change the header of Material BOM in a program for alternative BOM ?

    Requirement: An Inbound IDOC creates /change/delete Alternative Material BOM. The Alternative Material BOM can have alternative values from 1 to 99.
    ISSUE: I am good with CREATE and DELETE BOM. The issue is with CHANGE of header Material BOM. The fields which we need to change in the header is the base quantity, BOM status, Lot Size from and Lot Size to. Please note that I am able to change the item details of the BOM with FM CSAI_BOM_MAINTAIN. I find no FM /BAPI which would change the header of a material BOM.
    Please NOTE that I am using BAPI_MATERIAL_BOM_GROUP_CREATE to create alternative Material BOM. This has a parameter in TABLES called "VARIANTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL .Also ,there is another parameter in TABLES called "ITEMASSIGNMENTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL which implies this FM will allow us to change the BOM. But this does not work when I use it for CHANGE scenario with CHG value. I debugged this BAPI and observed it requires a STNLR(Bill of Material) value . This field is not there in any of the structure. I am not sure if I am passing the right parameters to it.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?
    Here is the code I am using:
    *& Report  ZTEST_S_E
    REPORT  ZTEST_S_E.
    * This code will create a material BoM for the material
    * MAINMATERIAL with the components COMPON1 and COMPON2.
    * Data Declaration
    DATA:
    it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
    it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
    it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
    it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
    it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
    it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    * Fill the data
    * Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BOM'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'. " YOU COULD CHANGE THE BOM USAGE TO YOUR
    *NEEDS
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    * Header Details of the different variants
    CLEAR it_variants.
    it_variants-CHANGE_NO  = '500000000349'.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '2.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'CHG'.
    APPEND it_variants.
    * Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_itemas-change_no = '500000000138'.
    it_items-item_no = '0020'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '3'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    * Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = '030790490'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    * Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'CHG'.
    APPEND it_itemas.
    * Create variants
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    all_error = 'X'
    TABLES
    bomgroup = it_bomgroup
    variants = it_variants
    items = it_items
    materialrelations = it_matrel
    itemassignments = it_itemas
    return = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
    WRITE:/ it_return-type, it_return-id, it_return-number,
    it_return-message.
    ENDLOOP.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?

    Try doing something like this:
    class MyJTextArea extends JTextArea {
        public boolean keyDown(Event evt,int key) {
            if(key == 13 || key == 10) { // or whatever ascii codes enter may have
                // move carret to next line
            } else {
                super.keyDown(evt, key);
    }which means you have got to catch the enter-key before the actutal JTextArea does this.
    p.s. look at my post, maybe you can help me, too.
    http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100

  • Creation of Material Master for a material with Material Type NLAG

    Hello Sirs,
         I have to create a material which will be consumed directly. I would use the
    material type NLAG (Non stock material). If I create a material with this material type, will it contain an Accounting view where in I can maintain the price of the
    material? If it contains an Accounting view, which type of Price control should be
    used (Moving average or Standard)? Further, can we maintain an info record for
    a material with material type NLAG?How the price updation happens?
    Regards
    Yoga

    Hi Madhu,
        Thanks for your reply. But, I have one more doubt. For non stock materials, we
    will specify the cost centre and G/L account at the time of creation of Purchase order. Then, do we have to specify the valuation class at the time of creation of
    Material Master since there is no automatic account determination?
    Regards
    Yoga

  • Creation of material Documents for RMPM adjustments using BAPI

    Hi
    can any one help me Creation of material Documents for RMPM adjustments using BAPI...
    i should be grateful to you...
    advance thank you
    with regards
    venkat

    You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

  • Creation of Material using BDC Session method & global class

    Hi
    Creation of Material using BDC Session method & global class by using oops.
    can anyone plz help me out

    Hi,
    it looks like it's not possible to call this BAPI wihtout material number. Here is a quote from BAPI documentation.
    When creating material master data, you must transfer the material
    number, the material type, and the industry sector to the method. You
    must also enter a material description and its language.
    Cheers

  • Creation of Material from SAP VIEW using CDESK.

    Hi  Experts,
    I have one question related to creation of Material from SAP View.
    CAD file created say SM1000.prt
    Create DIR in CAD View say SM1000
    Scenario 1 :   Create Material in Background from CAD VIEW or SAP VIEW from cad desktop, It creates material SM1000
                               in background.
    Scenario 2 : Open CDESK ( Transaction)
                            Click on OPEN,
                            Selecting the DIR created SM1000
                            Create the material in background in SAP View, it gives message " enter material number"
    Why am not able to create the material from SAP view using CAD Desktop. If any modifications needs to be done in CDESK CUS to solve this please let me know.
    Thanks,
    Sudharshan

    Hi Sudharshan,
    maybe the reason for this is that your CAD applications provides a special material number and the customizing in CDESK is defined to use this number. In this case the number or value can by provided from the CAD application only from the CAD View.
    In the SAP view the material gets created like in MM01 for example and so mabye you have to enter a material number.
    Best regards,
    Christoph

  • Creation of Materialized view and Materialized view log.

    I wanted to create materialized view with 'REFRESH FAST ON COMMIT' option.
    1) Table1 --it is partitioned range + list -- Added primary key
    2) view1   -- having primary keys on view's base table
    Steps:
    1) create materialized view log on Table1 ; -- default primary key
    2) create materialized view log on view1.  --- It is giving below error.
    ORA-00942: table or view does not exist
    i wanted to create Materialized view like below
    create materialized view
    REFRESH fast ON commit
    as
    select ...
    ... from table1
    where c1 in (select c1 from view1 where ... );
    Question:
    1) As i am getting above error while creating MV log on view. Can we create MV log on view or we have to create MV log on view base table?
    2) To create MV with ''REFRESH FAST ON COMMIT' option , do we need to have primary key on master tables? 
    Any pointers on this will really helpful.
    Thanks
    Prasad

    Also created MV LOG on 3 tables and tried with joins ..
    create materialized view
    REFRESH fast ON commit
    as
    select ...
    ... from table1 , tab2 t2,tab3 t3
    where ....
    and ...
    Get same error ORA-12052: cannot fast refresh materialized view AVSYS.EVENT_LOG_MV
    2052. 00000 -  "cannot fast refresh materialized view %s.%s"
    *Cause:    Either ROWIDs of certain tables were missing in the definition or
               the inner table of an outer join did not have UNIQUE constraints on
               join columns.
    *Action:   Specify the FORCE or COMPLETE option. If this error is got
               during creation, the materialized view definition may have be
               changed. Refer to the documentation on materialized views.

  • Creation of materialized view

    Hi All,
    We had created some other materialized view with for small set of data. The materialized view name is ‘XXCA_PAGL_RECON_GL1_TRANS_MV’ and it has created a table with the same name.
    What I am unable to understand is that the new table which was created by the system during the creation of materialized view is in VALID state but the materialized view is in INVALID state.
    Please help me to understand this process.
    Thanks in advance
    Venkatesh

    The column dba_objects.status for mviews is set to INVALID when the base tables are updated. See Metalink note 454552.1. It is normal.
    Edited by: YasinBaskan on Feb 17, 2009 2:07 PM

Maybe you are looking for

  • T CODE FOR OPEN PERIOD.

    Dear all Guru's                                 I know that for closing period the T.CODE is MMPV , Pl tell me that wat is the code for opening period . & also suggest wat is to enter when using MMPV & ( T CODE for opening period. rewarded if helps.

  • Is apple going to fix the magic trackpad issue with Autocad zoom/pan soon? It only started happening when I updated to Yosemite

    is apple going to fix the magic trackpad issue with Autocad zoom/pan soon? It only started happening when I updated to Yosemite I am using macbook pro 15" Retina

  • How can i find out total no of sunday in the year

    Hi Experts, how can i find out total no of sunday's in the particular year. please can any one help how can i do that Regards, Arun

  • Apps that were purchased that I did not want.

    I recently downloaded the free Netflix app for my iPhone 4, and there seemed to be nothing out of the ordinary. However, later on I noticed that there were three other apps that I never purchased, and were randomly added. One was free, but the others

  • GR without PO

    Hi Gurus, This is the scenario My client has MTO scenario.Sometimes for some rush Orders, client procure the material without raising a PO. Client just inform the potential vendor and make the GR without PO. My question is in SAP, Mov type 501 is use