Alternative bom selection

hello,
i want solution for alternative bom selection.
for eg.
i have material say X00100 which has two alternative components
                            A00100
                            B00100
now, i have to mapped the scinario that .the product pick the material   A00100
first & if there is no stock then it will pick the material   B00100
please give the solution
marks are sure
regards,
mangesh

Hi,
Try using this concept.
In BOM alternative items are assigned to alternative item group on the general
data.
In the production order in the general data tab page.
We can define the alternative items based on priority , strategy and usage probability.
Priority:
This defines the priority of the item within the alternative item group.
This determines the priority of planned withdrawls of items.
EX Two items are assigned to alternative item group
item A Priority 1
item B Priority 2
The system reads the item A first.
Strategy:
use the strategy to determine how the planned withdrawl is controlled
within the alternative item group.
The strategy should be same for all alternative items within a alternative
item group.
If the value 2( 100% check) is defined for the strategy the first material in
the defined priority sequence for which sufficient quantities are available
are reserved.
If value 1 is used( manual maintainence/ usage probability) depending upon the
availability you can manually with draw components.
Usage Probability:
MRP Plans these alternative material components according to probability
of use.Material requirements for BOM Components are planned according
to usage probability.
The planned withdrawls for the production order are based on the
reservation lists.These lists are based on the priority and strategy.
Regards,
nandha

