‎2006 Jun 29 8:44 PM
I cannot find any documentation for function module CS_BOM_EXPL_MAT_V2. It is a very powerful function module, however, it is not useful without documentation. I know that it can do single level boms as well as multi level and a host of other things, but I can only guess without documentation. Do you know where I can get documentation for this function module.
thank you in advance, Leonard Getz, Dy4 Systems Inc. Ottawa, Ontario, Canada.
‎2006 Jun 29 8:47 PM
Not sure about documentation, but here is a sample of how you can call it.
data: begin of stpox occurs 1000.
include structure stpox.
data: end of stpox.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'PP01'
mehrs = 'X'
datuv = sy-datum
mtnrv = p_matnr
werks = p_werks
emeng = '1'
tables
stb = stpox
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
others = 8.
Regards,
Rich HEilman
‎2006 Jun 29 8:47 PM
Not sure about documentation, but here is a sample of how you can call it.
data: begin of stpox occurs 1000.
include structure stpox.
data: end of stpox.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'PP01'
mehrs = 'X'
datuv = sy-datum
mtnrv = p_matnr
werks = p_werks
emeng = '1'
tables
stb = stpox
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
others = 8.
Regards,
Rich HEilman
‎2006 Jun 29 8:57 PM
Rich, Thank you for your prompt response that does help a bit, however there many fields/parameter options that this function module offers. I would like to know the defined purpose of each and everyone of the parameters. The thought is that if I know what it can do,I may want to use that option. Unfortunately, I don't know the meaning/purpose of many of the parameters offered. That is why I asked if there was any documentation. Your answer still helps. I appreciate that, thanks Leonard.
‎2006 Jun 29 9:04 PM
‎2006 Jun 29 9:15 PM
May be logging in German might give you some documentation that you can translate later into English. This is used by all of us, but it is not meant for public use. It is an internal SAP function module.
‎2009 Jan 20 6:02 AM
Hi
I can see this thread has not yet been resolved.
I need documentation or help regarding this FM.
Please reply if any one knows
Thanks
‎2011 Nov 09 11:32 AM
This is what I found:
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2' "BOM explosion for material
EXPORTING
ftrel = SPACE " csdata-xfeld Limited multi-level - stop explosion at items not relevant to production
aufsw = SPACE " csdata-xfeld Determine and enter order level and channel
aumgb = SPACE " csdata-xfeld Calculate scrap quantity
aumng = 0 " stko-bmeng Scrap quantity
auskz = SPACE " csdata-xfeld Scrap
bagrp = SPACE " mara-matnr Assembly restriction
beikz = SPACE " stpo-beikz Material provision indicator
bessl = SPACE " csdata-xfeld Material provision selection indicator
bgixo = SPACE " csdata-xfeld Load assembly information for exploded assemblies only
brems = SPACE " csdata-xfeld Limited explosion
capid = 'STD1' " tc04-capid Application ID
cospr = SPACE " csdata-xfeld Internal: (CO) order-spec. MatPreRead
cuobj = 000000000000000 " marc-cuobj Configuration
datuv = 00000000 " stko-datuv Validity date
delnl = SPACE " csdata-xfeld Delete items not kept in stock from list
emeng = 0 " stko-bmeng Required quantity
erskz = SPACE " stpo-erskz Spare part indicator
erssl = SPACE " csdata-xfeld Spare part selection indicator
fbstp = SPACE " csdata-xfeld Limited multi-level - stop explosion at externally procured item
mbwls = SPACE " csdata-xfeld Read material valuation
mdmps = SPACE " csdata-xfeld Limited multi-level - explode phantom assemblies at least
mehrs = SPACE " csdata-xfeld Multi-level explosion
mkmat = SPACE " csdata-xfeld Limited multi-level; explode KMAT
mmaps = SPACE " csdata-xfeld Limited multi-level - explode at least M assembly (M order)
mmory = SPACE " csdata-xfeld Memory use ('1'=on;'0'=off;' '=no reaction)
mtnrv = SPACE " mara-matnr Material
postp = SPACE " stpo-postp Item category
rndkz = SPACE " csdata-xfeld Round off: ' '=always, '1'=never, '2'=only levels > 1
rvrel = SPACE " stpo-rvrel Relevant to sales
sanfr = SPACE " stpo-sanfe Production
sanin = SPACE " stpo-sanin Maintenance
sanka = SPACE " stpo-sanka Costing
sanko = SPACE " stpo-sanko Engineering/design
sanvs = SPACE " stpo-sanvs Shipping
schgt = SPACE " stpo-schgt Bulk material
stkkz = SPACE " stpo-stkkz PM assembly
stlal = SPACE " stko-stlal Alternative BOM
stlan = SPACE " stzu-stlan BOM usage
werks = SPACE " marc-werks Plant
mdnot = SPACE " csdata-xfeld Restriction on MDMPS: do not explode M phantom
panot = SPACE " csdata-xfeld Restriction on MDMPS: no parallel discontinue
IMPORTING
topmat = " cstmat Data for start material
dstst = " csdata-xfeld Structure destroyed by filter
TABLES
stb = " stpox Collective item data table
matcat = " cscmat Material catalog (sub-assemblies)
EXCEPTIONS
ALT_NOT_FOUND = 1 " Alternative not found
CALL_INVALID = 2 " Incorrect parameter combination
MATERIAL_NOT_FOUND = 3 " Material not found
MISSING_AUTHORIZATION = 4 " No authorization (bill of material)
NO_BOM_FOUND = 5 " No BOM for this material
NO_PLANT_DATA = 6 " Material not maintained in plant
NO_SUITABLE_BOM_FOUND = 7 " BOM does not exist
. " CS_BOM_EXPL_MAT_V2