2013 Mar 13 6:00 AM
I am try to display a report for CS11... for this am using following function module.. 1 CS_BOM_EXPL_MAT_V2 or 2 . CSAP_MAT_BOM_READ
1 CS_BOM_EXPL_MAT_V2 : its produce all material in own format.. but i need a CS11 Format.. row does not changed..
2 . CSAP_MAT_BOM_READ : its produce partial material in CS11 format.. remaining cant get...
if any function module or BAPI available for get the all level of bom explosion...
Second Question : The Bom level stored any table .... if its yes.. kindly give table and field name?
2013 Mar 13 7:22 AM
Hi Subramani,
Please check below code and FM also.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
auskz = 'X'
brems = 'X' capid = ' '
datuv = p_datuv
mehrs = 'X'
mtnrv = p_mkal_dta-matnr
stlal = p_mkal_dta-stlal stlan = p_mkal_dta-stlan
werks = p_mkal_dta-werks
importing
topmat = p_topmat
dstst = l_dstst
tables
stb = p_i_stpox
matcat = p_i_cscmat
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
.
U can check these Fm also.
1. CS_BOM_EXPLOSION
2. CS_BOM_EXPLOSION_MAT
Thanks
Tarak
2013 Mar 13 9:42 AM
Hi Subramani, please check STKO(header) and STPO(item) tables.
2013 Mar 13 12:21 PM
Hi,
check program RCS11001.
Fill parameters you have and debug it to see what FM is called and which parameters are used.
Regards,
Guilherme Frisoni