Similar Messages

  • 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.

  • CO01 CREATE SHOP ORDER MANUALLY SELECTING ALTERNATIVE BOM

    Hi, I can see how to set-up alternative bom selection when using mrp to create shop orders automatically but when we are manually creating a shop order and there are two alternative boms how do I select the second alternative at the time of creation, our set-up defaults to alternative 1 and gives no choice to select the other. Each alternative has different components of course and  allocated to different operations.
    Hope you can advise me, thank you.
    Craig Wood

    Hi Craig Wood,
    u can select  desire alternative bom while creating Production order manually by creating two production versions for your header material. Do the following settings..
    1.create two production versions and assign your alternative BOM  - Mrp view of MM01.
    2. define BOM selection Ind = 2 in (By production version) In Mrp view.
    3.then define selection of production version = 1 (Manual selection)for your order type and plant -  in OPL8
    4. Now create pro ord  , give your qty and date`s then sytem will show one pop-up window here u can select the production version .
    regards
    pradeep.

  • 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

  • Alternative bom and routing selection in planned order

    hi
    how i can config the system so that while creating planned order
    system has to select the alteranative SEQUENCE and alternative routing ?
    at opl8 we do this for production orders what about the planned oreders
    in scheduling parameters of planned orders we can give only selection ID
    WHAT about alternative SEQUENCE .
    IN the same way how the system selects the alternative BOM with date in planned order
    iam not creating production versions
    plz suggest
    sasikanth

    Hi,
    If you r using Prod Version then system pick ups the BOM attached in first valid production version.
    So, normally put more frequently used BOM in your first Prod Version.
    You have more options to use:
    - lot size (defined in BOM header)
    - production version (several option you have: lot size, manually assign a PV to a planned order)
    - you can use explosion date (OPPP, Logistcs > Production > MRP > Master Data > BOM by date)
    MRP 4 (in material master) > 'BOM explosion/dependent requirement' tab > you can set selection method according to your wish.
    Details:
    http://help.sap.com/saphelp_46c/helpdata/en/f4/7d2b1144af11d182b40000e829fbfe/frameset.htm
    Regards,
    Sankaran

  • How can I select alternative BOM when creating subcontract purchase order?

    In our business, a finish good material always has different production versions at the same time. Each of production versions has its own alternative BOM. When I create a planned order, I can select wanted BOM through specifying production version.
    But, when I creating subcontract purchase order, there is no field for me to specify the production version or which alternative BOM I prefer. In this case, I need to create a planned order at first. And then, convert the planned order to purchase. Only through this way, I can create a subcontract purchase order with my wanted BOM.
    So, I wonder if there is any way to select alternative BOM directly when creating subcontract purchase order.
    Thanks a lot!
    Regards
    Robbie

    Dear Mr. MM
    can you give me additional information about your solution?
    BUT I would not expect the sytem to offer you during the Purchasing cycle the different Production Versions as it is not meant to be. I remember having the same requirement some time ago and we solved it the way I described above, additionally we created a Pop up window with a user exit during the PO creation which offered the different production versions and if the one linked with the quota arrangement, the standard PV, is used in the PO.
    We also have the same problem, we activated businessfunction SCM_GEN_02 so that it is possible to have several production versions for one supplier, but unfortunatly it is not possible to change the production version in the purchase order. (business function does not seem to be very integrated)
    So i would be very interested in your solution because acually it seems that i have to modify the sap standard.
    Thank you and best regards
    Lisa

  • 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

  • BOM selection in sales order

    hello, friends.
    when selecting the BOM in the sales order, the selection screen displays alternative BOMs for 1 usage type only, and will show the other usages one at a time only if the first type does not exist.  the sequence depends on the priorities (access sequence) set in IMG, and settings in item category. 
    my questions are:
    1.  does the 'next page' button in the selection screen refer to additional BOMs of the only same usage type?
    2.  is it possible to show other usage types in the same selection screen? if yes, where do we configure this
    many thanks for your inputs.

    hello, Rags.
    actually, BOM selection is working fine for us.  my question was more of a theoretical one.  to clarify the issue, let me cite an example:
    1.  for material A001, i create 5 alternative BOMs. 
    2.  of these 5 BOMs, 3 have usage type SD, and 2 have usage type Production.
    3.  when you enter your BOM header material in the sales order, a selection screen will appear.  because of the priorities set in IMG, it will show you only the 3 alternate BOMs of the SD usage type.
    3.  the system will display the 2 other production BOMs only if there are no SD usage BOMs or if these have been deactivated, or if you change the order of priority in IMG. 
    4.  you cannot change the usage type in the BOM selection screen because this field is not available for input.  there are "next page" buttons, and i'm wondering if this is or is not just for long lists of alternate BOMs with a single usage type.
    my question:  is it possible to show all 5 BOMs regardless of usage in the same list, or in different pages?
    many thanks.
    Edited by: jonathan y on Apr 3, 2009 7:55 PM

  • *URGENT -Alternate BOM selection in MRP*

    Dear gurus
    I have an urgent requirement regarding alternate bom selection.
    our scenarion is complete subcontracting and no production versions are maintained and for suppose i have a product X which has 3 alternative boms during the sales order creation iam able to select the required alternative but during the mrp run the system is selecting the alternative "1" by default.I want that during the mrp run also the system should explode the bom which  i have selected during the sales order creation not the alternate "1".
    please reply.
    regards
    Kumar

    Dear Dharma
    in my previous post I havent got suitable reply from my previous post so i have posted again waiting for answers.
    regards
    Kumar

  • Automatic BOM Selection as per Stock availability

    Hi...
    I have a query.....How can i set an Automatic BOM selection as per stock availability
    Problem is that the client is having more than 1 type of raw material which can be used, so the user needs to consume the ROH as per the stock availability, in that case he has to manualy check and amend the Production Order accordingly.
    Hence, i want to set a system wherein the system would do the checking of the ROH material and then select that material and execute the production order accordinly.
    Requesting your valuable inputs.
    Thanks in advance,
    Harris

    Harris,
    Please explore the possibility of defining "Alternative Item Group", in the BOM Item level details(Basic data tab).
    From Application help for your referance,
    Alternative item: group
    Consolidation of alternative items within a BOM. Every material in the assembly can be included in the alternative item group.
    Use
    As soon as you enter an alternative item group, you see an additional dialog box with the following data: ranking order, strategy, usage probability.
    You can maintain alternative items in the following situations:
    Alternative positions with specific usage probability
    These alternative items are incorporated with a specific usage probability. Enter the usage probability for each alternative item in the group, so that:
    dependent requirements are determined in requirements planning
    dependent requirements are changed to a reservation in the production order
    Alternative positions as information
    You can enter an alternative item for information purposes. This item would then, for example, only be taken into account in situations involving missing parts.
    As there should be neither dependent requirements nor a reservation for this item, enter no usage probability.
    Procedure
    Enter the same character string to denote the alternative items of an alternative item group.
    Enter the same strategy for all alternative items in the alternative item group.
    Dependencies
    Alternative items are valuated in the following way:
    Dependent requirements determination
    Requirements planning determines the dependent requirements according to the usage probabilities that have been entered.
    If the usage probability is 0%, then no procurement is planned for the item. For information purposes, however, dependent requirements with 0 as quantity are created.
    Withdrawal posting
    You can control the withdrawal posting for the resevation in the production order in the following way:
    Withdrawal according to usage probability (manual change is possible)
    Withdrawal if there is 100% availability
    (Check ranking order and strategy)
    Example: See Strategy for alternative position
    Regards,
    Prasobh

  • Bom selection in mrp

    Dear All,
    Can anyone explaine why MRP always selects the first alternative of Bom during MRP RUN?????
    Regards
    Prashant

    Hello Prashant Patil,
    If you have more than one BOM (Alternative BOM) and all are meetings (i;e. BOM Lot Size , Bom Status, valid area and period of validity, priority for bom usage in define order of priority of Bom ),  in  the required settings then the first Alternative will be selected by defualt in the MRP planning run.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • 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.

  • BOM Selection in Sub Contract PO

    Hi,
    Is it possible to select BOM in Sub Contract PO?
    Scenario:
    3 BOMs available for a Material.
    Depending on Material Availability respective BOM (BOM1/ BOM2/BOM3) will be selected during Sub Contract PO, for this is it possible to get an option for selecting BOM1/ BOM2/BOM3 in PO.
    bye
    Sridhar Thota

    Hi
    may be it is possible through alternative bom. u can select the where ever bom is required.
    reward me if u got the answer
    thanks and regards
    ram

  • 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

  • Choose alternative BOM in batch input

    Hi!
    I'm starting using BOM alternative and I'm facing a problem. I have a batch input where I need to choose an alternative BOM, but the popup for choosing the alternative doesn't show up when in batch input mode.
    Does anybody have a clue?
    Regards.
    Fabio Scaravelli

    TAJUDDIN,
    I think this thread is SD, because the transaction is VA01 (I forgot to mention it, sorry). The BOM usage is 5 (Sales and distribution).
    I need to choose an alternative BOM among two ones. But when VA01 is ran in batch input mode, the popup for choosing the alternative doesn't show up and the first alternative is selected by default.
    Regards.
    Fabio Scaravelli

Maybe you are looking for

  • How to transfer apps from one phone to another

    how to transfer apps from one phone to an itouch

  • Does the Apple Aluminum Bluetooth Keyboard works in BootCamp w/ Vista?

    Hey there, I have tried so many many times and I cannot pair them together. The pairing process itself seemed to work just fine everytime I tried. But the problem is the keyboard itself never works. In the Bluetooth devices list in Vista's bluetooth

  • Continuous Scatter Plot Comparison for Satellite Observation

    I am working on writing a java plug-in to analyze a scatter plot generated from satellite data(semi-major axis vs inclination). I have been looking at algorithms to do so and found DFS(Depth First Search) and BFS(Breath First Search). The point behin

  • Nokia 3110 display contrast/brightness options

    Can i change some of this parameters on 3110 or 3109? If i can, so where i can find this option in phone menu for 3110, 3109 nokia, or some code to change. My display have no contrast. Message Edited by narciz767 on 05-Apr-2008 12:42 PM

  • What DVI for refurbished Mac Mini's?

    Hey, I am about to order a refurbished mini (as soon as there are some in the store again), 2.0Ghz 320 gig. It comes with the Mini-DVI to DVI adapter. I have a new LG monitor coming, and it is DVI-D ready. Is the refurbished ones that I see pop up DV