SAP Reports / Programs

R_DISPLAY_TABLE_INDEX SAP ABAP Report - Table Indexes







R_DISPLAY_TABLE_INDEX 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 R_DISPLAY_TABLE_INDEX 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 R_DISPLAY_TABLE_INDEX. "Basic submit
SUBMIT R_DISPLAY_TABLE_INDEX AND RETURN. "Return to original report after report execution complete
SUBMIT R_DISPLAY_TABLE_INDEX 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_INDX = D .
Selection Text: P_TAB = D .
Title: Table Indexes
Text Symbol: 001 = Primary Key
Text Symbol: 002 = Create Index
Text Symbol: 003 = Primary Key Index Cannot Be Changed
Text Symbol: 004 = Position Cursor on Header Line


INCLUDES used within this REPORT R_DISPLAY_TABLE_INDEX

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:

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = 'BTAB_INDEX_HEADER' i_buffer_active = gc_x CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = 'BTAB_INDEX_ITEM' i_buffer_active = gc_x CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = lv_tabname fieldname = ls_item-fieldname lfieldname = lf_lfieldname IMPORTING dfies_wa = ls_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid it_fieldcat = gt_fieldcat i_tabname_header = 'GT_HEAD' i_tabname_item = 'GT_ITEM' is_keyinfo = gs_keyinfo i_save = 'A' is_variant = gs_disvariant is_layout = gs_layo i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' TABLES t_outtab_header = gt_head t_outtab_item = gt_item EXCEPTIONS program_error = 1 OTHERS = 2.

RS_DD_INDX_EDIT CALL FUNCTION 'RS_DD_INDX_EDIT' EXPORTING objname = lv_objname indexname = lv_indexname EXCEPTIONS object_not_found = 1 object_not_specified = 2 permission_failure = 3 not_executed = 4 OTHERS = 5.

DD_LIST_INDX CALL FUNCTION 'DD_LIST_INDX' EXPORTING i_objname = lv_objname.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = 'Index anlegen'(002) start_column = '10' start_row = '10' IMPORTING returncode = lv_return TABLES fields = lt_fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.

RS_DD_INDX_ADD CALL FUNCTION 'RS_DD_INDX_ADD' EXPORTING objname = lv_objname CHANGING indexname = lv_indexname EXCEPTIONS already_exists = 1 name_not_valid = 2 not_executed = 3 object_not_specified = 4 permission_failure = 5 OTHERS = 6.



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