on 06-05-2008 1:53 PM
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
Go to Table "STPO", U will get Special Procurement "50" for Phantom assemblies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.