SAP Reports / Programs

SAPDBPMI SAP ABAP Report - documentation and ABAP source code







SAPDBPMI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This database has not been released...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPDBPMI into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SAPDBPMI. "Basic submit
SUBMIT SAPDBPMI AND RETURN. "Return to original report after report execution complete
SUBMIT SAPDBPMI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: DY_WERKS = D Plant
Selection Text: DY_TRPNR = D Reference location
Selection Text: DY_TPLNR = D FunctLoc.
Selection Text: DY_STKKZ = D MaintAssembly
Selection Text: DY_SANIN = D Only PM-rel.it.
Selection Text: DY_MATNR = D Material
Selection Text: DY_LEVUP = D Levels above
Selection Text: DY_LEVDO = D Levels below
Selection Text: DY_GRAFC = D As graphic
Selection Text: DY_FLHIE = D FunctLocHier.
Selection Text: DY_EQUNR = D Equipment
Selection Text: DY_EQUBI = D EquipInst.
Selection Text: DY_EQHIE = D EquipHier.
Selection Text: DY_DATUM = D Valid from
Selection Text: DY_CAPID = D Application
Selection Text: DY_BOMEX = D BOM explosion
Text Symbol: 003 = Display
Text Symbol: 002 = Parameters (for BOM explosion)
Text Symbol: 001 = Explosion
Text Symbol: %FS = Database structure selection
Text Symbol: %FP = Database structure parameters


INCLUDES used within this REPORT SAPDBPMI

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

PM_HIERARCHY_CALL_IFLO CALL FUNCTION 'PM_HIERARCHY_CALL_IFLO' EXPORTING DATUM = DY_DATUM LEVDO = H_LEVDO LEVUP = H_LEVUP SELMOD = 'D' TPLNR = DY_TPLNR TABLES IFLO_TAB = H_IFLO_TAB EXCEPTIONS NO_HIERARCHY = 01 NO_SELECTION = 02 NO_VALID_TPLNR = 04.

PM_HIERARCHY_CALL CALL FUNCTION 'PM_HIERARCHY_CALL' EXPORTING DATUM = DY_DATUM LEVDO = H_LEVDO LEVUP = H_LEVUP SELMOD = 'D' TPLNR = IFLO-TPLNR SELECT_EQUI = 'X' WITH_EQUI = 'X' WITH_EQUI_HIER = 'X' TABLES EQUI_TAB = H_EQUI_TAB IFLO_TAB = H_IFLO_TAB STPO_TAB = H_STPO_TAB EXCEPTIONS NO_HIERARCHY = 01 NO_SELECTION = 02.

CS_BOM_EXPLOSION_EQUI CALL FUNCTION 'CS_BOM_EXPLOSION_EQUI' EXPORTING CAPID = DY_CAPID DATUV = DY_DATUM EQNRV = V_EQUI-EQUNR MEHRS = 'X' TABLES STB = H_STB EXCEPTIONS MISSING_AUTHORIZATION = 01 NO_BOM_FOUND = 02 NO_SUITABLE_BOM_FOUND = 03.

CS_BOM_EXPLOSION_MAT CALL FUNCTION 'CS_BOM_EXPLOSION_MAT' EXPORTING CAPID = DY_CAPID DATUV = DY_DATUM MTNRV = V_EQUI-SUBMT WERKS = V_EQUI-IWERK STKKZ = DY_STKKZ SANIN = DY_SANIN MEHRS = 'X' TABLES STB = H_STB EXCEPTIONS MISSING_AUTHORIZATION = 01 NO_BOM_FOUND = 02 NO_SUITABLE_BOM_FOUND = 02.

INST_AUTHORITY_CHECK_ALL CALL FUNCTION 'INST_AUTHORITY_CHECK_ALL' EXPORTING BEGRP = IFLO-BEGRU IWERK = IFLO-IWERK SWERK = IFLO-SWERK TCODE = 'IL03' EXCEPTIONS KEINE_BERECHTIGUNG_BEGRP = 01 KEINE_BERECHTIGUNG_IWERK = 02 KEINE_BERECHTIGUNG_SWERK = 03.

INST_AUTHORITY_CHECK_ALL CALL FUNCTION 'INST_AUTHORITY_CHECK_ALL' EXPORTING BEGRP = V_EQUI-BEGRU IWERK = V_EQUI-IWERK SWERK = V_EQUI-SWERK TCODE = 'IE03' EXCEPTIONS KEINE_BERECHTIGUNG_BEGRP = 01 KEINE_BERECHTIGUNG_IWERK = 02 KEINE_BERECHTIGUNG_SWERK = 03.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAPDBPMI or its description.