SAP Reports / Programs

RNCHO015 SAP ABAP Report - documentation and ABAP source code







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


INCLUDES used within this REPORT RNCHO015

INCLUDE RNSSTABL.
INCLUDE RNHCOT01.
INCLUDE RNLSTF04.
INCLUDE RNSSEINR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSPBO.
INCLUDE RNSSSEIN.


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:

ISH_GET_DATE_OF_PERIOD CALL FUNCTION 'ISH_GET_DATE_OF_PERIOD' EXPORTING EINRI = SE_EINRI GJAHR = JAHR PERIOD = PERIOD IMPORTING KOKRS = KOKRS BEGDT = AUSBEGDT ENDDT = AUSENDDT EXCEPTIONS NO_BUKRS_FOUND = 01 NO_GVAR_FOUND = 02 NO_TKA02_FOUND = 03 NO_TN01_FOUND = 04.

CO_PERIOD_BLOCKING_CHECK CALL FUNCTION 'CO_PERIOD_BLOCKING_CHECK' EXPORTING GJAHR = JAHR KOKRS = KOKRS PERAB = h_perIOD PERBI = h_PERIOD VERSN = VERSN VRGNG = VRGNG EXCEPTIONS VRGNG_BLOCKED = 01.

ISH_CASE_VALUE_REQUEST * call function 'ISH_CASE_VALUE_REQUEST' * exporting * ss_einri = se_einri * ss_vcode = update * importing * ss_falnr = r_falnr-low.

ISH_CASE_VALUE_REQUEST * call function 'ISH_CASE_VALUE_REQUEST' * exporting * ss_einri = se_einri * ss_vcode = update * importing * ss_falnr = r_falnr-high.

K_KKB_LIST_DISPLAY CALL FUNCTION 'K_KKB_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = RNSTAT-REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' * I_CALLBACK_END_OF_PAGE = * I_CALLBACK_END_OF_LIST = I_CALLBACK_PF_STATUS_SET = 'PF_STATUS' * I_CALLBACK_LAYOUT_SAVE = * I_CALLBACK_FIELDCAT_SAVE = I_TABNAME = 'LISTE' * IS_LAYOUT = IT_FIELDCAT = XFIELD * I_FCTYPE = 'R' * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 TABLES T_OUTTAB = LISTE EXCEPTIONS OTHERS = 1.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING EINRI = SE_EINRI AUSBEGDT = RNSTAT-AUSBEGDT AUSENDDT = RNSTAT-AUSENDDT VERBEGDT = RNSTAT-VERBEGDT VERENDDT = RNSTAT-VERENDDT TITLE_LIN1 = RNSTAT-TITLE_LIN1 TITLE_LIN2 = RNSTAT-TITLE_LIN2 LINE_SIZE = RNSTAT-LINE_SIZE REPID = RNSTAT-REPID ULINE = OFF EXCEPTIONS OTHERS = 1.

ISH_DISTRIBUTE_STATISTICAL_RAT CALL FUNCTION 'ISH_DISTRIBUTE_STATISTICAL_RAT' EXPORTING AUFTRAEGE = ON * BELEGDATUM = SY-DATUM BUCHUNGSDATUM = $ENDDT EINRI = $EINRI EVENT = EVENT GESCHAEFTSJAHR = $JAHR PERIODE = $PERIO * TMODE = 'E' * TUPDATE = 'A' TABLES SKTAB = $SKTAB EXCEPTIONS NO_BUKRS_FOUND = 1 NO_CONFIGURATION_FOUND = 2 NO_TKA02_FOUND = 3 NO_TN01_FOUND = 4 EXTERNAL_ERROR = 5 OTHERS = 6.

ISH_PRINT_PROTOCOL_BATCH CALL FUNCTION 'ISH_PRINT_PROTOCOL_BATCH' EXPORTING LINE_SIZE = LSIZE MINUTES_TITLE = 'Fehlerprotokoll'(F01) REPID = REPID NEW_SECTION = ON EXCEPTIONS NO_MESSAGES = 01.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING OBJECT = 'Fehlerprotokoll'(F01) SHOW_LINNO = ' ' EXCEPTIONS INCONSISTENT_RANGE = 01 NO_MESSAGES = 02.

MESSAGES_INITIALIZE * call function 'MESSAGES_INITIALIZE'.



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