Getting BOM Details of a material

Hi All
I have a scenario where I want to get the BOM details of a material.
I have displayed the sales order details and want to see if the BOM exists for the line item or not.
when I double click on the line item it should take me to the next screen where the BOM details of the material should appear.
But I am not aware how to use the FMs 'CAVC_C_EXECUTE', 'CAVC_C_GET_INSTANCES' and similar FMs ans what should be there sequence?
If any one knows about these FMs and there use, please help me.
Thanks in Advance
Lalit Gupta

Use these function modules.
CSAI_BOM_READ.
CS_BOM_EXPL_MAT_V2.
You can also use FM CS_WHERE_USED_MAT to check if material bom exists for BOM component.

Similar Messages

  • Function module to get the BOM details for a material-plant combination

    hi
    Is there any function module to get the BOM details such as
            BOM Usage       -STLAN
            Alternative BOM -STLAL
            Items                -POSNR
            Required Quantity-EMENG
            Resulting Quantity-MENGE
            Unit of measure    -BMEIN
            Base unit of measure-MEINS
    for a given material-plant combination
    if so please suggest me some FMs.................
    Awaiting for ur reply..............

    try the below fm it may be useful for you
    DATA : BEGIN OF I_BOM OCCURS 0.
            INCLUDE STRUCTURE STPOX.
    DATA : END OF I_BOM.
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          DATUV                 = SY-DATUM
          MEHRS                 = 'X'
          MTNRV                 = P_MATNR
          WERKS                 = P_WERKS
        TABLES
          STB                   = I_BOM
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          CONVERSION_ERROR      = 8
          OTHERS                = 9.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
    Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
    regards
    shiba dutta

  • How to get bom application for a material

    hi abapers
              how can we get the bom application for a particular material.
              suggest me a suitable tables.
              thanks in advance.
    Regards
    Rajaram

    Hi,
    for BOM related tables are MAST+STPO.
    and for 1 st case
    Use the report CS15 - Where Used List: Material in BOM
    Give the material number for which you want to find where it is used.
    In the Type of Where Used List Check the Direct checkbox,
    and in Used in Check the Material BOM,
    Then Click on the Next Screen button available on the Top left cornerof the screen.
    Then in the next screen give the plant number and execute.
    This gives you the report of where ever this material is used.
    Regards
    Message was edited by:
            skk

  • How to created exit for CS02 transaction to maintain bom details of a mater

    hi ,
         plz explain how to created exit for CS02 transaction to maintain BOM details of a material. what is the BOM component . give me sample example.

    Hi,
    these are the user-exits for CS02
    Transaction Code - CS02                     Change Material BOM
    Exit Name           Description
    PCSD0001            Applications development R/3 BOMS
    PCSD0002            BOMs: Customer fields in item
    PCSD0003            BOMs: Customer fields in header
    PCSD0004            BOM comparison
    PCSD0005            BOMs: component check for material items
    PCSD0006            Mass changes user exit
    PCSD0007            Check changes in STKO
    PCSD0008            WBS BOM: Customer-specific explosion for creating
    PCSD0009            Order/WBS BOM, determine URL page
    PCSD0010            Order/WBS BOM, determine explosion date
    PCSD0011            Knowledge-based order BOM, parallel update
    PCSD0012            Customer - Mat. number/mat. number during material exchange
    PCSD0013            Customer-specific processing of an explosion for BOM browser
    Regards
    Nilesh

  • BOM Details in to a Purchase and Sales Documents

    Hi
    How to get BOM Details in to a Purchase and Sales Documents (With COmponentItems Details).

    Hi Chakrapani Bandaru,
    According to our knowledge, only BOM of 'Sales' type can be displayed with its components together in Sales documents. But this kind of BOM can not be selected in Purchase documents since they can not be 'Purchased Item' (Item Master Data).
    Additionally, BOM of 'Template' type can also display its components in Sales/Purchase documents, but in a different way. The parent and its children are parallel in the documents.
    Regards,
    Candice Ren
    SAP Business One Forums Team

  • Get BOM where Material is used

    HI experts
    I need a function (fm or class) to get all BOM's where a material is used.
    The FM CS_WHERE_USED_MAT is very helpful, but it just works on the first level.
    I need all levels. Like CS_BOM_EXPLOSION but the other way.
    Thx in advance
    Christian

    We had a requirement to get the complete where used list for a material. We were not able to find any specific standard FM for it.
    The FM CS_WHERE_USED_MAT was called in loop to achieve it. The logic is described below.....
    1. APPEND the parent material to internal table.
    2. LOOP on internal table
        CALL  FM CS_WHERE_USED_MAT for materials in internal table
        APPEND the child materials in the internal table deleting duplicates.....
        ENDLOOP

  • Get Folder details(CV01N) based on material.

    Hi Friends,
    I have created a document(CV01N) and linked the material via program. I need to add the same material in root folder which is in Document browser tab.
    I'll get the corresponding material number range and add it.
    How to get the folder based on material.
    Thanks with Regards,
    Vallamuthu M.

    Solved.
    Get data from AUSP table using ATWRT field.
    Thanks with Regards,
    Vallamuthu M.

  • BOM extraction of a material

    hi All,
           i want to extract BOM of a material upto the  extreme level, can any one pls suggest me the function modules to use or let me know the procedure how to do it.
    Thanks N Regards,
    Sreeram Prasad.

    You can look into the tables MAST, STKO & STPO for getting the BOM details..

  • How to get BOM component dependant demand whitout having BOM header in APO?

    Hello,
    I would like to know if it is possible to get BOM component dependant demand in APO without having BOM header in APO.
    If someone already did that, please thanks to share your experience.
    Thanks a lot and best regards.
    M.Niang

    Hi Niang,
    There is an functionality in APO - DP module called "Forecasting with Bills of Material". You need create DP-BOM (PDS/PPM) from R/3.
    Please refer the SAP help link for details.
    http://help.sap.com/saphelp_scm50/helpdata/en/8f/9d6937089c2556e10000009b38f889/frameset.htm
    Hope this is what you are looking for.
    Regards,
    Nawanit

  • Help neede to get Cost Itemization for a material

    Dear All,
    I am developing one report for Cost Component Details. First of all I Fetch Cost Estimate No for the Material from KEKO table then I search KEPH table for its Cost Components here i get 2 entries for a material one is for UPPER LEVEL and One for LOWER LEVEL. And after that i use "BAPI_COSTESTIMATE_ITEMIZATION" to get itemization but my problem is that i am not able to find data for LOWER LEVEL Components. I want both UPPER & LOWER LEVEL itemization for the particular material so i can match overall cost.
    So, can anybody help me in this matter.
    Thanks in Advance,
    With Regards,
    Mudassar Praniya.

    Solved.

  • How to get classification for a given material and material type in MM

    Hello Friends,
    One of my developer colleagues is struggling to find out : how to get classification for a given material and material type in MM?
    He is looking for probable table and table fields to Select from.
    I would appreciate seriously any help in this regard.
    ~Yours Sincerely

    Hi
    Below given the flow and table details for a given class and class type.
    - Table KLAH --> This contains the "Internal class no" [ for the given Class & Class type ]
    - Table KSML --> This contains the " internal character numbers " [ nothing but characteristics attached to the class ] , which can be fetched with the above fetched internal class no
    - Table AUSP --> This table contains the objects ( material ) attached to the internal characters of that class
    - Table CABNT --> This table contains the "Description" for the internal character numbers.
    - award points if this is ok

  • How to get MRP Details based on OPEN PO's

    Hi Experts,
    Could you please help me in getting details related to open purchase orders based on MRP Exceptions and MRP line items.
    I need develop a report based on plant, I have found one function module "MD_MRP_LIST_API" to get these details, but this works only with the combination of material and plant.
    kindly tell me whether we have any tables other than FM's, so that I can pull out the report based on plants.
    BR/Sathya.

    Hi Puneetb,
    If you want data directly from the 0material infoObject in BW you can do 2 things:
    1. Edit the updaterule to your destination cube and determine the values in an ABAP routine
    2. Change the attributes to navigational in both infoObject and cube so you can use them in queries (in this scenario you allways display the current attribute values instead of the values when loading the data.
    Is this what you were looking for?
    Kind regard,
    Alex

  • Function Module to get PO details based on Plant and PO date

    Hi
    1. Is there any Function Module to get PO details based on Plant and PO date?
    2. Is there any Function Module to get Material document details based on PO number?
    Thanks
    Narendra

    hi,
    check these standard reports.
    ME2L - By vendor
    ME2M - By material
    MSRV3 - By service
    ME2K - By account assignment
    ME2C - By material group
    ME2B - By tracking number
    ME2N - By PO number
    ME2W - By supplying plant
    also chck this func module.
    REPL_LIST_PURCHASE_ORDER_READ
    reward if hlpful.

  • Fm to display material details based on material description

    Hi,
    Is there any bapi or fm to display material details based on material description
    Regards,

    Hi,
    Get the material number from material description from MAKT table and then use the FM BAPI_MATERIAL_GET_DETAIL.
    Regards,
    Nagaraj

  • Sub contracting process BOM - In case of material to be disassemble

    How to create the reverse BOM in case of Material to be dis assemble at the vendor end.
    In this case we will be issuing one assembly to the Sub contracting vendor and he has to dis- assemble the assembly in 4 or 5 different components. How to create the BOM for the same.
    Material will be issued as one parts on 541 movement, How to receive the material in the above cases.
    Will the Sub-contract PO will contains the disassemble parts of Assembly.
    Please reply in detail mentioning the debit credit account also.
    Edited by: Csaba Szommer on Jan 10, 2012 8:45 AM

    Hi,
    Please refer the below links..
    Subcontracting Parent material - HOw to MAP in SAP
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/reverse-subcontracting-4238643
    Thanks.

Maybe you are looking for

  • How to write a procedure to load the data into a table using xml file as input to the procedure?

    Hi, Iam new to the xml, can u please anyone help me how to write procedure to load the data into a table using xml as input parameter to a procedure and xml file is as shown below which is input to me. <?xml version="1.0"?> <DiseaseCodes> <Entity><dc

  • Unable to start OracleBIJavaHostC process.

    Hi All, I was trying deploying Opatch on OBIEE 11.1.2.2.0 in between this process BI services stop working.when i use "opmnctl status" command it gives me the information that "OracleBIJavaHostC status is down".After that i execute "opmnctl startproc

  • IPhoto crashes soon after launch

    My iPhoto crashes a few seconds after launch. I have followed all the iPhoto repair options. I have tried iPhoto Library Manager but get an error when trying to do a re-build (I have contacted their support to see what the problem with that is) Any h

  • What previlege does user HR need to run a scheduler?

    What previlege does user HR need to run a scheduler? conn system; BEGIN   DBMS_SCHEDULER.create_schedule (     schedule_name   => 'add_partition_hourly_schedule',     start_date      => SYSTIMESTAMP,     repeat_interval => 'freq=hourly; byminute=0',

  • Auto Sync Missing Songs

    I have my iPod set to automatically sync to my office PC, so I don't have to worry about missing anything. Now my library shows 5656 and the music library on the pod 5636. The Diagnosis tool says one or more of the sync tests failed, but the help but