SAP Reports / Programs

SU2X_CHECK_CONSISTENCY SAP ABAP Report - General Consistency Check for Authorization Default Values







SU2X_CHECK_CONSISTENCY 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 SU2X_CHECK_CONSISTENCY 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 SU2X_CHECK_CONSISTENCY. "Basic submit
SUBMIT SU2X_CHECK_CONSISTENCY AND RETURN. "Return to original report after report execution complete
SUBMIT SU2X_CHECK_CONSISTENCY 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: S_OBJ = D .
Title: General Consistency Check for Authorization Default Values
Text Symbol: 16L = Application with Default Data for Object
Text Symbol: 16M = Applications
Text Symbol: 16S = Appl.
Text Symbol: 17L = Number of Fields of Object
Text Symbol: 17M = Fields of Object
Text Symbol: 17S = Fields
Text Symbol: 18L = Check Status for Local Object Existence
Text Symbol: 18M = Object Exists
Text Symbol: 18S = TOBJ_EXIST
Text Symbol: 19L = Check Status for Local Class Existence
Text Symbol: 19M = Class Exists
Text Symbol: 19S = TOBC_EXIST
Text Symbol: 20L = Development Package of Object
Text Symbol: 20M = Development Package
Text Symbol: 20S = DEVC
Text Symbol: BQ2 = Application Help
Text Symbol: BT3 = Print Help Text
Text Symbol: H10 = Report Environment:
Text Symbol: H11 = System (Client):
Text Symbol: H12 = Date/Time:
Text Symbol: H13 = User Name:
Text Symbol: H14 = Report Statistics:
Text Symbol: H15 = Report contains & warning messages
Text Symbol: H16 = Report contains & error messages
Text Symbol: I01 = Non-Critical Status Information
Text Symbol: I02 = Status: OK
Text Symbol: I03 = Status: Warning
Text Symbol: I04 = Status: Error
Text Symbol: P01 = Load Object Definition from the Database
Text Symbol: P03 = Check Default Values for Object &
Text Symbol: P09 = Format Result List
Text Symbol: T01 = Consistency Check for Authorization Default Values (SU22)
Text Symbol: T02 = Consistency Check for Authorization Default Values (SU24)
Text Symbol: 000 = Standard Selection
Text Symbol: 001 = Authorization Object
Text Symbol: 002 = Display Errors





Text Symbol: 003 = Analyze SU22 Data Instead of SU24 Data
Text Symbol: 004 = Display Warnings
Text Symbol: 005 = Diplay Non-Critical Status Information
Text Symbol: 010 = Check Authorization Objects and Default Values
Text Symbol: 011 = Check Organizational Levels in Default Values
Text Symbol: 015 = Check Field Values in Default Vals
Text Symbol: 020 = Message
Text Symbol: 021 = Message Long Text
Text Symbol: 022 = Display Authorization Object
Text Symbol: 023 = SU22 Data
Text Symbol: 025 = Detailed Display in SU22
Text Symbol: 026 = SU24 Data
Text Symbol: 028 = Detailed Display in SU24
Text Symbol: 029 = Check Status
Text Symbol: 10L = Authorization Object
Text Symbol: 10M = Authorization Object
Text Symbol: 10S = Object
Text Symbol: 11L = Object Class for Object
Text Symbol: 11M = Object Class
Text Symbol: 11S = OCLSS
Text Symbol: 12L = Technical Name of Application
Text Symbol: 12M = Application
Text Symbol: 12S = Appl.
Text Symbol: 13L = Application Type
Text Symbol: 13M = Application Type
Text Symbol: 13S = Appl. Type
Text Symbol: 14L = Check Status of Object or Application
Text Symbol: 14M = Check Status
Text Symbol: 14S = Status
Text Symbol: 15L = Short Text for Check Status
Text Symbol: 15M = Status Text
Text Symbol: 15S = Status


INCLUDES used within this REPORT SU2X_CHECK_CONSISTENCY

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:

PRGN_CHECK_SYSTEM_TYPE CALL FUNCTION 'PRGN_CHECK_SYSTEM_TYPE' EXCEPTIONS sap_system = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = lc_my_tcd EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.






DOCU_GET_FOR_F1HELP CALL FUNCTION 'DOCU_GET_FOR_F1HELP' EXPORTING id = id_class langu = sy-langu object = id_name IMPORTING head = ls_head TABLES line = lt_lines EXCEPTIONS ret_code = 04.

POPUP_DISPLAY_TEXT_USER_BUTTON CALL FUNCTION 'POPUP_DISPLAY_TEXT_USER_BUTTON' EXPORTING popup_title = 'Application help'(bq2) "#EC * docu_class = 'DT' text_object = ld_tx_obj display_ok_button = 'X' display_cancel_button = '' IMPORTING answer = ld_answer TABLES user_buttons = lt_button parameter = lt_spar EXCEPTIONS OTHERS = 0.

DOCU_PRINT CALL FUNCTION 'DOCU_PRINT' EXPORTING dialog = 'X ' form = 'P' id = 'DT' langu = sy-langu object = ld_tx_obj operation = 'P' printer = 'X ' typ = 'E' TABLES line = lt_line.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = ld_tx.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = ld_ddobjname state = 'A' IMPORTING gotstate = ld_state EXCEPTIONS OTHERS = 1.

SUSR_SHOW_OBJECT CALL FUNCTION 'SUSR_SHOW_OBJECT' EXPORTING object = -objct.

SUSR_SHOW_OBJECT CALL FUNCTION 'SUSR_SHOW_OBJECT' EXPORTING object = -objct.

DOCU_OBJECT_NAME_CONCATENATE CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' EXPORTING docu_id = 'NA' element = is_out-msgid addition = is_out-msgno IMPORTING object = ld_obj_name EXCEPTIONS OTHERS = 0.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING id = 'NA' object = ld_obj_name displ = 'X' displ_mode = 2 langu = sy-langu use_sec_langu = 'X' typ = 'E' EXCEPTIONS wrong_name = 1 OTHERS = 2.

SUSR_AUTF_DISPLAY_FIELD CALL FUNCTION 'SUSR_AUTF_DISPLAY_FIELD' EXPORTING fieldname = ld_field single_mode = abap_true EXCEPTIONS OTHERS = 0.

SU2X_MAINTAIN_SINGLE CALL FUNCTION 'SU2X_MAINTAIN_SINGLE' EXPORTING i_name = is_out-name i_type = is_out-type i_operative_mode = 'S' "Show i_table_set = ld_tabset "customer i_display_pv = 'X' i_display_sm = '' EXCEPTIONS OTHERS = 0.

SU2X_MAINTAIN_1 CALL FUNCTION 'SU2X_MAINTAIN_1' EXPORTING i_table_set = ld_tabset it_usobkey = lt_appl EXCEPTIONS OTHERS = 0.



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