SAP Reports / Programs

RNWCHTEMPLATE SAP ABAP Report - documentation and ABAP source code







RNWCHTEMPLATE 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 RNWCHTEMPLATE 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 RNWCHTEMPLATE. "Basic submit
SUBMIT RNWCHTEMPLATE AND RETURN. "Return to original report after report execution complete
SUBMIT RNWCHTEMPLATE 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 RNWCHTEMPLATE

INCLUDE RNWCHITEMPLATE. " SÄMTL. DATENDEKLARATIONEN
INCLUDE RNSSEXTR.
INCLUDE RNSSEINR.
INCLUDE RNSSIEXT.
INCLUDE RNSSSEXT_PBO.
INCLUDE RNSSSEXT_VALUE_REQUEST.
INCLUDE RNSSSEIN.
INCLUDE RNSSSEXT.


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_COUNTRY_VERSION_GET call function 'ISH_COUNTRY_VERSION_GET' importing ss_cvers = l_version exceptions others = 1.

ISH_MODIFY_SCREEN call function 'ISH_MODIFY_SCREEN' exporting dynnr = sy-dynnr pname = repid exceptions others = 1.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = hlpvar i_save = 'A' importing e_exit = gs_exit es_variant = gs_variant exceptions not_found = 1 program_error = 2 others = 3.

ISH_AUTH_CHECK_REPORT_EINRI call function 'ISH_AUTH_CHECK_REPORT_EINRI' exporting repid = repid einri = se_einri no_message = off messagetype = 'E' auto_leave = off.

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = 'A' changing cs_variant = gs_variant exceptions wrong_input = 1 not_found = 2 program_error = 3 others = 4.

ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt einri = se_einri line_size = rnstat-line_size repid = repid title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 uline = ' ' verbegdt = rnstat-verbegdt verenddt = rnstat-verenddt exceptions invalid_einri = 01. " Einrichtung wurde bereits geprüft

ISH_GET_AUFDT_ENTDT * call function 'ISH_GET_AUFDT_ENTDT' * exporting * ss_einri = se_einri * ss_falnr = <$gt_nfal>-falnr ** SS_STORNO = ' ' * importing * ss_aufdt = <$gt_nfal>-aufdt * ss_aufzt = <$gt_nfal>-aufzt * ss_entart = <$gt_nfal>-entart * ss_entdt = <$gt_nfal>-entdt * ss_entzt = <$gt_nfal>-entzt * exceptions * not_found = 1 * no_authority = 2 * others = 3.

ISH_SYMBOL_BILLED call function 'ISH_SYMBOL_BILLED' exporting ss_abrkz = <$gt_nfal>-abrkz importing ss_symbol = <$gt_nfal>-abrkz exceptions others = 1.

ISH_CONVERT_CASETYPE_OUTPUT call function 'ISH_CONVERT_CASETYPE_OUTPUT' exporting ss_einri = <$gt_nfal>-einri ss_falai = <$gt_nfal>-falar ss_langu = sy-langu importing ss_falae = <$gt_nfal>-falar ss_fatxt = <$gt_nfal>-fatxt exceptions others = 1.

ISH_READ_NTPK_NTPT_NEW call function 'ISH_READ_NTPK_NTPT_NEW' exporting begdt = sy-datum einri = <$gt_nlei>-einri enddt = sy-datum spras = sy-langu talst = <$gt_nlei>-leist tarif = <$gt_nlei>-haust read_ntpt = 'X' importing e_ntpk = wa_ntpk e_ntpt = wa_ntpt ktxtconc = wa_leitx exceptions missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 others = 4.

REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' i_callback_program = repid * i_callback_pf_status_set = 'SET_PFSTATUS' * i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = xfield[] * IT_EXCLUDING = it_special_groups = gt_sp_groups[] it_sort = gs_sort[] * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 i_default = 'X' i_save = 'A' is_variant = gs_variant it_events = gt_events[] * IT_EVENT_EXIT = i_tabname_header = 'GT_NFAL' i_tabname_item = 'GT_NLEI' * i_structure_name_header = * I_STRUCTURE_NAME_ITEM = is_keyinfo = gs_keyinfo * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab_header = gt_nfal t_outtab_item = gt_nlei exceptions program_error = 1 others = 2.

