SAP Reports / Programs

RNWATASEL01 SAP ABAP Report - documentation and ABAP source code







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

INCLUDE RNMDSTATUS_DATA. "MK210604
INCLUDE RNMDSTATUS_SSR.
INCLUDE RNMDSTATUS_INIT. "MK210604


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_AUTH_CHECK_REPORT_EINRI call function 'ISH_AUTH_CHECK_REPORT_EINRI' exporting repid = 'RNWATASEL01' einri = einri messagetype = 'E'.

ISH_SHOW_GPART CALL FUNCTION 'ISH_SHOW_GPART' EXPORTING aufruf = 'Y' rolle = '2' vcode = 'UPD' IMPORTING ngpa_gpart = s_ktr-low EXCEPTIONS OTHERS = 5.

ISH_SHOW_GPART CALL FUNCTION 'ISH_SHOW_GPART' EXPORTING aufruf = 'Y' rolle = '2' vcode = 'UPD' IMPORTING ngpa_gpart = s_ktr-high EXCEPTIONS OTHERS = 5.

ENQUEUE_ENFAK call function 'ENQUEUE_ENFAK' exporting * MODE_NFAK = 'E' * MANDT = SY-MANDT einri = einri selkz = selkz * X_EINRI = ' ' * X_SELKZ = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

ISH_READ_NFAL call function 'ISH_READ_NFAL' exporting ss_einri = einri ss_falnr = i_data-falnr "GL002 ss_read_db = on "GL003 ss_no_buffering = on "GL003 importing ss_nfal = nfal exceptions others = 3.

STATUS_CHECK call function 'STATUS_CHECK' exporting * BYPASS_BUFFER = ' ' * CLIENT = SY-MANDT objnr = nfal-objnr status = 'I0351' " billing block exceptions object_not_found = 1 status_not_active = 2 others = 3.

ISH_MD_STATUS_SELECT_OBJNR call function 'ISH_MD_STATUS_SELECT_OBJNR' exporting i_mdsta = so_mdsta[] i_mdsts = so_mdsts[] i_objnr_tab = it_objnr importing e_excl_objnr_tab = it_excl_objnr.

ISH_READ_NKTR call function 'ISH_READ_NKTR' exporting * COPY_PARMS_OF_KTART = ' ' kostr = -kostr * WITH_NGPA = 'X' * EINRI = * WITH_TN18B = ' ' importing * NGPA_E = nktr_e = gt_nktr * TN18_E = * TN18B_E = * NADR_E = exceptions ngpa_not_found = 1 ngpa_no_authority = 2 not_found = 3 no_authority = 4 others = 5.

ISH_READ_NPAT call function 'ISH_READ_NPAT' exporting ss_einri = einri ss_patnr = nfal-patnr * ss_read_db = on "GL003 * ss_no_buffering = on "GL003 importing ss_npat = npat exceptions others = 04.

ISH_GET_MD_STATUS call function 'ISH_GET_MD_STATUS' exporting i_einri = einri i_falnr = -falnr "GL003 i_objnr = -objnr "GL003 importing e_md_status = l_md_status exceptions not_active = 1 not_found = 2 others = 3.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = 'RNWATASEL01' i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = xfield it_special_groups = gt_sp_groups[] i_default = 'X' i_save = 'A' is_variant = gs_variant it_events = gt_events[] tables t_outtab = xdata exceptions program_error = 1 others = 2.

ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting * AUSBEGDT = ERSDT-LOW * AUSENDDT = ERSDT-HIGH einri = einri line_size = lsize repid = 'RNWATASEL01' title_lin1 = title1 title_lin2 = title2 uline = off * VERBEGDT = E09 * VERENDDT = E10 exceptions invalid_einri = 01.

ISH_INSREL_CASE_POOL_GET * call function 'ISH_INSREL_CASE_POOL_GET' * exporting * ss_einri = p_einri * ss_falnr = p_falnr * ss_sel_storn = p_storn * tables * ss_ncir_daba = pt_ncir.

ISH_INSREL_CASE_GETLIST call function 'ISH_INSREL_CASE_GETLIST' exporting i_einri = p_einri i_falnr = p_falnr i_authcheck = ' ' i_sel_storn = ' ' i_read_text = ' ' i_read_adr = ' ' tables e_ncir = pt_ncir[].



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