Order bom creation

desr sir
while creating order bom in cu51 we are adding some bom manually.
we are facing one problem.the bom which we have added is not exploding in cu51.
we want to add or delete second level components inside that manually added BOMs
in cu41 we have maintained tick for maintain in order allowed
if same assembly is inserted in some other order bom ,it is exploding.
so in some order bom the manually inserted assembly is exploding and in some order bom it is not.we want to know why it is not exploding
please give some guidelines to solve this problem
thanking you
srinivas pai

desr sir
while creating order bom in cu51 we are adding some bom manually.
we are facing one problem.the bom which we have added is not exploding in cu51.
we want to add or delete second level components inside that manually added BOMs
in cu41 we have maintained tick for maintain in order allowed
if same assembly is inserted in some other order bom ,it is exploding.
so in some order bom the manually inserted assembly is exploding and in some order bom it is not.we want to know why it is not exploding
please give some guidelines to solve this problem
thanking you
srinivas pai

Similar Messages

  • Configurable Material as BOM component in SALES Order BOM

    Hi Gurus
    I have following
    1. Material ABC is a configurable material (variant)
    2. BOM of this ABC has further configurable materials
    Is it possible to maintain requried charasterstic of the compoents which are configurble at the time of SALES ORDER BOM CREATION.
    If yes, how. please explain.
    Thanks in advance
    sunil

    Dear Sunil,
    Please refer to the following link:
    http://sap-img.com/sap-sd/sales-bom-implementation.htm
    I will suggest you to visit  http://sap-img.com/sap-sd.htm. It will give you the overview of SAP SD module.
    Moreover there is a separate section of FAQs with answers which will help you in great deal.
    Do let me know in case of any queries.
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh

  • Sample bom creation and explosion in sales order

    hi,
         can any one help to create a simple bom with atleast one sub item for the bom and create a sales order in which the bom explodes ( i mean when u enter the main bom item it should list its sub items as its line item below it)...
    (also mention what item categories are to be taken care ... )
    rewards for sure
    thanks
    mmn

    Hi MMn,
    Bill of materials (BOM)
    1. In the SAP System, you can use BOMs to represent different objects (such as materials, equipment, functional location BOMs, and documents) and to maintain object-specific data.
    2. Document BOM: A complex document may be made up of several documents, such as a program, technical drawings, papers, and photographs. These related information and documentation objects are grouped together as a unit using a document structure – a BOM for a document.
    3. Equipment BOMs are used to describe the structure of equipment and to assign spare parts to equipment for maintenance purposes. Bills of material for functional locations group together the elements of a technical structure, such as the functional unit of an entire plant.
    4. You work with order BOMs when you specially tailor the make-to-order production of your products to the requirements of your customers. In order to meet the customer requirements, sales order specific modifications to various assemblies are often required. Furthermore, assemblies are often specially constructed for a particular sales order.
    5. Before you can create a BOM for the component parts of an object, the object must have a valid master record in your system.
    6. A bill of material that you create for a material is known as a material BOM in the SAP System. A BOM explosion answers the question: What is the product made of? This question arises in various situations, such as when you want to:
    Determine material requirements for a product
    Look at the overall structure of a product in a design department
    See an overview of the parts and materials required
    Calculate the effects of changes to costs
    7. BOM is a collection of materials that make up a product. For example – computer, home theatre system. Material BOM is complex and is dependent on sales and distribution, material management or production planning.
    8. The most important rule is that the material type has to be a FINISHED PRODUCT (FERT) in order to categorise it as a BOM.
    9. BOM processing is divided into two different ways – either at the MAIN item level if the item is assembled or at the sub-item level (i.e. at the component level) if the material is not assembled.
    10. BOM is configured at the item category level (VOV7) and transaction code to create a BOM is CS01.
    11. In case of single level BOM, main item categories TAQ and TAP should represent single level BOM in VOV7 and in case of multi level BOM, the main item categories should represent multi level BOM.
    Main item level processing
    1. The material master records should have the item category group ERLA in the sales org.2 screen of the finished product. In this case, the associated sub items function only as text items, and thus are not relevant for delivery. This process ensures that pricing, inventory control and delivery processing is carried out the header level that is for the finished product only. This is mainly relevant to the assembled products.
    2. item category group – ERLA; main item category – TAQ (schedule line – CP) and sub item category – TAE (schedule line – CT)
    Sub-item level processing
    1. If the business prefers to have the sub-items be responsible for pricing, inventory control and delivery processing, the item category group should be LUMF on screen sales org.2 of the respective material master record. This ensures that subcomponents are relevant for processing. This is relevant to the products that are not assembled.
    2. item category group – LUMF; main item category – TAP (schedule line is CT), sub item category – TAN (schedule line is CP)
    Multi-level BOM
    In order to activate the multi-level BOM, structure scope in VOV7 has to be changed from single level explosion to multi level explosion.
    Try this and revert back fr clearifications
    Reward Points if helpful.
    Regards
    Srini

  • Plant change in Sales Order not possible due to Sales Order BOM

    Hi all,
    we are trying to change the Delivery Plant in a Sales Order after the creation of a Sales Order BOM, but it gives a V1773 message first, then a blocking error V1810. The same happens with a Production Order.
    How can we change the Delivery Plant after the creation of one of these objects?
    Our scenario:
    - Make To Order
    - Sales Order BOM created with transaction CS61
    - Sales Order Routing created with transaction CA01
    We need to create the Sales Order BOM on the Production Plant (which doesn't change), but we need to be able to change the Delivery Plant in any time.
    Should you have further questions, feel free to ask.
    Thanks in advance,
    Giuseppe

    Hello Caselli,
    For V1773, please check the solution provided by note 588884, which is a modification. With this note it turns possible to delete all multi-level sales order BOM using transaction CSKB, which may be useful.
    The behavior mentioned by you is the standard behavior of the system. The scenario works as designed, a plant change is only possible as long as there is no other document assigned to the sales order.
    Longtext of V1 810 says:
    The plant can no longer be changed in the following situations:
        2. There is a production order for the order item but it is not a static assembly order.
    Your scenario seems to be point 2 as mentioned above. You can check the requirement type (VBAP-BEDAE) and requirement class in OVZH and assembly type (MNTGA) in OVZG.
    If you change the plant for the items with existing production orders, it will cause the incorrect values in the COPA. An order item is assigned to plant A and the corresponding production order exits. This
    means that the costs are assigned to plant A (this is the place where the costs accrue). Order and production order will be balanced at plant A.
    If you now, after the process has already started, should allow to change the order to plant B the following examples of problems will come up:
    - The costs accrued in plant A (see production order)
    - The SD order is now assigned to plant B, this means billing will be with plant B
    This leads to the fact the costs are on plant A, plant B has a benefit. Plant A cannot settle the costs and plant B has unexpected earnings. Inconsistencies in all involved process steps, SD, CO, COPA are the results.
    If you want to change the plant in the sales order you'll have to perform these steps:
    = Delete the production order.
    = Change the plant of the sales order item from A to C.
      This should be possible unless there are other documents which are already assigned to this sales    order item. Save.
    = Create a new production order and assign it to the sales order item again.
    I hope I am able to help you with this information.
    Best Regards,
    Bhavin Joshi

  • Problem in cs61 sales order bom

    Dear sir
    i created  sale order for  item 100  x matrial and item 200 y material ,sales order no 1234.for this sales
    order i want to create sales order bom by cs61 . when i create this the system should allows item 100 for x matrial and item 200 for y material for same sales order . but if  i give  material y for item  100 and material x  for  .200also the system allowing to create the sales order bom.this will effict the bom .
    so system should not allow to create the sales order bom when i give wrong material to item .
    pl give me correct solution for above problem
    regrds
    Baswa

    Baswa,
    when you create sales order BOM through CS61 its all together new BOM specialy meant for that sales order - material combination.
    To create it you can take referance of Material BOM , but there is no such functionality to restrict the componet changes or quantity changes.
    The CS61 its self is meant for creating customer specific BOM , which can be all together different from Material BOM. as in many business its required that , we need to modify our existing BOM on customer request to incorporate that customer specific changes. For all other things standard BOM is there in system and its not affected by this new customer specific BOM.
    If you need further help , discribe your need of creation of sales order BOM.
    Hope it helps you.
    Regards
    Ritesh

  • Express document "Update was terminated" in CS62 order BOM change

    Hi All,
    I am creating one sales order BOM with reference to Material BOM. While creating BOM, we have setup BOM creation in such a way that while creation BOM status will be inactive.
    While changing status to active using CS62 transaction, I am getting error Express document "Update was terminated" from author. And after BOM created in CS61 is getting deleted automatically.
    Regards,
    Sachin

    Hi,
    There could be a database related problem. Contact your Basis Pople.
    Regards,
    Siva

  • What  is use of  Item Category N(non-stock item) in BOM creation

    Dear Experts,
                       What  is use of  Item Category N(non-stock item) in BOM creation ?
    regards
    rajakarthik

    Hi,
    This item category is used for components which are not kept in stock if they are used in a bill of material (BOM). Non-stock items can be entered in the BOM with or without a master record. To enter a non-stock item without a master record, you must simply enter a descriptive text.
    When you use this item category, the system automatically creates a purchase requisition for these components,
    Special functions
    The following functions are supported for non-stock items
    • You maintain purchasing data for non-stock items in the bill of material.
    • In the planning run, the system generates purchase requisitions
    instead of dependent requirements for components that are procured directly. When you configure your R/3 System for MRP, you can define whether direct procurement is triggered by the planning run or by production order management.
    • Product costing processes take valuation data from the BOM item.
    The system determines the release strategy on the basis of the price data you enter. The material group is required to produce a purchase requisition.
    Pavan

  • Order BOM explosion in sales order

    Hi,
    Is it possible to explode order BOMS in sales order. If so how.
    Intially we are creating sales order. Then we are creating order BOMS. When i open the sales order after creation of order BOMs, order BOM should be exloded enable us to dispatch in staggared lots.
    regards,
    N. Laxman

    Hi,
    1) For the BOM to be exploded in the sales document the following customizing setting is required.
    A) If the item category group is ERLA the item category of the BOM is TAQ, in the definition of which we have to specify the value A (Explode single level BOM) in the structure scope.
    B) If the item category group is LUMF the item category of the BOM item is TAP in the definition of which we have to specify the value A in the field structure scope.
    Regards,
    Sheik

  • Order BoM Configuration

    In our business we use multi level configuration, as a result, when we use CU51 to manage Engineering to Order details on Sales Order BoM the lower level configuration is part of the CU51 activities.
    When we complete any actions in CU51 and save the order BoM, the lower level configuration is recreated on the date the order BoM work was saved.
    Example:
    Parent Material A and Child Material B - both configurable.
    When an order is created for A on 01/01/14 the configuration for the A and B is saved in order change documents for each material with a creation date of 01/01/14.
    Engineer completes Order BoM work 01/03/14 on material A, when Order BoM is saved the lower level configuration obtains new set of change documents for the configuration with a creation date of 01/03/14.
    Any subsequent changes made using Order BoM result in the configuration being re-created with new documents.
    Is there IMG settings or user exits or anything else that could possibly be used to keep the original date or use the date from CU51 initial screen?

    Thank you for replies,
    I checked it, in CU41order BOM was selected, it was configured the fert materials in MRP 3 VIEW, was also assigned the relation in CS40.
    Still in CU51, I am not able to enter into sales order BOM. The error was - Order BOM processing not possible - owner MARC not allowed.
    Here I am having 10 FG variants and 1 KMAT material, during sales order creation KMAT material will be repleced by FG variant by variant matching.
    With respect to SD module TAN - item category was selected.
    What about TAC, is there any diiference.
    Or is it any settings I have to maintain.
    Regards,
    B C Gudageri

  • Order BOM Cost Estimate

    I am working in an MTO environment i run order bom cost estimate immediately after creation of sales order. When I save the estimate, value against condition type EK02 gets update in sales order.
    As far I know EK02 is a statistical condition, value in the EK02  is not used in price determination however condition type EK01 is used in price determination.
    I want to understand that what happens when we save order bom cost estimate. And fields gets updated with this. And how the value in EK01 is used in price determination.

    Hi
    EK02 stores the Sales order cost estimate... The PGI and related goods movement happen at this value... This field helps you identify whether the PGI value posted in accounting docs is correct or not...
    Regards
    Ajay M

  • Production Order BOM change

    Dear Expers,
    How can i restrict the Production order BOM Change. Please tell me with the steps.
    Other than screen variant.
    Regards
    Raghu

    Hi,
    To do this you can use below mentioned processed.
    1. create a user status and give approval to the order at creation and the user will not be able to change any thing in the process order.
    2. You can use user exits to restrict changes changes at "materials" screen.
    Hope this will help.
    regards,
    kaushik

  • BAPI  for Order BOM

    Hi All,
    Is there any BAPI for Order BOM
    PLS can you help me
    thanks
    mars

    Hi,
    Check ds BAPI..
    BAPI_MATERIAL_BOM_GROUP_CREATE Creation of a material BOM group
    BAPI_MAT_BOM_EXISTENCE_CHECK   Check whether BOM for material exists
    CSUL                           CRM Upload of BOM Data
    BAPI_BOM_UPLOAD_SAVE           Main Module for BOM Update (Upload from CRM)
    Code_
    DATA: BEGIN OF i_bom OCCURS 0,
          matnr(18),
          werks(4),
          stlan(1),
          stlal(2),
          stktx(40),
          bmeng(16),
          menge(16),
          posnr(4),
          postp(1),
          meins(3),
          datuv(10),
          fmeng(1),
          idnrk(18),
          potx1(40),
          ausch(7),
          END OF i_bom.
    Extracting Document and Doc type for POSTP = D.
    DATA : BEGIN OF i_stpo OCCURS 1,
           doknr(25),
           dokar(3),
           posnr(4),
           stlnr LIKE mast-stlnr,
           END   OF i_stpo.
    Local work area
    DATA:  g_my_rec_in   LIKE i_bom.
    Declare internal table for Call Transaction and BDC Session
    DATA: i_bdc_table LIKE bdcdata OCCURS 0 WITH HEADER LINE.
                         Global Variables                                *
    DATA: g_counter(2) TYPE n,
          g_field_name(18) TYPE c,
          zc_yes  TYPE syftype VALUE 'X'.
                         Selection Screen                                *
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
    PARAMETERS: p_fname1 TYPE localfile .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-002.
    PARAMETERS: p_rloc1 AS CHECKBOX  DEFAULT 'X'.
    SELECTION-SCREEN BEGIN OF BLOCK c WITH FRAME TITLE text-005.
    PARAMETERS p_group(12) OBLIGATORY DEFAULT 'ZBOM'.
    SELECTION-SCREEN END OF BLOCK c.
    SELECTION-SCREEN END OF BLOCK b.
    SELECTION-SCREEN END OF BLOCK a.
    **WRITE the report header
    TOP-OF-PAGE.
      INCLUDE zheading.
                         Start of selection                              *
    START-OF-SELECTION.
    Load Input file
      PERFORM f_load_input_file.
    Create BDC records.
      PERFORM create_bdc_records .
    *&      Form  Create_BDC_records
          text:* perform the BDC for the records in the internal table
    -->  p1        text
    <--  p2        text
    FORM create_bdc_records .
      DATA: v_stlnr LIKE mast-stlnr.
      DATA: v_postp(1) VALUE 'D'.
      IF NOT i_bom[] IS INITIAL.
    Open BDC session
        PERFORM open_bdc_session.
        SORT i_bom BY matnr werks posnr.
        SELECT  SINGLE stlnr  INTO v_stlnr
        FROM mast
        WHERE    matnr = i_bom-matnr
         AND     werks = i_bom-werks.
        SELECT doknr dokar posnr stlnr
                    INTO TABLE i_stpo
                    FROM stpo
                    FOR ALL ENTRIES IN i_bom
                    WHERE postp = v_postp
                    AND   posnr = i_bom-posnr
                    AND   stlnr = v_stlnr.
        SORT i_stpo BY posnr stlnr.
        LOOP AT i_bom.
          g_my_rec_in = i_bom.
          READ TABLE i_stpo WITH KEY posnr = i_bom-posnr
                                     stlnr = v_stlnr
                                     BINARY SEARCH.
          AT NEW matnr.
            CLEAR i_bdc_table[].
            PERFORM insert_screen_header.
          ENDAT.
    Setting up counter for 20 line items
          IF g_counter = 20.
            g_counter = 1.
          ENDIF.
          PERFORM bdc_field  USING 'BDC_OKCODE'
                                        '/00'.
    *next screen
          PERFORM bdc_dynpro USING 'SAPLCSDI' '0140'.
          PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29P-FMENG(01)'.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
          CONCATENATE 'RC29P-POSNR('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-posnr.
          CONCATENATE 'RC29P-IDNRK('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-idnrk.
          CONCATENATE 'RC29P-MENGE('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-menge.
          CONCATENATE 'RC29P-MEINS('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-meins.
          CONCATENATE 'RC29P-POSTP('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-postp.
          CONCATENATE 'RC29P-FMENG('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-fmeng.
    *next screen
          PERFORM bdc_dynpro USING 'SAPLCSDI' '0130'.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
    Check the Item category to direct the screen flow accordingly.
          CASE i_bom-postp.
            WHEN 'B'.
              PERFORM item_text_insert.
            WHEN 'Z'.
              PERFORM item_text_insert.
            WHEN 'T'.
              PERFORM item_text_insert.
            WHEN 'N'.
              PERFORM bdc_field   USING 'BDC_CURSOR' 'RC29P-AUSCH'.
              PERFORM bdc_field   USING 'RC29P-AUSCH' i_bom-ausch.
    next screen
              PERFORM item_text_insert.
    *next screen
              PERFORM bdc_dynpro  USING 'SAPLCSDI' '0133'.
              PERFORM bdc_field   USING 'BDC_OKCODE' '/00'.
              PERFORM bdc_field   USING 'RC29P-EKORG' ' '.
            WHEN 'D'.
              PERFORM bdc_field   USING 'RC29P-DOKNR' i_stpo-doknr.
              PERFORM bdc_field   USING 'RC29P-DOKAR' i_stpo-dokar.
    next screen
              PERFORM item_text_insert.
    When POSTP = X, L.
            WHEN OTHERS.
              PERFORM bdc_field   USING 'BDC_CURSOR' 'RC29P-AUSCH'.
              PERFORM bdc_field   USING 'RC29P-AUSCH' i_bom-ausch.
    next screen
              PERFORM item_text_insert.
          ENDCASE.
          g_counter = g_counter + 1.
    next screen
          PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
          PERFORM bdc_field       USING 'BDC_CURSOR' 'RC29P-POSNR(01)'.
          PERFORM bdc_field       USING 'BDC_OKCODE' '=FCBU'.
          AT END OF matnr.
            PERFORM insert_bdc_new.
          ENDAT.
        ENDLOOP.
        CLEAR i_bom[].
        PERFORM close_bdc_session.
    Release the BDC sessions created
        PERFORM release_bdc.
      ENDIF.
    ENDFORM.                    " open_group
    *&      Form  bdc_dynpro_start
          Initialize the screen
         -->P_G_PROGRAM_1
         -->P_G_SCREEN
    FORM bdc_dynpro USING    p_g_program_1
                                    p_g_screen.
      CLEAR i_bdc_table.
      i_bdc_table-program  = p_g_program_1.
      i_bdc_table-dynpro   = p_g_screen.
      i_bdc_table-dynbegin = 'X'.
      APPEND i_bdc_table.
    ENDFORM.                    " bdc_dynpro_start
    *&      Form  bdc_field
           Insert field                                                  *
    FORM bdc_field USING f_name f_value.
      CLEAR i_bdc_table.
      i_bdc_table-fnam = f_name.
      i_bdc_table-fval = f_value.
      APPEND i_bdc_table.
    ENDFORM.                    "bdc_insert_field
    *&      Form  open_bdc_session
         Open the BDC session
    FORM open_bdc_session .
    Open BDC session and creat and update condition records
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client                    = sy-mandt
          DEST                      = FILLER8
          group                     = p_group
          HOLDDATE                  = FILLER8
          keep                      = 'X'
          user                      = sy-uname
          RECORD                    = FILLER1
          PROG                      = SY-CPROG
        IMPORTING
          QID                       =
    EXCEPTIONS
       client_invalid            = 1
       destination_invalid       = 2
       group_invalid             = 3
       group_is_locked           = 4
       holddate_invalid          = 5
       internal_error            = 6
       queue_error               = 7
       running                   = 8
       system_lock_error         = 9
       user_invalid              = 10
       OTHERS                    = 11
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " create_bdc_session
    *&      Form  insert_screen_header
          Insert the Header data into the screens
    FORM insert_screen_header .
      g_counter = 1.
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0100'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29N-STLAL'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'RC29N-MATNR' g_my_rec_in-matnr.
      PERFORM bdc_field  USING 'RC29N-WERKS' g_my_rec_in-werks.
      PERFORM bdc_field  USING 'RC29N-STLAN' g_my_rec_in-stlan.
      PERFORM bdc_field  USING 'RC29N-STLAL' g_my_rec_in-stlal.
      PERFORM bdc_field  USING 'RC29N-DATUV' g_my_rec_in-datuv.
    next screen
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0110'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29K-BMENG'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'RC29K-STKTX' g_my_rec_in-stktx.
      PERFORM bdc_field  USING 'RC29K-BMENG' g_my_rec_in-bmeng.
    *next screen
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0111'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29K-LABOR'.
    ENDFORM.                    " insert_screen_header
    *&      Form  insert_bdc
         Insert the BDC session
    FORM insert_bdc_new .
      CALL FUNCTION 'BDC_INSERT'
         EXPORTING
           tcode                  = 'CS01'
          POST_LOCAL             = NOVBLOCAL
          PRINTING               = NOPRINT
          SIMUBATCH              = ' '
          CTUPARAMS              = ' '
         TABLES
           dynprotab              = i_bdc_table
      EXCEPTIONS
        internal_error         = 1
        not_open               = 2
        queue_error            = 3
        tcode_invalid          = 4
        printing_invalid       = 5
        posting_invalid        = 6
        OTHERS                 = 7
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR i_bdc_table[].
    ENDFORM.                    " insert_bdc
    *&      Form  close_bdc_session
          Close the BDC session
    FORM close_bdc_session .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
           EXCEPTIONS
                not_open    = 1
                queue_error = 2
                OTHERS      = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " close_bdc_session
    *&      Form  f_load_input_file
         Load the file into the Internal table
    FORM f_load_input_file.
      IF p_rloc1 = zc_yes.
        CALL FUNCTION 'WS_UPLOAD'
             EXPORTING
                  filename                = p_fname1
                  filetype                = 'DAT'
             TABLES
                  data_tab                = i_bom
             EXCEPTIONS
                  conversion_error        = 1
                  file_open_error         = 2
                  file_read_error         = 3
                  invalid_type            = 4
                  no_batch                = 5
                  unknown_error           = 6
                  invalid_table_width     = 7
                  gui_refuse_filetransfer = 8
                  customer_error          = 9
                  OTHERS                  = 10.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          STOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f_load_input_file
    *&      Form  release_bdc
         Release BDC session
    FORM release_bdc.
      SUBMIT rsbdcsub WITH mappe EQ p_group
                      WITH von EQ sy-datum
                      WITH bis EQ sy-datum
                      WITH fehler EQ '.'
                      EXPORTING LIST TO MEMORY
                      AND RETURN.
    ENDFORM.                    " release_bdc
    *&      Form  item_text_insert
          Repetitive code in the screen flow
    FORM item_text_insert.
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0131'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29P-POTX1'.
      PERFORM bdc_field  USING 'RC29P-POTX1' i_bom-potx1.
    ENDFORM.                    " item_text_insert
    Reward If Helpfull
    regards,
    Mehul

  • Varient configuration order bom

    can we change the order bom created during sales order creation through varient configuration without ECM activities?
    thanking you
    srinivas

    You mean "Selected Sheet Weight" in the configuration of the window when creating the production order or sales order ?

  • Sales order BOM configuration - CU51

    Hi,
    I am using with Variant configuration. I will be configuring the FERT into Sales Order for the characteristic.
    Then I tried for CU51 t code for BOM configuration (for adding or removing of materials for some special cases) in the sales order,
    But I am not able to do so, and I am getting an error as  -> Order BOM processing not possible - owner MARC not allowed
    In CHANGE CONFIGURATION PROFILE(CU42) for KMAT material I had given  -> Order BOM -> result oriented- in configuration parameters.
    Is there any settings is to be made
    Please your advices will be appreciated.
    Thank you.

    Thank you for replies,
    I checked it, in CU41order BOM was selected, it was configured the fert materials in MRP 3 VIEW, was also assigned the relation in CS40.
    Still in CU51, I am not able to enter into sales order BOM. The error was - Order BOM processing not possible - owner MARC not allowed.
    Here I am having 10 FG variants and 1 KMAT material, during sales order creation KMAT material will be repleced by FG variant by variant matching.
    With respect to SD module TAN - item category was selected.
    What about TAC, is there any diiference.
    Or is it any settings I have to maintain.
    Regards,
    B C Gudageri

  • BOM Usage and Sales order BOM

    Can some one bring our the difference between BOM usage in the creation of a material bom and a Sales order BOM - To be more specific, when you are creating a BOM using the tcode cs01, I get a field called BOM usage where I can select it as 5 and define it as relevant to Sales and Distribution. I can also create a BOM which is Sales order specific using CS61 tcode. what is the difference between the two? When will the bom created using CS61 explode and when will the other one explode?
    Thanks for your reply in advance....

    Hi
    while using the material in each dept. the usage differs so for that sap provided this function. for sales bom is used only sales and also that material already exist in the plant. and mm bom the material has to procure from the some third party that all functionality will control throgh the maitaning bom usage.
    further your explanation i give below info.
    Text
    BOM Usage
    Definition
    This key defines the area (such as engineering/design or production) where a BOM can be used.
    Use
    By setting various indicators, you can define the maximum configuration of the item status and define whether an item must be or cannot be processed in a particular area (such as production).
    Examples
    A material is used in the areas production and costing in a company. For each area, you maintain a separate BOM with different items:
    Production BOM:
    This BOM contains items that are relevant to production. These items are copied to the planned order. Dependent requirements are generated for them, and they are copied to the production order.
    Costing BOM:
    This BOM contains items that are relevant to determining the material costs of a product.
    When you calculate production costs using a quantity structure, the system automatically determines the BOM and all the BOM items that are relevant to costing, in order to calculate manufacturing costs.
    pls find the config table which will give u clear picture about bom usage.
    STLAN     PMPFE     PMPKO     PMPKA     PMPRV     PMPVS     PMPIN     PMPER     ANTXT
    1     +     .     .     -     -     -     .     Production
    2     .     +     .     -     -     -     .     Engineering/Design
    3     .     .     .     .     -     -     .     Universal
    4     -     -     .     -     -     +     .     Plant Maintenance
    5     .     .     +     +     -     -     .     Sales and Distribution
    6     .     .     +     .     -     -     .     Costing
    7     .     -     .     .     -     -     -     Empties
    8     -     .     -     -     -     -     -     Stability Study
    M     .     .     .     .     -     .     .     External Munitions Display
    Z     +     .     +     +     -     -     .     Rebranding Sales BOM (1:1)
    Thanks
    Regards
    Hari Shankar

Maybe you are looking for