SAP Reports / Programs

RNHCO014 SAP ABAP Report - IS-H: Reverse Statistical Key Figures in Case-Based Orders







RNHCO014 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program enables you to reverse statistical key figures you posted to case-based orders in CO...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RNHCO014 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

NCOO - IS-H: Stat. Key Figs (Case-bsd ord.)


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 RNHCO014. "Basic submit
SUBMIT RNHCO014 AND RETURN. "Return to original report after report execution complete
SUBMIT RNHCO014 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: TXTEINRI = Institution Short Text
Selection Text: TESTMODE = Test Mode
Selection Text: SE_EINRI = Institution
Selection Text: PERIOD = Period
Selection Text: KZRANGE = Statistical Key Figure
Selection Text: JAHR = Fiscal Year
Title: IS-H: Reverse Statistical Key Figures in Case-Based Orders
Text Symbol: U02 = IS-H <-> CO
Text Symbol: U01 = Stat. Key Fig. Comparison
Text Symbol: S05 = Test Mode
Text Symbol: S01 = Institution
Text Symbol: IT5 = Document No.
Text Symbol: IT4 = Quantity
Text Symbol: IT3 = Meaning
Text Symbol: IT2 = KeyFig
Text Symbol: IT1 = Cost Ctr
Text Symbol: I11 = Nrs. OU
Text Symbol: I10 = Dept. OU
Text Symbol: I09 = Value
Text Symbol: I08 = Description
Text Symbol: I07 = ID
Text Symbol: I06 = Organizational Unit
Text Symbol: I05 = Key Fig.:
Text Symbol: I04 = Cost Center:
Text Symbol: I03 = Zero Value
Text Symbol: I02 = CO Error
Text Symbol: I01 = Test Mode
Text Symbol: F01 = Error Log
Text Symbol: 005 = Comment
Text Symbol: 004 = CO Error
Text Symbol: 003 = Reversed
Text Symbol: 002 = Blocked
Text Symbol: 001 = Test Mode


INCLUDES used within this REPORT RNHCO014

INCLUDE RNSSTABL.
INCLUDE RNHCOT01.
INCLUDE RNLSTF04.
INCLUDE MNCOLOUR.
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_DISTRIBUTE_KEY_FIG_READ call function 'ISH_DISTRIBUTE_KEY_FIG_READ' exporting einri = se_einri event = event2 geschaeftsjahr = jahr periode = period importing e_begdt = ausbegdt e_enddt = ausenddt e_per_blocked = per_blocked tables t_sktab = iorders t_tn30k = itn30k exceptions einri_not_defined = 1 period_not_found = 2 no_co_stat_key_fig = 3 no_co_orders_found = 4 others = 5.

ISH_GET_MOVEMENTS call function 'ISH_GET_MOVEMENTS' exporting ss_abwes = 'X' ss_ambu = 'X' ss_ambu_bes = 'X' ss_aufn = 'X' ss_beginn = $begdt ss_einri = $einri ss_ende = $enddt ss_entl = 'X' ss_plan = ' ' ss_stat = 'X' ss_storn = ' ' ss_tstat = 'X' ss_verl = 'X' tables ss_falnr = falnrrange ss_vnbew = iv_nbew ss_fieldcat = gm_fcat exceptions not_found = 01.

ISH_DISTRIBUTE_STATISTICAL_RAT call function 'ISH_DISTRIBUTE_STATISTICAL_RAT' exporting auftraege = 'X' * BELEGDATUM = SY-DATUM buchungsdatum = ausenddt einri = se_einri event = event1 geschaeftsjahr = jahr periode = period * 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.

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