REUSE_ALV_EXTRACT_SAVE call function 'REUSE_ALV_EXTRACT_SAVE' exporting is_extract = gs_extract1 i_get_selinfos = on * I_NO_MESSAGE = * IS_SEL_HIDE = i_exp01 = gs_variant i_exp02 = rnstat * i_exp03 = * I_EXP04 = * I_EXP05 = * I_EXP06 = * I_EXP07 = * I_EXP08 = * I_EXP09 = * I_EXP10 = tables it_exp01 = gt_nfal it_exp02 = gt_nlei * IT_EXP03 = * IT_EXP04 = * IT_EXP05 = * IT_EXP06 = * IT_EXP07 = * IT_EXP08 = * IT_EXP09 = * IT_EXP10 = * EXCEPTIONS * WRONG_RELID = 1 * NO_REPORT = 2 * NO_EXNAME = 3 * NO_EXTRACT_CREATED = 4 * OTHERS = 5 .

REUSE_ALV_EXTRACT_LOAD call function 'REUSE_ALV_EXTRACT_LOAD' exporting is_extract = gs_extract2 * I_NO_MESSAGE = importing * ES_ADMIN = es_sel_hide = gs_sel_hide tables et_exp01 = gt_nfal et_exp02 = gt_nlei * ET_EXP03 = * ET_EXP04 = * ET_EXP05 = * ET_EXP06 = * ET_EXP07 = * ET_EXP08 = * ET_EXP09 = * ET_EXP10 = changing c_exp01 = gs_variant c_exp02 = rnstat * c_exp03 = * C_EXP04 = * C_EXP05 = * C_EXP06 = * C_EXP07 = * C_EXP08 = * C_EXP09 = * C_EXP10 = exceptions not_found = 1 wrong_relid = 2 no_report = 3 no_exname = 4 no_import_possible = 5 others = 6 .

ISH_READ_NPAT call function 'ISH_READ_NPAT' exporting ss_einri = $einri ss_patnr = $patnr ss_read_db = off ss_with_npae = off importing ss_npat = npat exceptions not_found = 01 no_authority = 02.

ISH_NPAT_CONCATENATE call function 'ISH_NPAT_CONCATENATE' exporting * SS_EINRI = '*' ss_patnr = npat-patnr * SS_READ_NPAT = ' ' ss_npat = npat * SS_NPAT_COMPLETE = 'X' * SS_LIST = ' ' importing ss_pname = $pname exceptions others = 1.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = l_dyn_einri importing output = l_dyn_einri exceptions others = 1.

ISH_SHOW_LIST_PATIENT call function 'ISH_SHOW_LIST_PATIENT' exporting anfo = on vcode = 'DIS' npat_einri = l_dyn_einri importing npat_patnr = l_help_patnr storno_selected = l_storno_selected weiter = l_weiter exceptions geschlecht_falsch = 01 no_authority = 02 npat_not_found = 03 selection_false = 04.

ISH_DYNP_VALUES_READ call function 'ISH_DYNP_VALUES_READ' exporting dyname = dyname dynumb = dynumb tables dynpfields = lt_idynpread.

CONVERSION_EXIT_ALPHA_INPUT





call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = l_dyn_einri importing output = l_dyn_einri exceptions others = 1.

ISH_SHOW_LIST_PATIENT call function 'ISH_SHOW_LIST_PATIENT' exporting anfo = 'X' " Auswahlpopup npat_einri = l_dyn_einri fcode = 'PS' " Nur Patienten vcode = 'DIS' " Nur Anzeige und Auswahl importing npat_patnr = npat-patnr npat_pziff = npat-pziff exceptions geschlecht_falsch = 01 no_authority = 02 npat_not_found = 03 selection_false = 04.

ISH_SHOW_LIST_FALL call function 'ISH_SHOW_LIST_FALL' exporting call_from_dark = ' ' col = 5 exit_on_weiter = ' ' fcode = 'SO' list_layout = '0' nfal_einri = l_dyn_einri nfal_falnr = falnr nfal_fziff = ' ' nfal_patnr = npat-patnr * npatstring = ' ' only_falnr = ' ' popup = 'X' repid = ' ' row = 6 tcode = ' ' vcode = 'DIS' zuordnung = 'A' importing * LIST_OKCODE = * NBEW_BEWTY = * NBEW_LFDNR = nfal_falnr = falnr nfal_fziff = nfal-fziff * NO_LIST = * SELECT_NFAL = * STORNO_SELECTED = * VCODE_NEU = * WEITER = exceptions pat_not_found = 01 repid_missing = 02.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = l_dyn_einri importing output = l_dyn_einri exceptions others = 1.

ISH_VALUE_REQUEST call function 'ISH_VALUE_REQUEST' exporting ss_select = l_dyn_einri * ss_field = 'R_FALAR_LOW' ss_table = 'TN15A' importing ss_value = falae exceptions not_found = 01.



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