Identify Current BOM Components
We are trying to determine the current active components in a BOM for a custom report. It appears that SAP's Logical Data Base (CMC - Material BOM's) is giving the correct information when we use it for queries but we need to incorporate that logic into ABAP code for the report. Has anyone learned how to incorporate SAP's ABAP code from the Logical Data Base into a custom report? If not, can anyone layout the tables and logical order to be followed to captured current BOM components. We are using MAST, STPO and STAS as our main tools but we would prefer to use the logic from the SAP Logical Data Base.
Any help would be appreciated.
Butch Godin
ButchS.Godin@Energizer.Com
_________________
Butch Godin
Energizer Battery Company
802-442-1317
Take a look at :
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
CSTMAT will hold the very top level data.
CSCMAT with hold a list of BOM componants that are BOMs
STPOX (whoever thought of that?) is everything else. This as a table is a biggie and well worth spending some time on.
Good Luck