SAP Reports / Programs

RGTABKEY_COMPRESS SAP ABAP Report - Compress GTABKEY/GTABKEYEXC







RGTABKEY_COMPRESS 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 RGTABKEY_COMPRESS 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 RGTABKEY_COMPRESS. "Basic submit
SUBMIT RGTABKEY_COMPRESS AND RETURN. "Return to original report after report execution complete
SUBMIT RGTABKEY_COMPRESS 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: EXC_COM = Compress Exceptions
Selection Text: EXC_OBS = Obsolete Exceptions
Selection Text: EXC_WOR = Surplus Exceptions
Selection Text: GP_TABL = Table
Selection Text: PV_DET = Display Details
Selection Text: PV_GROUP = Group
Selection Text: PV_TEST = Test Run
Selection Text: PV_TIME = Get Runtime
Selection Text: REG_COM = Compress Registrations
Selection Text: REG_WOR = Exceptions Without Master
Selection Text: RESTART = Resume
Title: Compress GTABKEY/GTABKEYEXC


INCLUDES used within this REPORT RGTABKEY_COMPRESS

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:

DB_LOCAL_TIME CALL FUNCTION 'DB_LOCAL_TIME' IMPORTING date = g_date_begin time = g_time_begin.

DB_LOCAL_TIME CALL FUNCTION 'DB_LOCAL_TIME' IMPORTING date = g_date_end time = g_time_end.

GET_DELTA_TIME_FROM_DT CALL FUNCTION 'GET_DELTA_TIME_FROM_DT' EXPORTING t1 = g_time_begin t2 = g_time_end d1 = g_date_begin d2 = g_date_end IMPORTING t3 = g_duration_time.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = 'BC_RDDCRTAB' CHANGING physical_filename = fname_p EXCEPTIONS OTHERS = 1.

ENQUEUE_E_GTABKEY CALL FUNCTION 'ENQUEUE_E_GTABKEY' EXPORTING mode_gtabkey_enq = 'E' tabname = ls_tabname-tabname * cgroup = lv_group _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_GTABKEY CALL FUNCTION 'DEQUEUE_E_GTABKEY' EXPORTING mode_gtabkey_enq = 'E' tabname = ls_tabname-tabname.

ENQUEUE_E_GTABKEY CALL FUNCTION 'ENQUEUE_E_GTABKEY' EXPORTING mode_gtabkey_enq = 'E' tabname = ls_tabname-tabname * cgroup = lv_group _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = 'T' filename = lv_protname subdir = 'log' IMPORTING file = pv_prot EXCEPTIONS wrong_call = 01.

ENQUEUE_E_GTABKEY CALL FUNCTION 'ENQUEUE_E_GTABKEY' EXPORTING mode_gtabkey_enq = 'E' tabname = ls_tabname-tabname * cgroup = lv_group _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_GTABKEY CALL FUNCTION 'DEQUEUE_E_GTABKEY' EXPORTING mode_gtabkey_enq = 'E' tabname = ls_tabname-tabname.



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