Costing of Alternative BOMS

We have 4 alternative BOMs for a FG code. Accordingly we have created 4 Production Versions. If we post production against each of these production versions, how the costing and valuation will be done.
kindly reply

Hi Girish,
It's not only the SAP Technical configuaration we need to  consider. We need to look into how best the business process / requirements can be mapped into SAP.
Incase of multiple Prod Versions,
Generally every company will have Annual Production Plan. Let's say for a specific FG, which can be produced using alternative combinations of BOM and Routing (PV's).
When you run Std Cost Estimate for any SFG / FG, system by default will pick the Prod Version 1 for Costing (if you don't follow Mixed Costing).
But, as you said, for example, you released the Std Cost using PV1 which is Rs 100. Now, in Actual production, you are using PV2 and the Cost is Rs.200, so, there is a considerable amount of variance (which could have been avoided if you had released Std Cost Estimate using PV2).
So as to avoid such undesirable variances (like in above scenario), Mixed Costing is used, where in, once you maintain the Procurement Alternatives and Mixing Ratios for the FG, when you run the Std Cost Estimate, system will calculate the "Weighted Average" cost of all the 4 Prod Versions (based on the Mixing ratios you maintained).
So,  this helps us to reduce the Variance that gets posted what ever may be the PV used for actual production.
Hope this clarifies..
Ajay, waiting for your comments / additional contribution if any...
Regards
Srikanth Munnaluri
Edited by: Srikanth Munnaluri on Oct 6, 2010 5:31 AM
Edited by: Srikanth Munnaluri on Oct 6, 2010 5:32 AM

Similar Messages

  • Costing run for a material with alternative BOM

    Hi Friends,
    My requirement is to have product costing for a material with 3 different BOMs, in CK11N i can change the alternative BOM number to have costing run for 3 differesnt boms, but in ck24 how to proceed, My client requirement is such that the standard price should be the average price of the costing run from 3 different boms, and they are not interested in manual price change in MR21
    Regards,
    Arun Kumar R V

    Hi Arun,
    You can have a Standard cost estimate based on only one of the alternative BOM and Routing. This alternative is selected based on the business ie., whichever alternative is generally used in production frequently. This will be the std cost and whenever you do the production using the other alternatives, the difference in cost will be captured as Variance.
    There is no option of having average or cost estimate for each alternative at the same time.
    There is absolutely no use in maintaining price in MR21 for an in house produced material, since during Prod Order process the planned costs will be arrived at based on the quantity structure of BOM & Route only.
    Thanks & Regards,
    Vijaya Bhaskar A
    Edited by: Vijaya Bhaskar A on Jan 7, 2009 8:57 AM

  • Costing for Alternative Parts

    Dear Expert,
    There is a requirement for costing run with BOM which contains alternative parts.
    For example, in CA01, BOM is maintain as such,
    Part A which is quantity 1 pcs, alternative item group B, priority 1, usage probability 50%
    Part A-1 which is quantity 1 pcs, alternative item group B, priority 1, usage probability 50%
    when explode the BOM using CS12 and during running of backflush,
    Part A shows 0.5 pcs
    Part A-1 shows 0.5 pcs
    However, for cost estimate,
    Part A shows 1 pcs with cost RM 1
    Part A-1 shows 1 pcs with cost RM 1.5
    and the cost had been encounter twice (total = RM 2.5) where this is incorrect.
    It should be as following:
    Part A shows 0.5 pcs with cost RM 1
    Part A-1 shows 0.5 pcs with cost RM 1.5
    and total cost = RM 1.25
    I had searched through the forum, most of the forums recommend on mixed costing.
    However, this will require to maintain 2 BOM, 2 production version and some configurations.
    Is there any other way to run 1 cost estimate which is able to pick up the ratio just like backflush?

    Hi
    Did you think of maintaining the BOM itself as 0.5 Qty for A and 0.5 qty of A1 and hence no need to maintain the usage probability of 50% separately?
    I am thinking of other options for you.... Mixed costing is one option, which I guess you are not interested in
    Let me think of other options too
    I tried just now as below and it worked
    1. CS01 - Double clicked on the BOM Items
    2. Maintained Alt Item Group as B, and entered Priority =1, Usage = 50% and Strategy = 1..
    3. I saved the BOM.. Now I can see Alt Item Group B in the components screen of CS02 against the component
    After that I executed CK11N.. It picked up the cost in 50-50 ratio as expected
    Refer screen shot http://img703.imageshack.us/g/91907538.jpg/
    Br, Ajay M
    Edited by: Ajay Maheshwari on Feb 25, 2011 3:56 PM

  • Cost of Production BOM in Prodcution Order

    Hello Experts,
    Here is scenario that i need help :
    Assume that we have a Production BOM with two components with a price of $10 in the pirce list :
    Parent Item: A0001 ( Price of A0001 is $10)
    Components  : A0002,A0003   ( Price of A0002 is $0 and Price of A0003 is $10)
    When we create a prodcution order for A0001 with a quantity 1000 and close , i noticed that in the summary tab of Prodcution Order and noticed that Actual component cost : $10,000 and Actual cost : $0 and Total Variance : $10,000.
    Due to this there is variance in Prodcution Clearing Account. Could you please help me a right approach on how to enter correct cost for Production BOM.
    Any help will be appreicated.
    Thanks,
    Praneeth

    Resolved

  • Critical Issue: Availabilty check & alternative BOM selction issue

    During the upgradation project I'm working facing the following critical issues:
    1)While creating the sales order, system carries out the availability check in APO.In material master checking group Z5 is defined.
        Actually I want to know hw the system carries out the search in APO & what are the settings in R/3 or APO we have to make?
    2)Suppose there are 3 alternative BOM's of a finished product.A requirement is while creating the sales order availabilty check should be carried out & system should check the availability of components on the required date.If the component is not avalable system should go & check the second alternative...third alternative until it gets the confirmation of component availability.
         How we can set this functionality & what are the prerequisites or customisation settings we needs to make?
        Would appreciate providing your inputs on this critical issue.
    Thanks,
    Nilesh<b></b>

    Before you understand how the APO Availability Checking concept works, I would suggest you understand about the regular R3 availability checking. As this is the core for the SD and APO GATP. Refer help.sap.com
    Question 1:
    <b>Settings in R3:</b> You have the ATP integration model in CFM1 transaction. You need to activate this just one time and never again. what this does is basically transfer all your availability checking customizing to APO.
    All the settings for the Availability Checking group ( Z5, etc) are already maintained in R3 and they get transferred to APO by the integration model. You donot need to anything else.
    <b>Settings in APO:</b>
    If you are using <b>Product Allocation Concept</b>, You have to maintain the Check Instructions.... Otherwise there are no other settings in APO
    <b>Availability Check in APO :</b>
    ( see the following blog for the requirements class( Name in R3) or check mode( Name in APO) determination http://solution-timezone-issue.blogspot.com/ )
    The check mode and the business event( These are hardcode internally in R3 - For SD- A) are determined from the order and based on this in APO it follows the following order
    (1) Reads the check instructions settings in APO
    For example say the following have been determined from the SD Order : Check Mode 041 and  Business Event A
    Say we have maintained in APO that the first step is Availability Check and all the other two steps we havent maintained or left blank ( Product Allocation and Forecast)
    Look for the customizing in APO
    SPRO>APO>GATP>General Settings>Maintain Check Instructions ****
    (2) Carries out availability Checking same as in R3 and no different
    From the masterial master considers the availability checking group ( Ex: Z1) and the business event( SD transactions- A)
    Very Important and the core of availability checking which is similar in R3 and APO***
    Against these 2 combinations, the settings are checked which define what stock and in/outward movements are to be considered during the availability check
    For customzing settings in APO
    SPRO>APO>GATP>Maintain Check Control>
       For Customizing in R3
    SPRO>Sales and Distribution>Basic Functions>Availability Check and transfer of requirements>Availability check with ATP logic or planning>Carry out control for availability check
    This is the answer to your first question.
    Your second question would need some time  and I will try to answer it as well.
    Hope this helps you..

  • Reg: Creation of BOM along with Alternative BOM

    Hi Experts,
    I have written the below code for creating BOM along with Alternative BOM, I'm getting the following error.
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=
    A BAPI1080             002
    Basic data for (BOM) group available twice
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=
    A BAPI1080             002
    Basic data for (BOM) group available twice
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    Please find the piece of code below.
      SORT it_bom01 BY matnr idnrk posnr ASCENDING.
      LOOP AT it_bom01 INTO wa_bom01.
        AT NEW matnr.
          CLEAR:
            it_bomgroup[],
            wa_bomgroup,
            it_variants[],
            wa_variants,
            it_items[],
            wa_items,
            it_matrel[],
            wa_matrel,
            it_itemas[],
            wa_itemas,
            it_return.
        ENDAT.
    * Material BoM Group Header Data
        wa_bomgroup-bom_group_identification = 'IDENTIFICATION'.
        wa_bomgroup-object_type = 'BGR'.
        wa_bomgroup-object_id = 'ID'.
        wa_bomgroup-bom_usage = wa_bom01-stlan.
        wa_bomgroup-ltxt_lang = sy-langu.
        wa_bomgroup-technical_type = ' '.
    *   wa_bomgroup-bom_text = .
        wa_bomgroup-created_in_plant = wa_bom01-werks.
        APPEND wa_bomgroup TO it_bomgroup.
    * Header Details of the different variants
        wa_variants-bom_group_identification = 'IDENTIFICATION'.
        wa_variants-object_type = 'BOM'.
        wa_variants-object_id = 'ID'.
        wa_variants-alternative_bom = wa_bom01-stlal.
        wa_variants-bom_status = wa_bom01-stlst.
        wa_variants-base_qty = wa_bom01-bmeng.
        wa_variants-valid_from_date = wa_bom01-datuv.
        wa_variants-alt_text = wa_bom01-alt_text.
        wa_variants-function = 'NEW'.
        APPEND wa_variants TO it_variants.
    * Details of the items of the variants
        wa_items-bom_group_identification = 'IDENTIFICATION'.
        wa_items-object_type = 'ITM'.
        wa_items-object_id = 'ID'.
        wa_items-item_no = wa_bom01-posnr.
        wa_items-item_cat = wa_bom01-postp.
        wa_items-component = wa_bom01-idnrk.
        wa_items-comp_qty = wa_bom01-menge.
        wa_items-valid_from_date = wa_bom01-datuv.
        APPEND wa_items TO it_items.
    * Details of the materials of the different variants
        CLEAR it_matrel.
        wa_matrel-bom_group_identification = 'IDENTIFICATION'.
        wa_matrel-material = wa_bom01-matnr.
        wa_matrel-plant    = wa_bom01-werks.
        wa_matrel-bom_usage = wa_bom01-stlan.
        wa_matrel-alternative_bom = wa_bom01-stlal.
        APPEND wa_matrel TO it_matrel.
    * Linking items to the corresponding variants
        CLEAR it_itemas.
        wa_itemas-bom_group_identification = 'IDENTIFICATION'.
        wa_itemas-sub_object_type = 'ITM'.
        wa_itemas-sub_object_id = 'ID'.
        wa_itemas-super_object_type = 'BOM'.
        wa_itemas-super_object_id = wa_bom01-matnr.
        wa_itemas-valid_from_date = wa_bom01-datuv.
        wa_itemas-function = 'NEW'.
        APPEND wa_itemas TO it_itemas.
        AT END OF matnr.
          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.
        ENDAT.
      ENDLOOP.
    Thanks and Regards,
    Abdur Rafique

    Hi Sree,
    I used your code, I removed the levels because, i have only one level 'the lineitems'. Please find the modified code below. I'm not able to create the BOM, it throws an error as "BOM is recursive". I checked the header and item contents before passing to FM, it is correct.
    Please help me with the solution.
    REPORT  zbom_sdn.
    TYPE-POOLS: truxs.
    DATA: bom_header     LIKE cad_bicsk,
          bom_item       TYPE TABLE OF  cad_bom_item WITH HEADER LINE,
          bom_sub_item   TYPE TABLE OF cssubitem WITH HEADER LINE,
          dms_class_data TYPE TABLE OF cls_charac  WITH HEADER LINE,
          sap_field_data TYPE TABLE OF rfcdmsdata  WITH HEADER LINE,
          e_return       LIKE cad_return-value,
          e_message      LIKE message-msgtx,
          e_message_len  LIKE cad_return-message_len.
    DATA v_item  TYPE i.
    TYPES : BEGIN OF ty_data,
             matnr TYPE cad_bicsk-matnr," Material
             werks TYPE csap_mbom-werks," Plant
             stlan TYPE csap_mbom-stlan," BOM Usage
             datuv TYPE csap_mbom-datuv," Valid From
    *         posnr TYPE stpo_api03-item_no," Item Number
             idnrk TYPE stpo_api03-component," BOM Component
             postp TYPE stpo_api03-item_categ," Item category
             menge TYPE cad_bom_item-menge," Quantity
             bmeng TYPE stko_api01-base_quan," Base Qty
             stlst TYPE stko_api01-bom_status," BOM Status
             stlal TYPE csap_mbom-stlal," Alternative BOM
             alt_text TYPE stko_api01-alt_text," Alternative BOM text
            END OF ty_data.
    DATA : it_data TYPE TABLE OF ty_data ,
           wa_data TYPE ty_data.
    DATA:   wa_raw TYPE truxs_t_text_data.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    PARAMETER : p_file TYPE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          program_name  = syst-repid
          dynpro_number = syst-dynnr
        CHANGING
          file_name     = p_file.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
           EXPORTING
    *       I_FIELD_SEPERATOR          =
             i_line_header              = 'X'
             i_tab_raw_data             = wa_raw     " Work Table
             i_filename                 = p_file
           TABLES
             i_tab_converted_data       = it_data[]  " Actual Table
           EXCEPTIONS
            conversion_failed          = 1
            OTHERS                     = 2 .
      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: bom_header, bom_item, bom_sub_item.
      REFRESH: bom_item, bom_sub_item.
      DATA : v_lineitem TYPE sposn VALUE '0000',
             v_slineitem TYPE sposn VALUE '0'.
      LOOP AT it_data INTO wa_data.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-matnr
          IMPORTING
            output = wa_data-matnr.
    * fill BOM header
        CLEAR  bom_header.
        bom_header-matnr = wa_data-matnr. "'000000000200000016'.
        bom_header-stlal = wa_data-stlal. " Alternative Bom
        bom_header-werks = wa_data-werks.                       "'1000'.
        bom_header-stlan = wa_data-stlan.                       "'3'.
        bom_header-bmeng = wa_data-bmeng.
        bom_header-cadkz = 'X'.
        bom_header-stktx = wa_data-alt_text.
    *      bom_header-ztext = wa_data-text.
        bom_header-datuv = wa_data-datuv."'01.10.2010'.
    * fill item
        v_lineitem = v_lineitem + 10.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = v_lineitem
          IMPORTING
            output = v_lineitem.
    *    bom_item-upskz     = 'X'.     " If We hav the Sub items Enable it.
        bom_item-idnrk     = wa_data-matnr. "'000000000200000017'.
        bom_item-posnr     = v_lineitem.
        bom_item-postp     = wa_data-postp."'L'.
        bom_item-menge     = wa_data-menge.                     "'1'.
    *    bom_item-fmeng     = wa_data-fqty.
        APPEND bom_item.
        CLEAR: bom_item.
        AT END OF matnr.
          CALL FUNCTION 'CAD_CREATE_BOM_WITH_SUB_ITEMS'
               EXPORTING
                    i_bom_header   = bom_header
                    i_auto_posnr   = ''
               IMPORTING
                    e_return       = e_return
                    e_message      = e_message
                    e_message_len  = e_message_len
                    e_bom_header   = bom_header
               TABLES
                    bom_item       = bom_item
                    bom_sub_item   = bom_sub_item
                    dms_class_data = dms_class_data
                    sap_field_data = sap_field_data
               EXCEPTIONS
                     OTHERS         = 1.
          REFRESH bom_item.
          WRITE : e_message.
        ENDAT.
        CLEAR wa_data.
      ENDLOOP.
    Thanks and Regards,
    Abdur Rafique

  • T COde CS15 : Report is not showing the "Alternative BOM No" for some BOMs

    Hello Guru,
    I am facing a problem for the transaction CS15, when I use this transaction, in the output for some materials, system is not showing "Alternative number" of BOM.
    I cheked Deletion indicator, status of the BOM, validity period etc.
    But unable to get the reason why system is not showing alternative BOM number for the some materials / BOMs.
    Thanks to give your expert comments or solution.
    Thanks in advance
    Hemant

    Hi Hemant,
    please check in CS02 if those top level BOm's which dont show alternative BOm number in CS15, do they really have alternatives?
    the most probale reaosn why alternative is not shown is they dont have any alternate BOM or they are variant BOMs.
    please check.

  • Alternative BOM creation problem in CS01

    Hi.
    I have created a BOM with CS01 with list of components. Now i want to create an alternative BOM for the same FG.
    When I am trying to create alternative BOM using CS01, I added the components, system is showing me in the header as Alternative BOM 2. But when i try to save this BOM system is giving me the error as "Alternative BOM cannot be created for this material".
    Can you please help me how to create alternative BOM for this FG.
    Regards,
    Padmavathi

    Dear Padma,
    If my understanding is correct,if the check box for multiple BOM inactive is set in OS27 means,you will not be allowed to even
    enter into the BOM item maintenance screen.
    It seems the system is allowing you to enter the second alternative BOM,but at the time of save the system is blocking from
    doing so.check what's the message and check whether by means of exit this check has been incorporated in the system.
    Check and revert back.
    Regards
    Mangalraj.S

  • To display flatfile rec's under 1 Alternative BOM using BDc recording.

    Hi,
    I m trying to display flat file entire(i.e.. 4 rec's i m using) records vertically under one (Alternative BOM) for CS01-BOM using BDC recording method.
    Now i m tried with the following code,i m getting as one (Alternative BOM) for one ff record,by replacing one by one.
    But i want as vertically under one (Alternative BOM).
    Can anyone help me to overcome this.
    report ZBOM
    no standard page heading line-size 255.
    *include bdcrecx1.
    DATA: BEGIN OF bdc OCCURS 0,
    matnr(18),
    werks(4),
    stlan(1),
    END OF BDC.
    DATA: BEGIN OF BDC1 OCCURS 0,
    idnrk(18),
    MENGE(18),
    MEINS(3),
    postp(1),
    posnr(4),
    END OF bdc1.
    DATA: BEGIN OF BDCDATA OCCURS 0,
    matnr(18),
    werks(4),
    stlan(1),
    idnrk(18),
    MENGE(18),
    MEINS(3),
    postp(1),
    posnr(4),
    END OF BDCDATA.
    data ibdcdata type standard table of bdcdata WITH header line.
    *start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = 'C:\Documents and Settings\dilipkumar.b\Desktop\soft.txt'
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = ','
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    CHECK_BOM = ' '
    VIRUS_SCAN_PROFILE =
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    HEADER =
    TABLES
    DATA_TAB = BDCDATA
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *perform open_group.
    loop at bdcdata.
    perform bdc_dynpro using 'SAPLCSDI' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RC29N-STLAN'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RC29N-MATNR'
    'SOFTDRINKS'.
    perform bdc_field using 'RC29N-WERKS'
    'WIND'.
    perform bdc_field using 'RC29N-STLAN'
    '1'.
    perform bdc_field using 'RC29N-DATUV'
    '16.09.2008'.
    perform bdc_dynpro using 'SAPLCSDI' '0110'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RC29K-BMENG'
    '1'.
    perform bdc_field using 'RC29K-STLST'
    '1'.
    perform bdc_field using 'BDC_CURSOR'
    'RC29K-EXSTL'.
    perform bdc_dynpro using 'SAPLCSDI' '0111'.
    perform bdc_field using 'BDC_CURSOR'
    'RC29K-LABOR'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_dynpro using 'SAPLCSDI' '0140'.
    perform bdc_field using 'BDC_CURSOR'
    'RC29P-POSTP(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '=FCBU'.
    perform bdc_field using 'RC29P-IDNRK(001)'
    BDCDATA-IDNRK.
    perform bdc_field using 'RC29P-MENGE(001)'
    BDCDATA-MENGE.
    perform bdc_field using 'RC29P-MEINS(001)'
    BDCDATA-MEINS.
    perform bdc_field using 'RC29P-POSTP(001)'
    BDCDATA-POSTP.
    perform bdc_dynpro using 'SAPLCSDI' '0130'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'BDC_CURSOR'
    'RC29P-POSNR'.
    perform bdc_field using 'RC29P-POSNR'
    BDCDATA-POSNR. "'0010'.
    perform bdc_field using 'RC29P-IDNRK'
    BDCDATA-IDNRK. "'15'.
    perform bdc_field using 'RC29P-MENGE'
    BDCDATA-MENGE. "'1'.
    perform bdc_field using 'RC29P-MEINS'
    BDCDATA-MEINS. "'ml'.
    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-SANKA'
    'X'.
    *perform bdc_transaction using 'CS01'.
    *perform close_group.
    CALL TRANSACTION 'CS01' USING IBDCDATA MODE 'A' UPDATE 'S'.
    REFRESH IBDCDATA.
    clear ibdcdata.
    endloop.
    Start new screen *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
    CLEAR iBDCDATA.
    iBDCDATA-PROGRAM = PROGRAM.
    iBDCDATA-DYNPRO = DYNPRO.
    iBDCDATA-DYNBEGIN = 'X'.
    APPEND ibDCDATA .
    ENDFORM.
    Insert field *
    FORM BDC_FIELD USING FNAM FVAL.
    IF FVAL NODATA.
    CLEAR iBDCDATA.
    iBDCDATA-FNAM = FNAM.
    iBDCDATA-FVAL = FVAL.
    APPEND iBDCDATA .
    ENDIF.
    ENDFORM.

    Hi Dilip,
    Please change your code.
    I request you to please go through BDC tutorials before even starting to write the program.
    There are many online tutorials which can help you with.
    Also, search in SDN.. there you will get more than thousand results.. with the search term BDC.
    Take this suggestion seriously before nayone reports the moderators that u have been posting this thread daily without taking into consideration the previous replies.
    Regards,
    Vishwa.

  • Standard BOM with Alternative BOM

    Dear Experts,
    We are having a requirement of comparing Standard BOM with actual material consumption. We got Actual consumption. When we were trying to get the standard BOM component, standard Data source is not available. Then we searched in SDN and they are recommending to go with view option. We have created view with MAST,STKO and STPO tables. This view is not working when a plant is having alternative BOM. Further research on SDN reveals that we can use CSAP_MAT_BOM_READ functional module. When we executed this functional module, it is giving the standard BOM components and its Base Quantity. But we were not able to create Generic data source with this functional module.
    The requirement is urgent. Please help me with your experience.
    With Regards,
    Balachander.S

    when we were joining MAST, STKO and STPO, the alternative BOM was not taking care. Then we have linked STAS. It was sloved.
    With Regards,
    Balachander.S

  • How to create Alternative Bom by given inputs

    Hi to all,
    I need to create BOM with alternative number.
    my inputs are
    BOM Header
    Material, plant, BOM usage, Alternate BOM, BOM status, Base Qty, Valid From, valid to
    BOM Item
    Item number, item category, component, component description, UOM, valid from, valid to, item ID, QTY
    if i use CSAP_MAT_BOM_CREATE to create BOM , it will not create alternative number
    if i use BAPI_MATERIAL_BOM_GROUP_CREATE , does my input value are enough to create alternative bom.
    please can any one, put some light on it, i search SDN ,but i dont know how to create alternative bom with input provided.
    i shall be thankful to you for this.
    Regards
    Pavneet Rana

    Try the program-RCSBI010

  • Alternative BOM selection in Subcontracting purchase requisition

    Hi,
    We have three alternative BOM for one semi-finished material.
    We created production three production versions for respective BOM, and maintained the prod version in to subcontracting info record.
    But without creating any production versions,
    Can we select the BOM alternative at the time of creating subcontracting purchase requisition in ME51N,

    Why do you want to select BOM at the time of PO creation ? 
    If BOM components differ based on quantity of finished product, then these FG quantity range can be specified in from-lot-size and to-lot-size fields of production version - and SAP will pick the appropriate PV based on PO quantity.
    If BOM components to be provided to sub-contract vendor differ based on vendor, then specify that in the info record.

  • Subcontract PO item withdrawal issue when alternative BOM item used

    Hi,
    As title mentioned, when we issue alternative material for a subcontract PO in BOM, but it still shows the quantity from primary item.
    (For example, we have a product, let's say it as Product-A, it's combined by material-B1 and Material-C1
    And the BOM for Product-A for item material-B1 has an alternative item, material-B2
    Now the issue is when we issue material-B2 instead B1, but the PO usage/withdrawal listed in B1)
    Because we are making a list for China custom for material usage, the issue listed above makes our list not available for custom department.
    Please let us know how we could make the withdrawal in PO shows B2.
    thanks,
    Steven

    Dear Steven,
    As explained by our forum friend maintain this data.
    1.Create 2 different BOM for the same header material with the respective BOM components.
    2.Create production version for the header material using T COde MM02--->MRP4 view and click on prod.version,enter the same
    as 0001,text as prod version 1,default valid from date will be the current date and the valid to date will be 31.12.9999.
    3.Enter the lot size for which this prod version is valid and then in the alternative BOM select the BOM and save the data.
    4.Prdo.version can also be maintained through C223.
    5.Assign this prod version in the sub-contracting purchase info record in ME11,under prod version under purch org data(not sure
    check this alone).
    6.Likewise assign the prod version that is linked to the BOM to be picked for each sub-contracting vendor.
    Check the results after MRP and revert.
    Regards
    S Mangalraj

  • MRP run including Alternative BOM & Routing in sequence.

    Dear Experts,
    My client has maintained alternative BOM & Routing for there In house production materials.He wants to execute MRP run which can include all BOM's & Routing in sequence. Like, first MRP run should check material requirements as per first alternative followed with second & third alternatives.
    Regards,
    Rajesh.

    Dear Rajesh,
    ur req is not possible in that way. coz MRP run select only one PV or BOM and routing at a time and if stock is not available then it will genrate the req.
    You can try with this rather craeating an alteranative BOM create alternative group of material so when u run the MRP system will check the stock of first matrial and if short fall is there it will go for next.
    Regards
    Sachin

  • Alternative BOM No Deletion

    Hi,
    I have one scenario in which previously there were 2 BOM's available for single material, i.e.
    1) 01
    2) 02
    After some days, first BOM was deleted by the user and when we try to see BOM detail using CS03
    by entering
    Material = XXX
    Plant = XXX
    BOM Usage = 1
    Alternative BOM = 02
    Then it gives BOM details but when we enter
    Material = XXX
    Plant = XXX
    BOM Usage = 1
    Alternative BOM = 01
    It gives Error Message "Inconsistent data (inform your system manager)" even though BOM does not exist
    So what is the solution for removing this above Error message

    Hi,
        As suresh said you need to delete the alternate 1 in the header level. After that if you want change that alternate 2 as1, Then again go to create mode and you can create the alternate 1 with the same components of alternate2. After that you can delete the header level of alternate 2 also. So that there will be only one alternate BOM for your material.
    Hope it will be helpful.
    Regards,
    Vijay.

Maybe you are looking for

  • Batch importing Word files into separate InDesign files

    Hi, I have what I though would be a fairly common question, but I can't seem to find any information about it in this forum or on the web. I have a folder of Word files (over 100, which is why I don't want to do this manually) and one InDesign CS4 fi

  • How do I change the FaceTime email address on my iPod touch?

    I set up my daughters Facetime on her ipod with my email address and now that she is actually using it more I would like to establish it under an email for her as her friends are seeing my email address when she uses Facetime.  Is there a way to set

  • WSDL generation

    Hi, Please let me know how do we generate WSDL from the outbound interface in PI 7.1. Thanks and Regards, Rana

  • [SOLVED] KDEmod - problem with mounting b/c of non-ASCII characters

    Hi guys! I finally set aside a few gigabites for Archlinux - it is no more in a virtual machine So far I managed to configure everything with the excellent wiki. It's runnin' and kickin'. I run accross only one problem: When I insert a CD with a labe

  • MS-6957 Ver 1A

    Hi, I cann't seem to be find drivers for MS 6957. Can somebody help me? I am running XP machine and installing the TV-OUT card. I can not even find any related information anywhere. Help is appriciated. -Anand