Skip to Content
author's profile photo Former Member
Former Member

How to identify the component is an assebly and Phantom component

Hi ,

I am working on BOM. If You see the transaction cs03 (go with any bom ) inside we can see the componenets......

These componenet having the check boxes for Assembly and Phantom componenet. If the check box is cheked we will consider as that component is Assembly Or Phantom....

My question is how to identy this at table level..i don't see any field related to these check boxess in SRPO , STKO and MAST.

Please do need full.

Regards,

Raja.K

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 05, 2008 at 01:32 PM

    Go to Table "STPO", U will get Special Procurement "50" for Phantom assemblies.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Raja,

      If you can handle ABAP, please use FM 'CS_BOM_EXPL_MAT_V2' to explode your Bom

      Write something like this :

      
      *     Tables  "call CS_BOM_EXPL_MAT_V2 "
      DATA: BEGIN OF stb OCCURS 0.
              INCLUDE STRUCTURE stpox.
      DATA: END OF stb.
      ...
      
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            auskz                 = ' '
            capid                 = 'PP01'
            datuv                 = sy-datum
            emeng                 = '1.000'
            stlan                 = '1'
            stlal                 = mast-stlal
            mtnrv                 = matnr
            mehrs                 = 'X'
            mmory                 = '1'
            stpst                 = '0'
            werks                 = werks
          IMPORTING
            topmat                = selpool
            dstst                 = dstst_flg
          TABLES
            stb                   = stb
            matcat                = matcat
          EXCEPTIONS
            material_not_found    = 4
            no_plant_data         = 8
            no_bom_found          = 12
            no_suitable_bom_found = 16.
      
        SORT stb BY idnrk.
      

      The field which will indicate you wether your component is either an Assembly or a Phantom is stb-dumps ( EQ space , for assembly ).

      Hope this helps,

      Erwan

  • Posted on Jun 05, 2008 at 04:00 PM

    Hi Rajakumar,

    You can define special procurement both in BOM and material master. The settings in BOM overrides the setting that is in material master.

    So, you can define your part as phantom assy

    - STPO-ITSOB

    - MARC-SOBSL

    As I understand you do not define special procurement in BOM, you define it in material master (generally).

    In this case I think MAST-STKO-STPO is not enough...you should connect table MARC to STPO and chose the above mentioned field.

    BR

    Csaba

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.