cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify the component is an assebly and Phantom component

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

pankaj_singh9
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Thanks for the reply....We have a field SOBSL in MARC table. This is also spl procurement. In stpo field is not always filled.

Any way thanks for the reply.

Have a nice evening!!!

Regards,

Raja.K

pankaj_singh9
Active Contributor
0 Kudos

But you can not mark a BOM item as "Phantom" w/o special procurement "50" in BOM item details.

Former Member
0 Kudos

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

Answers (1)

Answers (1)

csaba_szommer
Active Contributor
0 Kudos

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