SAP Reports / Programs

RSECHK02 SAP ABAP Report - IDoc types: Consistency check







RSECHK02 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 RSECHK02 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 RSECHK02. "Basic submit
SUBMIT RSECHK02 AND RETURN. "Return to original report after report execution complete
SUBMIT RSECHK02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: IDoc types: Consistency check
Text Symbol: 306 = Name of IDoc Type/Extension
Text Symbol: 305 = B: Basic Type; E: Extension
Text Symbol: 304 = Not released
Text Symbol: 303 = Released
Text Symbol: 302 = Total
Text Symbol: 301 = Inconsistent
Text Symbol: 300 = Consistent
Text Symbol: 105 = Error
Text Symbol: 104 = Overall tot
Text Symbol: 103 = Total
Text Symbol: 102 = List body
Text Symbol: 101 = Column headers
Text Symbol: 100 = ColorLegend
Text Symbol: 061 = (released )
Text Symbol: 060 = (not released)
Text Symbol: 052 = Time
Text Symbol: 051 = Date
Text Symbol: 050 = System
Text Symbol: 020 = Last changed by:
Text Symbol: 011 = has consistency problems. Check!
Text Symbol: 010 = is correct
Text Symbol: 003 = Extensions
Text Symbol: 002 = IDoc types
Text Symbol: 001 = Basic IDoc types


INCLUDES used within this REPORT RSECHK02

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:

IDOCTYPE_GET_LIST CALL FUNCTION 'IDOCTYPE_GET_LIST' * EXPORTING * PI_IDOCTYP = TABLES PT_LIST = lt_basis.

IDOCTYPE_READ CALL FUNCTION 'IDOCTYPE_READ' EXPORTING PI_IDOCTYP = lt_basis-idoctyp PI_CHECK_AUTHORITY = ' ' IMPORTING PE_ATTRIBUTES = l_attributes EXCEPTIONS OTHERS = 1.

IDOCTYPE_INTEGRITY_CHECK CALL FUNCTION 'IDOCTYPE_INTEGRITY_CHECK' EXPORTING PI_IDOCTYP = lt_basis_plast-idoctyp PI_RAISE_EXCEPTIONS = ' ' PI_INC_SEGMENTS = space tables pt_protocol = lt_prot EXCEPTIONS OBJECT_NOT_FOUND = 1 ATTRIBUTE_ERROR = 2 SYNTAX_ERROR = 3 SEGMENT_ERROR = 4 DB_ERROR = 5 NO_AUTHORITY = 6 OTHERS = 7.

EXTTYPE_GET_LIST CALL FUNCTION 'EXTTYPE_GET_LIST' TABLES PT_LIST = lt_ext.

EXTTYPE_READ CALL FUNCTION 'EXTTYPE_READ' EXPORTING PI_CIMTYP = lt_ext-cimtyp PI_CHECK_AUTHORITY = ' ' IMPORTING PE_ATTRIBUTES = l_attributes EXCEPTIONS OTHERS = 1.

EXTTYPE_INTEGRITY_CHECK CALL FUNCTION 'EXTTYPE_INTEGRITY_CHECK' EXPORTING PI_CIMTYP = lt_ext_plast-cimtyp PI_RAISE_EXCEPTIONS = 'X' PI_INC_SEGMENTS = space TABLES PT_PROTOCOL = lt_prot EXCEPTIONS OBJECT_NOT_FOUND = 1 ATTRIBUTE_ERROR = 2 SYNTAX_ERROR = 3 SEGMENT_ERROR = 4 DB_ERROR = 5 NO_AUTHORITY = 6 OTHERS = 7.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_STRUCTURE_NAME = 'EDI_EDBAS_EDCIM' IT_FIELDCAT = it_fieldcat TABLES T_OUTTAB = check_result EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = output_text EXCEPTIONS OTHERS = 1.



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