SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | General Object Relations(BC-SRV-GBT-OBL) SAP BC

OPTIMIZE_TABLES SAP ABAP Report - Clean Up of Role and Relationship Tables







OPTIMIZE_TABLES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter OPTIMIZE_TABLES 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 OPTIMIZE_TABLES. "Basic submit
SUBMIT OPTIMIZE_TABLES AND RETURN. "Return to original report after report execution complete
SUBMIT OPTIMIZE_TABLES 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: P_NML = Relationships w/o Model Data
Selection Text: P_NMR = Role w/o Model Data
Selection Text: P_NRI = Invalid Role Instances
Selection Text: P_ORI = Referenced Role Instances
Selection Text: P_TEST = Only Test Mode (No DB Update)
Title: Clean Up of Role and Relationship Tables
Text Symbol: T09 = Relationship Entries Without Model Data
Text Symbol: T10 = Relationship Entries with Invalid Role Instances
Text Symbol: T11 = Referenced Role Instances
Text Symbol: T00 = Role Type
Text Symbol: T01 = Rel. Type
Text Symbol: T02 = Relationship ID
Text Symbol: T03 = Role ID (A)
Text Symbol: T04 = Role ID (B)
Text Symbol: T05 = Database Table
Text Symbol: T06 = Number
Text Symbol: T07 = Role ID
Text Symbol: T08 = Role Entries Without Model Data


INCLUDES used within this REPORT OPTIMIZE_TABLES

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:

No SAP FUNCTION MODULES are executed within this report code!



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 OPTIMIZE_TABLES or its description.