Configured material BOM table details requried for component list

Hi PLM Experts,
      As per the client requirement, we need to activate one sales condition type based on Super BOM components list. To define a logic for the above requirement, to list out the component we checked in STPO Table and in this table its appearing only the phantham materials not the real BOM of the component is appearing.
    So can you please suggest the table name where i can find the Bill Of Material of my Finished Product (Configured material) in the Table level.
Warm Regards.
Velmurugan P

Thanks Ajit.
But the problem still persist. The tables you have listed will suits for regular BOM compoents list. But we want to know the Table / procedure details in case of Configured material BOM details. Because for configured materials the BOM will be determined during sales order (Planned order) only.
    This BOM of configured material won't get stored in the table you have listed. As per our requirement we are looking for table details where we can list out the components list to perform the additional charges in the sales order based on BOM.
Warm Regards,
VEL

Similar Messages

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

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

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

  • Table details required for pegged requirements

    Dear All,
    I have the following scenario.
    One child components is required for three different header materials. After MRP run, In MD04, three diffenerent planned orders will be there for child component for three reservations of three Header materials. I want to see the immediate header level of the child component through tables for report purpose. If you see through the function module MD_PEGGING or MD_PEGGING_NODIALOG, it is showing the top most header material. But it is not showing the immediate header material for the child component planned order. Please guide me to get the immediate header material through table or function module or any.
    Thanks in advance.
    Vijay.

    Check these tables.
    MDTB,PLAF.

  • Transactions to create configurable material, BOM and Routing

    Hello Experts!
    I really need some help. I never had used configurable material before and to customer operation, a consultant sold this idea. And now, I need to understand all steps to implement this.
    I've been reading some Help links, but, the t-codes it's a mistery. Somebody can fill all transactions  that I need to use to implement the configurable material?
    Thanks a lot,
    Rodrigo.

    Thanks for the answers! It's very helpful!
    But now, I have another question:  there is a easy way to identify the material configurable done? As is, a transaction that I can identify wich characteristics that material have? How I can control the stock?
    Regards,
    Rodrigo.
    Edited by: Rodrigo0403 on Dec 9, 2010 2:48 PM

  • Table name reqd for Component materials (showing under me23n)

    Hi all,
    Im working on PO report for the type Sub-contract Order.So i want to pick up the material and quantity from the components which is available in item detail->Material tab under me23n.
    I want the table name to get the fields of those materials then to join field with the PO number or some related field.
    ****In me23n...it showing the structure name of MDPM..(its actually coming from the BOM creation).
    Pls post ur comments with relevant details.
    thanks & regards
    sankar.

    Hi,
       me23n uses ekpo & ekko tables
    Reward with points if found useful.
    Archana

  • Component as a configurable material KMAT?

    Hello Gurus,
    to be more clear with my question, I try to explain it by an example: A characteristic value assignment is made while busy with a sales order creation (VA01) for a configurable material SHOWER CUBICLE (material type KMAT). One of the characteristic is a Width/Height of a walls, so a value assignment of this characteristic can be 900/2000 for instant. After MRP execution, a BOM is exploded and all materials are determined by a super BOM. Every think is working out perfectly if a component u201CWALLu201D is managed by a class type 200. This means that there are defined beforehand all the material masters for each possible variants of component "WALL". In consequence a purchase requisition is generated for a specific material, in this example for a u201CWALL900X2000u201D.
    My question is: To avoid to define and maintain the material masters for the variants, is it possible that I would define a component WALL as a configurable material KMAT? My tests show that a MRP can generate a purchase requisition for the material WALL (though it is KMAT), but without a value assignment taking over from a sales order. Very probably this is not a configuration issue, but I suppose I should use a user-exit or other functions to configure a component automatically? Which one?
    Many thanks already in advance
    Jari

    Jari ,
    you can put a configurable material inside a configurable material BOM.
    and while configuring the salable product in sales order , you can assign value to lower level  KMAT.
    depend upon procurement type of component procurement proposal will be created.
    for question about refletion of values from sales order to PO created, you need to check have you set up all master data and dependancies correctly.
    as you mention you are using class 200 , what i guess is you are using classes inside BOM instead of materials and value assigned to calss is selecting appropiate material.
    check and come again.
    Ritesh

  • Need a solution to create BOM which will work for all Component category

    Hi All,
    I want to create BOM.
    I am using LSMW (std batch input program RCSBI010).
    After execution I came to know that it will not work for if Item category (STPO-POSTP) = 'D' (Document).
    Can Anyone tell me Is there any way to create Material BOm which will work for all kinds of component(Item)Category.
    Below are the diffnt types of Item Category:
    ICt Item category text         
    A   Alloy Item                 
    D   Document item              
    I   PM structure element       
    K   Class item                 
    L   Stock item                 
    M   Phantom material           
    N   Non-stock item             
    R   Variable-size item         
    T   Text item                  
    X   Coded, Non-Stock Item

    Dear Amit,
    1.Is the production BOM containing all these item categories?
    2.It seems there are some additonal item categories apart from standard item categories(A Alloy Item ,M Phantom material ,
    X Coded, Non-Stock Item) for which you have to identify for which fields the value will be populated.
    3.In my understanding it's possible through a BDC recording through T.code SHDB and befor this activity discuss the same with
    your ABAP consultant as it involves some text items too.
    check and revert back.
    Regards
    Mangalraj.S

  • Bom for component allocation in routing

    I have created Sales order Bom. When I create normal routing and go for component allocation then system asks for Bom creation.
    Why system is not considering  sales order bom in Normal routing for component allocation?

    Hi,
    Sales order BOM will not be valid for Production. Eventhough you have created the sale BOM, the system will consider only the Production BOM. So you need to create a Production order BOM also, when you want to create a routing or production order creation.
    Regards,
    V. Suresh

  • Configurable material  with make to stock

    Hi,
      My scenario is like  final products Distemper red 1kg, distemper  red 5kg and 10kg like this.But  Sales order will be Distemper red  1000kg.Based upon the availability of stock customer will get 5kg,10kg Depending upon the pack, price also differs depends upon the pack.
    In RG1 register they are updating only Distemper red total stock.
    If i go for variant configuration i should create distemper as variant and all finished material as normal and variant should be assigned(distemper red) in mrp 3 view.
    Moreover planning also done for only distemper red while packing they will go for different quantity.
    For Configurable material PIR can't be done.
    So how to proceed further, what about RG1 resister it should not update all pack wise only distemper red total quantity.
    Regards,
    S.Suresh.

    Hi,
    As BNR said you need to work with Material Variants for having Variant Configuration with Make to Stock.
    Pls. find the helpful details for maintaining Material Variants :
    Maintaining Material Master Records for Variants
    Prerequisites
    A configurable material exists, for which you create a material variant. The configurable material
    has all the necessary settings in the configuration profile, class assignment, dependencies, and
    so on.
    Procedure
    1. From the material master menu, choose Material   Create general   Immediately.
    Enter a material number, an industry sector, and a material type for materials kept in
    stock.
    You must process the following views:
    Basic Data*
    Sales Data*
    MRP Data*
    For material variants, you maintain the usual material master data, such as
    availability check, strategy groups, and so on. This documentation describes the data
    that you need to maintain specifically for material variants.
    2. Maintain the required basic data.
    Do not select Material is configurable for a material variant.
    In the basic data, you can link the material variant to a configurable material. This
    configuration applies to all plants. To manufacture the material variant in-house, you
    must maintain the variant at plant level, so that BOMs, routings, and so on can be
    determined. Cross-plant variants can be used in Purchasing, but are not supported in
    Sales.
    3. Maintain the sales data.
    You can only use the variant in sales orders if you maintain sales data for the variant.
    4. In the MRP data, enter a configurable material for configuring the variant at plant level.
    5. Choose Configure variant.
    You see the value assignment screen with the characteristics of the configurable
    material.
    Configure the variant.
    6. Once you have maintained all the data, save your material variant.
    Bill of Material (BOM)
    To do a requirements explosion for a configured material, you must maintain the data in the
    material master record and link a BOM to the configured material.
    If the material of the material variant is the same as the configurable material, the link
    is already there.
    You can either create a BOM especially for the configured material (perhaps using the copy from
    function) or allocate the configured material to the BOM for the configurable product. The second
    option is the more common solution.
    If you allocate the configured material to the BOM for the configurable product, the BOM for the
    configurable product is interpreted and exploded according to the characteristic values assigned.
    The interpretation includes the processing of selection conditions and the setting of field values in
    BOM items according to the relevant actions.
    Allocating a Configured Material to a BOM
    To allocate the configured material to the BOM of the configurable product, proceed as follows:
    1. From the bills of material menu, choose Bills of material   Material BOM   Alloc. config.
    mat.   Create.
    2. Enter the name of your configured material in the Material field.
    You see a screen on which your configured material is shown as the first allocation.
    Select the allocation and choose the All allocs for BOM function to see all the materials
    allocated to this BOM.
    3. Save your allocation.
    Task List
    To produce a configured material, you need to allocate a task list to the configurable material
    once you have created the material master.
    If the material of the material variant is the same as the configurable material, the link
    is already there.
    You can either create a task list especially for the configured material (perhaps using the copy
    from function) or allocate the configured material to the task list for the configurable product in the
    task list maintenance function. The second option is the more common solution. If you allocate
    the configured material to the task list for the configurable product, the task list for the
    configurable product is interpreted and exploded in the production order according to the
    characteristic values assigned. The interpretation includes the processing of selection conditions
    in the operations or activities, sub-operations, sequences of operations, and production
    resources/tools (PRTs).
    Allocating a Task List to a Configured Material
    To allocate the configured material to the task list of the configurable material, proceed as
    follows:
    1. From the routings menu, choose Routings   Routing   Change.
    2. Enter the number of the configurable material.
    3. Choose Goto   Overview.
    4. Choose Routing   Material allocation   New entries and enter the number of the
    configured material you want to allocate to the task list.
    5. Save your allocation.
    Creating Cross-Plant Material Variants
    Use
    For material variants that are procured externally, you can define the assignment to a
    configurable material in the basic data of the material master, because no plant-specific data
    needs to be determined for these variants.
    Procedure
    1. In the material master menu, choose Material   Create (General)   Immediately.
    Enter a material number, an industry sector, and a material type for materials kept in
    stock.
    Select the views that you want to process.
    2. Maintain the required basic data.
    Do not select Material is configurable for a material variant.
    3. Under Client-specific configuration, enter the configurable material of which you are
    creating a variant.
    4. Choose Configure variant.
    You see the value assignment screen with the characteristics of the configurable
    material.
    Configure the variant.
    5. Once you have maintained all the data, save your material variant.
    Result
    The variant can be entered in a purchase order. The configuration of the variant is copied from
    the material master.
    Cross-plant material variants can be used in Purchasing. However, they are not
    supported in Sales.
    Strategies for Variants
    Definition
    Low Variance
    This section describes how to plan products that have a practical limited number of possible
    combinations of characteristics and characteristic values. Technically speaking this section
    describes the use of variants to sell configurable materials.
    Variants can be used to facilitate the work with configurable materials. Variants of a configurable
    material are, for example, defined to prefabricate frequently required configurations and place
    them in stock, which is why variants were formerly called stockable types.
    For some configurable materials, it may be difficult to determine the variants of a configurable
    material. To use the strategies for variants effectively you must have an estimate of future
    consumption for each variant.
    If the configuration is not changed during the Sales Order stage, production can occur at the
    Production Before Sales Order stage. Then the customers must purchase the variants as they
    are or as they were planned. The benefit is that the products can be shipped immediately to the
    customers, if they are in stock.
    Make to Stock Production for Variants
    Variants can be planned on the finished product level using any make-to-stock strategy, such as
    Planning with Final Assembly (40)  or Net Requirements Planning (10)
    The planning of variants with make-to-stock strategies combines the advantages of make-tostock
    production (very short delivery time) with the advantages of variant configuration (one BOM
    and one routing for a whole product family).
    Make to Order Production for Variants
    Variants can be planned on the finished product level using any make-to-order strategy, such as
    Planning w/o Final Assembly (50) or Planning with a Planning Material (60)
    The planning of variants with make-to-order strategies combines the advantages of make-toorder
    production (planning without final assembly or cost tracking on the sales order level) with
    the advantages of variant configuration (one BOM and one routing for a whole product family).
    Integration
    Hope this helps.
    Regards,
    Tejas

  • ATP check for component materials

    Hello experts,
    The ATP check was initially designed for a kitting process. BOM Material would be kitted in the distribution center(DC) and sent to a garage. Sales orders are created with BOM materials for a garage and there is a multi- level GATP process in place. Since BOM materials do not  exist at a garage the check would be performed at a DC for components after BOM explosion. The existing configurations in R3 and APO are for a make to order process(Strategy  group of 50 for BOM's  and 40 for component).
    We are now introducing new materials for an existing material and have the need for product substitution on the sales order, if the existing material is out of stock at the DC. To enable this functionality we are having to perform an ATP check for the sales orders at the distribution center, though the sales order is   created for a garage. To improve on the response times during the ATP check our design approach, is to convert the BOM materials in the sales order to component  materials with material determination(one BOM material is tied to one component material) and performing the ATP check with components at the DC.
    While testing we are facing the following issues:
    1)Sales order placed on a garage is substituted with the DC after product substitution.  This does not occur when product substitution is carried out with BOM's.
    2)During the order create, the ATP checks for check mode u201845u2019 and business event u2018AEu2019 for a given material in a DC shows zero stock. While for the same material,location and business event AE the product availability check in APO reflects stocks available.
    Is it feasible to do ATP checks for component material in a sales order which was initially designed to work with BOM materials? Am I missing some configuration settings in either APO or R3?
    Regards,
    Anil DeSouza

    Hi Anil,
         Yes it can be done.
    1) For finished product & garage combination -
    activate RBATP in the check instructions.
    2) in the location substitution maintain 'location determination sctivity'. Here you maintain different check mode & business event -- ( this is nothing but check instruction --- in thsi you maintain 'MATP').
    Hope this anws your first qus.
    To addressing your 2nd question....follow below steps.
    1) Do ATP from sales order, get onto results screen, click on product availability & check for 'scope of check' (check control) and look for the stock types that are included. Based on this your receipts are consdiered for ATP confirmation.
    Best Regards,
    Deepthi

  • Configurable material - Partial cancellation of sale order

    Hi
    I created a sale order with configurable material with variant pricing. For example 50 Qty( VA01). If  i do the partial cancellation in VA02 for example 25 qty, the following message is getting popped up.
    Changing date/quantity may result in differen
    - Please configure
    Can anyone suggest what are all the settings i need to do? or any other procedure is there for partial cancellation of configurable material?
    Thanks in advance.
    Regards,
    Raman

    Hi
    The scenario is
    Create a sale order on VA01 for configurable material with variant configuration for the quantity 50. The material doesnt have BOM.
    Change the quantity in VA02 for the above material the following warning message is appearing.
    Change in quantity / date may result in different BOM. Pls configure.
    I am not going to create PR or Delivery document as a subsequent document for the same.
    Pls advice. Why the message is getting pop-up.
    Thanks in advance
    Raman

  • Adding configurable material in MRP3 using MATMAS .

    Hi All,
    I am working on creation of material using idoc ., message type is MATMAS and basic type is /AFS/MATMAS05. In the view MRP3 we have a field called 'CONFIGURABLE MATERIAL ; and I am trying to pass the configurable material into this space using segment E1MARCM where we have a field configurable material. But I am not able to see this detail when checking the material master, whereas other details required for the material are being added up.
    Can someone guide me in the matter.
    Thanks,
    Vengal Rao.

    please check OSS Note 64254 - Transfer of material master data - exceptions
    among others it is said:
    Data transfer is not supported for the following material master data:
    7. Assignment of configurable material and characteristic value assignment for product configuration

  • Configurable material in scheduling agreement

    When I use DS scheduling agreement with LPN as item category with configurable material, I cannot input value for configuration. But if I use normal TAN instead of LPN, I can input value for configuration.
    Why?
    Does SAP do not allow configurable material in scheduling agreement or quantity contract?
    Thanks in advance for any suggestion.

    Deat Amy,
    Please check the item category settings related  to configuration through VOV7 transaction.
    Go to VOV7 transaction then select item category LPN then go in to the detain here you check the configuration related settings under Bill Of Material /Configuration tab.
    If want you refer the standard Config.at Mat.Levl itemcategory TAC settings, same way you can do settings for your item category then try.
    Note:- Not advaisable to change the standard one, so you copy the standard itemcategories do the changes,
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Nov 13, 2008 5:20 AM

  • Purchase Order With Sub Item Component List for BOM material..??

    Hi MM Experts,
    We want to create PO with a component list that should be appears under the main item.
    The component list is a mterial BOM.
    Ex:- bom MATERIAL - CATALOG1 (Non Stock Materials)
    COMPONENT 1 :-ABCD
    COMPONENT 2 :- XYZ.
    WHEN I ENTER THE BOM MATERIAL:- CATALOG1 IN /ME21N . Higher-Level Item-
    Automatically botom line should be appear component 1 , 2 as a Sub Item.
    how to configur this issue..?? Its a standard Ponot Subcontract
    Thanks,
    NAR.

    Hi!
    If you have correctly maintained the BOM in CS01, make sure that in ME21N you enter "L" as the item category, and then, in the field "material", enter the finished product (the header material in your BOM). Then, enter all other required fields.
    When all mandatory data has been completed in ME21N, go to the "Material Data" tab. Here you will see an icon named "Components". If you click this icon, the materials in your BOM will be listed here.
    So, please, do not expect the BOM to be displayed with mother and daugther segments in the item overview of ME21N. Instead, consider that you will only be able to see the components if you click the "Components" icon under the "Material Data" tab at item detail level.
    I hope this helps!
    Esther.

  • FM For Finding if Material BOM exits for BOM component.

    Hi,
    Is there any FM or BAPI to find out if there is any material BOM exists for the BOM component.
    How is Indicator assembly get assighned..?
    Any inputs would be appreciated.
    Thanks,
    Mark

    Sample program.
    report zrich_0001 .
    * Internal Tables
    data: i_stpov like stpov occurs 0 with header line.
    parameters: p_matnr type marc-matnr,
                p_werks type marc-werks.
    start-of-selection.
    perform where_used tables i_stpov
                       using p_matnr
                             p_werks.
    loop at i_stpov.
      write:/ i_stpov-matnr, i_stpov-werks.
    endloop.
    *  FORM WHERE_USED.
    form where_used tables itab
                    using  matnr
                           werks.
      data: selpool like mc29s.
      data: eqpcat  like cscequi occurs 0.
      data: kndcat  like cscknd  occurs 0.
      data: matcat  like cscmat  occurs 0.
      data: prjcat  like cscprj  occurs 0.
      data: stdcat  like cscstd  occurs 0.
      data: tplcat  like csctpl  occurs 0.
      clear itab. refresh itab.
      call function 'CS_WHERE_USED_MAT'
           exporting
                datub                      = sy-datum
                datuv                      = sy-datum
                matnr                      = matnr
                postp                      = ' '
                stlan                      = ' '
                werks                      = werks
                stltp                      = ' '
           importing
                topmat                     = selpool  "Not Currently Used
           tables
                wultb                      = itab
                equicat                    = eqpcat  "Not Currently Used
                kndcat                     = kndcat  "Not Currently Used
                matcat                     = matcat  "Not Currently Used
                stdcat                     = stdcat  "Not Currently Used
                tplcat                     = tplcat  "Not Currently Used
                prjcat                     = prjcat  "Not Currently Used
           exceptions
                material_not_found         = 02
                no_where_used_rec_found    = 03
                no_where_used_rec_selected = 04
                no_where_used_rec_valid    = 05.
    endform.
    Regards,
    Rich Heilman

Maybe you are looking for

  • How to avoid duplicat just one column

    Hi, I've this table: COD_ID.........NAME 001............AAAA 001............AAAA 001............AAAA 011............CCCCCCC 011............CCCCCCC 011............CCCCCCC 011............CCCCCCC 032............FFFFF 032............FFFFF 223............

  • Skype pops up, how do i stop it?

    Skype pops up. How do i stop it?

  • Help on Date Chooser Control

    Hi Friends, I am working on a flex application in which it has a calander (Date chooser) control in database I have a status for each week, as A, B or C. when it comes to the flex part I have to highlight a week on date chooser control in Red Color i

  • Technician wise filteration in service call

    Hi Experts, In service call report ,i want to see technician wise report, but i m not able to see technician parameter in stanadard report .can anyone suggest how to see technician wise service call report . Best regards, Mohit Gupta

  • Comment verrouiller une cellule ? pour la protéger

    Mon exemple : travail en milieu scolaire , utilisation de la fonction "SI" dans un tableur ! La feuille : un Sudoku avec des zones de contrôle pour les lignes , colonnes et carrés de 9 cases ! : chaque fois qu'un de ces éléments obtiens un total de 4