BOM Header and Components Relationship table

Hi There,
Can you please let me know the table which specifies the relationship between BOM Header and Its components in Product Master?
Any Help is appreciated.
Regards,
Chanakya Reddy

Thanks everyone,
Solved it myself.
Regards,
Chanakya Reddy

Similar Messages

  • Tables for BOM Header and Components

    Dear Friends,
    Please let me know which tables provide a link between the header Material and corresponding Component Materials of a BOM?
    I have seen STKO and STPO but couldn't find such a link in them. STPO gives the component material but I couldn't get any link to Header material.
    Regards,
    Alok.

    Hello Alok,
    Table for BOM header             - STKO
    Table for BOM item                - STPO
    Table for material to BOM link - MAST
    Check if MARC table has a material in it and the same material is available in MAST also, it means that BOM has been created for that material..
    If Material is available in MARC and not available in MAST, it means BOM has not been created for that material.
    Reward Points, if useful.
    Regards,
    Nitin.

  • SQVI for BOM header and component -reg

    Hi ,
    Requirement is we need to download BOM header wise Components for the BOM headers across the plants
    As it is of mass and for around 7000 BOM headers we need the details , i have created a SQVI query using MAST , STKO and STPO
    but when i execute it in masss inputting the BOM headers  results are not correct  with errors like repetitions , not matching with CS03 etc...
    is there any other effective way for this requirement ?
    i need to input the BOM header material and where and all plants they have BOM i need to get the corresponding BOM components
    pl suggest  soon as it is relevant for year end
    Madhu Kiran

    Hi ,
    Tried with the combination of MAST--STKO-STAS----STPO , still having issues
    SQVI results shows combination of soem BOM headers and components which are not yet all linked through BOM , wehn i cross check the result through CS03 , for the BOM header , plant there is no BOM still SQVI shows the records again with repititions
    dont know which is  missing as earlier i used to feel this SQVI is effective  but i think if we use more number of tables we get issues ..
    i can not ask for ABAP report development as this is one time activity required for year end things
    if some one can share any doc on this please share, as i tried and tired with all combinations
    can not use the function module as i need to input materials in mass
    pl guide
    Madhu kiran

  • Valid to date for BOM Header and Item

    Hello everyone,
    I have been searching for "valid-to" date for BOM header and Items since several days but no luck ..
    I know we can see it using transactions cs11/cs03 etc. But i wish to know the table where they are stored. As I need to extract them to BW.
    Any help will be highly appreciated.
    Thanks in advance!
    Regards,
    Anuj

    Hi Anuj
    In table STPO,the field AEDAT gets updated only when a change number is used,otherwise the valid to date will be shown nil here.
    And also ref the link
    Problem finding Valid To Date or Change number to on BOM
    pavan

  • How to repeat Header and Footer's table on each page

    Hi all of you,
    I have to create an invoice form which look alike the Purchase order forms example provided by Adobe.
    In the table object, i set up exactly the same attribute as the example but i didn't manage to get the same result :
    - the table is nested in a subformular which attribute is Flowed + Page Break.
    - Header and Footer's table are set up such as they should be repeated on every page.
    I work on the Adobe Life cycle 8.01 and ECC 6.0.
    Thanks for the help

    Hi Vincent,
    Use the Create Table assistence while you creating the table, there you will specify the header and footer
    Change the table type as flowed in object tab.
    Then select the Header Row in Hierarchy tab and go to the Pagination in object tab
                           there you check Include Header Row in Subsequent Pages and same as footer.
    By
    Parthi

  • BOM Header and BOM Item Enhancements

    Hi all,
    I just want to make sure I got this correct so far and looking for further info. I have some z-fields(custom fields) that I'm adding to CI_STKO (BOM Header) and CI_STPO (BOM ITEM). I need to be able to display these fields in transactions CS02,CS03,CS11,CS12,CS13. I think I'm suppose to use the following enhancements:
    PCSD0003 : BOMs: Customer fields in header
    PCSD0002 : BOMs: Customer fields in item
    Can anyone give me some info on the screen exits in these enhancements if this is correct and if not can someone give me some guidence to displaying the z-fields in these transaction?
    Message was edited by:
            Akeem Lockett

    You will have to make all the modifications inside the function group XCSA.
    You wiill get the necessary exits there.
    For displaying the custom fields you can use the screens 701 to 721. These are subscreens for displaying the item details. The moment you make changes here in these screens , you will be able to see the effect in CS01/02/03.
    Hope it helps.

  • ALV for one header and multiple item table

    Hello All,
    I have a requirement to display records from one header and three item table using ALV.
    The output should be such that
         1-line - record from header table
         followed by - records from the 1st item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
         followed by - records from 2nd item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
         followed by - record from 3rd item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
    Can you help me out.
    Thanks and regards,
    Subramanian.

    hi
    data population is same for alv or normal reporting.
    First you select the data from header
              select from item data using for all entries in it_header where....
              select item 2
              selct item 3
    loop a it_header
    read item1
    read item2
    read item3
    check sy-subrc
    move to i_final
    then build fieldcatalog and display..
    look the example
    SELECT   PERNR
               STELL
               WERKS
               ABKRS
               ENAME
               ENDDA
               BEGDA
               ORGEH
               PERSG
               PERSK
               KOSTL
          FROM PA0001
          INTO TABLE I_PA0001
         WHERE PERNR IN S_PERNR
           AND ABKRS IN S_ABKRS
           AND PERSG IN S_PERSG.
    SELECT  SPRSL
                STELL
                ENDDA
                STLTX
                FROM T513S
                INTO TABLE I_T513S
                FOR ALL ENTRIES IN I_PA0001
                WHERE STELL = I_PA0001-STELL AND SPRSL = 'EN'.
        SELECT  PERSA
                NAME1
             FROM T500P
             INTO TABLE I_T500P
             FOR ALL ENTRIES IN I_PA0001
            WHERE PERSA EQ I_PA0001-WERKS.
      LOOP AT I_PA0001 .
    READ TABLE I_T513S INTO WA_T513S WITH KEY STELL = WA_PA0001-STELL
                                                  SPRSL = 'EN'
                                                  ENDDA = WA_PA0001-ENDDA.
        IF SY-SUBRC IS INITIAL.
          MOVE WA_T513S-STLTX TO WA_FINAL-STLTX.
        ENDIF.
        V_SNO = V_SNO + 1.
    Read Value For Personal area Text.
        READ TABLE I_T500P INTO WA_T500P WITH KEY
                                PERSA = WA_PA0001-WERKS.
        IF SY-SUBRC EQ 0.
          MOVE WA_T500P-NAME1 TO WA_FINAL-NAME1.
        ENDIF.
    FORM DISPLAY_DATA .
    --BUILDING FIELD CATALOG--
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         I_PROGRAM_NAME               = V_REPID
         I_INTERNAL_TABNAME           = 'I_FINAL'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
         I_INCLNAME                   = V_REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
        CHANGING
          CT_FIELDCAT                  = I_FCAT[]
       EXCEPTIONS
         INCONSISTENT_INTERFACE       = 1
         PROGRAM_ERROR                = 2
         OTHERS                       = 3
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *--Modifying titles of Field Catalog--
      READ TABLE I_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'S_NO'.
      IF SY-SUBRC EQ 0.
        WA_FCAT-REPTEXT_DDIC = 'X'.
        WA_FCAT-SELTEXT_S = TEXT-041.
        WA_FCAT-SELTEXT_M = TEXT-041.
        WA_FCAT-SELTEXT_L = TEXT-041.
        WA_FCAT-OUTPUTLEN = 3.
        WA_FCAT-JUST = 'L'.
        MODIFY  I_FCAT FROM WA_FCAT INDEX SY-TABIX.
        CLEAR WA_FCAT.
      ENDIF.
    do for all the fields u want to display..
    Award points if useful.

  • To check the stock of the header and components in same screen?

    Hi ,
    Is there is any option available in SAP to check the header and its components exising stock in same screen like in multilevel bom we can see BOM and components same way we need one more column which shows the avialble stock.
    Thanks
    KK

    Dear Madhu,
    My question is we need to check the stock for one material and it's components to manufacture it in one screen for this is there any option available in standard SAP,where as you have suggested MB52 which gives me the plant stock for all materials.
    Thanks
    KK
    Edited by: kiran kumar on Mar 28, 2010 8:31 AM

  • Query to display BOMs Header and Item

    Hello SAP gurus
    I am trying to create a query to display BOMs with header and item. For that I am using tables MAST, STKO and STPO.
    The table join is:
    MAST -> STKO -> STPO
    MAST - WERKS, STLNR and STLAL
    STKO - STLNR and STPOZ
    The system dont show anything...
    Can someone help me?
    Thanks in advance.
    Adelmo Silva

    Yes, it works but...
    If I have 2 alternatives, the system show everything even if i select alternative 1 or 2.
    I am missing something... because system is showing all alternatives...
    System is showing something like this:
    Material     BOM     AltBOM     BOM St     Item     ICt     Component     Valid from     Quantity     Un
    726121012     00131075     1     01     0010     L     109219     17-12-2007     0,200     KG
    726121012     00131075     1     01     0020     L     109230     17-12-2007     0,003     KG
    726121012     00131075     1     01     0030     L     109232     17-12-2007     1,166     M2
    726121012     00131075     1     01     0040     L     726004012     17-12-2007     0,120     M3
    726121012     00131075     1     01     0010     L     109526     17-12-2007     0,200     KG
    726121012     00131075     1     01     0020     L     109232     17-12-2007     1,166     M2
    726121012     00131075     1     01     0030     L     726004012     17-12-2007     0,120     M3
    Edited by: Adelmo Silva on Jan 9, 2008 9:07 AM

  • Header and Footer in Table

    Hi,
    Invoice Smartforms:
    I create main window with an table with header and footer.
    In this table they are a loop to the different billing item.
    When they are lot of billing item, the table continue in the next page.
    The Header of the table is displaying very well. But the Footer don't want display in each next page. He display the Footer just in the last page or i need have footer in each next page (for the total price of Billing item in each page ).$
    I have test each evens option and condition in footer but i don't found why he don't want display in each page.
    I have insert a logic program (breakpoint) to view if he pass, and yes he pass in each page in the footer.
    Thanks.

    Hi,
    Create a folder within the main window as footer .
    So only after the details of main window body area is displayed it will show the footer making it appear only in the last page
    Regards,
    Nisrin.

  • Display constant values in header and items from table in ALV

    Hello all,
    I have to dispaly the header and Item entires in the output . and the point is header values are all constant and they are not related to item data .  item data is to dispalyed from VBAP table .
    so how can i achive this .. can i use this FM REUSE_ALV_HIERSEQ_LIST_DISPLAY ...
    example of outpput..
    Header inforamtions..
    name             city                  areacode              areazone            postzip
    abcde            xyz                   1244                    abc                      123456
    and the item details should be right below the header details
    Cnt     Vbeln            vkorg                vtweg               matnr       etc           etc
    1         xxx               xx                         xx                 xxxx         xxx          xxxx
    2        xxx               xx                         xx                 xxxx         xxx          xxxx
    3       xxx               xx                         xx                 xxxx         xxx          xxxx
    4      xxx               xx                         xx                 xxxx         xxx          xxxx
    5    xxx               xx                         xx                 xxxx         xxx          xxxx
    6   xxx               xx                         xx                 xxxx         xxx          xxxx
    I am able to dispaly the line items with the FM 'REUSE_ALV_GRID_DISPLAY' plz advice  the best solution to achive this
    thanks
    Raj
    Edited by: abaprthree on Oct 28, 2009 12:30 PM

    Hi,
    For this you will need to define header for the ALV. Here is a simple example how to do this:
    First you need to write one Header form like following:
    FORM f004_header  USING it_head TYPE slis_t_listheader..
      DATA : wa_line TYPE slis_listheader.
      CLEAR wa_line.
      wa_line-typ = 'H'. " H = Header, S = Selection, A = Action
      wa_line-info = 'List of Sales Orders'.
      APPEND wa_line TO it_head.
    " Here type out all the required data one by one in work are and append it to internal table
    ENDFORM.                    "f004_header
    before calling REUSE_ALV_GRID_DISPLAY you need to call following
    TO HEADER EVENT
    FORM f006_top.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_header.
    ENDFORM.                                                   
    and for REUSE_ALV_GRID_DISPLAY call as following
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_top_of_page   = 'F006_TOP'
          it_fieldcat              = t_fieldcatalog[]
        TABLES
          t_outtab                 = it_data.
    Let me know if any other help is needed.

  • Dms link to bom header and bom item

    hi, all
    I read the solutions who r given to me, also i worked according to them. in dms i m not finding attched documents,which r attached at bom header ' CS01/CS02'.
    also i treid to change doc's in dms for bom item, the sys message say's 'this transaction is not support for this activity.
    rgd
    ben

    hi benaka,
    Go to dms,
    Dc10, do the object linking for material/ BOM.
    whatever document you have selected for object linking attach the file to it.
    go to cs01n, give your material name, enter.
    once you, inside the bom, select document tab, enter your document type and number and save it.
    this way that document is link to that bom. and whatever the file is there inside document, you casn see it. just click it.
    thanks,
    regards,
    nitin
    award point if useful

  • Loop through header and item internal table

    Hi,
        My scenario will be like this, i have two internal tables which is populated based on certain conditions, now i have to call one bapi to update values that am going to store values in a tree structure say for eg mat01 is header and mat02 and mat03 are item values.
          What is the efficient method to call that bapi one time for header creation and consequte times for item creation respectively.
      shall i have to loop thro two internal tables i.e header and item?
    suggestions are welcomed from the experts...
    Thanks in advance...
    Regards,
    Babu

    Hi Babu
    you can do something like that.
    loop it_header.
    *Call bapi to create header
      loop it_item where field_key = it_header-field_key.
    *  Call bapi to create item  
      endloop.
    endloop.
    The important part is the where sentence in the second loop.
    Regards
          David N.

  • CLOSED- Recursive Tree with Recursive Table and seperate Relationship table

    Hi All,
    I am trying to achieve a adf recursive tree with recursive table but relationships are stored in separate table like
    Table A:
    id name
    1 Val1
    2 Val2
    3 Val3
    4 Val4
    5 Val5
    Table B:
    fromid rel_type toid
    1 Parent-of 2
    2 Parent-of 3
    3 Parent-of 4
    1 Parent-of 5
    I did lots of reading from forum and various posts but couldn't make it work.
    Any suggestion what would be best approach and/or sample code for this ?
    Thanks

    I think that you can get this done by defining a VO that fetches all the top level nodes and have a view link to a VO that has all the details with a self recursive viewlink
    Query for the top level
    Select A.id, A.name
    from A
    Where A.id not in (select disctinct toid from B)
    Query for the detail level
    Select A.id, A.name, B.from, B.to
    from A,b
    where a.id = b.toid;
    ViewLink is going to be:
    detail.from=master.id
    and another viewlink for the recursive relationship
    detail.from=detail.to

  • ECM header and OMR status tables?

    In which tables can i find ECM header statuses (approve, close, check ECR...etc)  and Object managment records statuses (change possible, release change etc)
    I checked many tables like AENR, AEOI, and few others but no use. Please help me here

    Also you can go Enviroment-Reporting-status report to the details status for ECR.
    Please refer the attachement.
    Cheers

Maybe you are looking for