SAP Reports / Programs

RNWATSTATISTIK_AMB SAP ABAP Report - RNWATSTATISTIKAMB







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

INCLUDE MNDATA00.
INCLUDE MNDATA01.
INCLUDE MNDATA02.
INCLUDE MNCOLOUR.
INCLUDE RNLALV00.
INCLUDE RNWATSTATISTIK_AMB_ALV.


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_SAP_OM_CHECK_ACTIVE call function 'ISH_SAP_OM_CHECK_ACTIVE' exceptions not_active = 1.

ISH_OM_OU_GET call function 'ISH_OM_OU_GET' exporting i_instn = pa_einri importing et_norg = gt_norg exceptions nothing_found = 0 internal_error = 0 others = 0.

ISH_SAP_OM_CHECK_ACTIVE call function 'ISH_SAP_OM_CHECK_ACTIVE' exceptions not_active = 1.

ISH_OM_OU_GET call function 'ISH_OM_OU_GET' exporting i_instn = p_einri importing et_norg = lt_norg exceptions nothing_found = 0 internal_error = 0 others = 0.

ISH_READ_NFAL call function 'ISH_READ_NFAL' exporting ss_einri = -einri ss_falnr = -falnr * ss_read_db = ' ' * ss_check_auth = 'X' ss_check_auth = off " BS02 * ss_message_no_auth = 'X' * ss_no_buffering = ' ' * ss_check_archive = ' ' importing ss_nfal = ls_nfal * ss_patnr_archive = exceptions not_found = 1 not_found_archived = 2 no_authority = 3 others = 4.

ISH_NBEWTAB_READ * CALL FUNCTION 'ISH_NBEWTAB_READ' " WK08 * EXPORTING " WK08 * ss_einri = -einri " WK08 * ss_falnr = -falnr " WK08 ** ss_read_db = ' ' " WK08 ** ss_read_storn = ' ' " WK08 * TABLES " WK08 * ss_nbewtab = lt_nbew " WK08 * EXCEPTIONS " WK08 * not_found = 1 " WK08 * OTHERS = 2. " WK08

ISH_READ_NPAT call function 'ISH_READ_NPAT' "WK06 exporting "WK06 * SS_EINRI = '*' ss_patnr = ls_nfal-patnr "WK06 * SS_READ_DB = ' ' * SS_CHECK_AUTH = 'X' * SS_WITH_NPAE = ' ' * SS_WITH_NADR = ' ' * SS_CHECK_VIP = ' ' * SS_CHECK_INACTIVE = ' ' * SS_NO_MESSAGES = ' ' importing "WK06 * SS_NOT_FOUND_IN_EINRI = * SS_NPAE = ss_npat = npat "WK06 * SS_NADR = * SS_NADR2 = * SS_NADR_ABG = * SS_NADR_AN1 = * SS_NADR_AN2 = * TABLES * SS_TELNR = * SS_TELNR2 = * SS_TELNR_ABG = * SS_TELNR_AN1 = * SS_TELNR_AN2 = exceptions "WK06 not_found = 1 "WK06 no_authority = 2 "WK06 no_einri = 3 "WK06 others = 4. "WK06

ISH_ADDRESS_READ call function 'ISH_ADDRESS_READ' "WK06 exporting "WK06 ss_adrnr = npat-adrnr "WK06 ss_adrob = npat-adrob "WK06 * SS_READ_DB = ' ' importing "WK06 ss_nadr = nadr "WK06 * TABLES * SS_NADR2 = exceptions "WK06 not_found = 1 "WK06 others = 2. "WK06

ISH_SAP_OM_CHECK_ACTIVE call function 'ISH_SAP_OM_CHECK_ACTIVE' importing e_status = l_status exceptions not_active = 0.

ISH_OM_ORG_HRCHY_ALL_GET call function 'ISH_OM_ORG_HRCHY_ALL_GET' exporting i_begdt = sy-datum i_enddt = sy-datum importing et_tn10h = lt_tn10h exceptions no_entry_found = 0 internal_error = 0 others = 0.

REUSE_ALV_BLOCK_LIST_INIT call function 'REUSE_ALV_BLOCK_LIST_INIT' exporting i_callback_program = l_repid.

REUSE_ALV_BLOCK_LIST_APPEND call function 'REUSE_ALV_BLOCK_LIST_APPEND' exporting it_fieldcat = lt_list_fields is_layout = ls_list_layout i_tabname = 'PT_OUTPUT' it_events = lt_list_events i_text = text-004 tables t_outtab = pt_output.

REUSE_ALV_BLOCK_LIST_APPEND call function 'REUSE_ALV_BLOCK_LIST_APPEND' exporting it_fieldcat = lt_bew_fields is_layout = ls_bew_layout i_tabname = 'GT_ERROR_BEW' it_events = lt_bew_events i_text = text-f02 tables t_outtab = gt_error_bew.

REUSE_ALV_BLOCK_LIST_APPEND call function 'REUSE_ALV_BLOCK_LIST_APPEND' exporting it_fieldcat = lt_lei_fields is_layout = ls_lei_layout i_tabname = 'GT_ERROR_LEI' it_events = lt_lei_events i_text = text-f03 tables t_outtab = pt_error_lei.

REUSE_ALV_BLOCK_LIST_DISPLAY call function 'REUSE_ALV_BLOCK_LIST_DISPLAY'.

ISH_READ_NFAL call function 'ISH_READ_NFAL' "WK06 exporting "WK06 ss_einri = -einri "WK06 ss_falnr = -falnr "WK06 * ss_read_db = ' ' * ss_check_auth = 'X' ss_check_auth = off "WK06 * ss_message_no_auth = 'X' * ss_no_buffering = ' ' * ss_check_archive = ' ' importing "WK06 ss_nfal = ls_nfal "WK06 * ss_patnr_archive = exceptions "WK06 not_found = 1 "WK06 not_found_archived = 2 "WK06 no_authority = 3 "WK06 others = 4. "WK06

ISH_READ_NPAT call function 'ISH_READ_NPAT' "WK06 exporting "WK06 * SS_EINRI = '*' ss_patnr = -patnr "WK06 * SS_READ_DB = ' ' * SS_CHECK_AUTH = 'X' * SS_WITH_NPAE = ' ' * SS_WITH_NADR = ' ' * SS_CHECK_VIP = ' ' * SS_CHECK_INACTIVE = ' ' * SS_NO_MESSAGES = ' ' importing "WK06 * SS_NOT_FOUND_IN_EINRI = * SS_NPAE = ss_npat = npat "WK06 * SS_NADR = * SS_NADR2 = * SS_NADR_ABG = * SS_NADR_AN1 = * SS_NADR_AN2 = * TABLES * SS_TELNR = * SS_TELNR2 = * SS_TELNR_ABG = * SS_TELNR_AN1 = * SS_TELNR_AN2 = exceptions "WK06 not_found = 1 "WK06 no_authority = 2 "WK06 no_einri = 3 "WK06 others = 4. "WK06

ISH_ADDRESS_READ call function 'ISH_ADDRESS_READ' "WK06 exporting "WK06 ss_adrnr = npat-adrnr "WK06 ss_adrob = npat-adrob "WK06 * SS_READ_DB = ' ' importing "WK06 ss_nadr = nadr "WK06 * TABLES * SS_NADR2 = exceptions not_found = 1 "WK06 others = 2. "WK06

ISH_READ_NFAL





call function 'ISH_READ_NFAL' " BS01 exporting " BS01 ss_einri = p_einri " BS01 ss_falnr = -falnr " BS01 * ss_read_db = ' ' " BS01 * ss_check_auth = 'X' " BS01 ss_check_auth = off " BS02 * ss_message_no_auth = 'X' " BS01 * ss_no_buffering = ' ' " BS01 * ss_check_archive = ' ' " BS01 importing " BS01 ss_nfal = ls_nfal " BS01 * ss_patnr_archive = " BS01 exceptions " BS01 not_found = 1 " BS01 not_found_archived = 2 " BS01 no_authority = 3 " BS01 others = 4. " BS01

ISH_NBEWTAB_READ call function 'ISH_NBEWTAB_READ' " BS01 exporting " BS01 ss_einri = p_einri " BS01 ss_falnr = -falnr " BS01 * ss_read_db = ' ' " BS01 * ss_read_storn = ' ' " BS01 tables " BS01 ss_nbewtab = lt_nbew " BS01 exceptions " BS01 not_found = 1 " BS01 others = 2. " BS01

ISH_NBEWTAB_READ call function 'ISH_NBEWTAB_READ' "WK03 exporting "WK03 ss_einri = p_einri "WK03 ss_falnr = -falnr "WK03 * ss_read_db = ' ' "WK03 * ss_read_storn = ' ' "WK03 tables "WK03 ss_nbewtab = lt_nbew "WK03 exceptions "WK03 not_found = 1 "WK03 others = 2. "WK03

ISH_READ_NTPK call function 'ISH_READ_NTPK' exporting einri = p_einri talst = -leist tarif = -haust importing e_ntpk = ls_ntpk exceptions not_found = 1 others = 2.

ISH_READ_NFAL call function 'ISH_READ_NFAL' exporting ss_einri = p_einri ss_falnr = ps_nlei-falnr * ss_read_db = ' ' * ss_check_auth = 'X' ss_check_auth = off " BS02 * ss_message_no_auth = 'X' * ss_no_buffering = ' ' * ss_check_archive = ' ' importing ss_nfal = ls_nfal * ss_patnr_archive = exceptions not_found = 1 not_found_archived = 2 no_authority = 3 others = 4.

ISH_READ_NORG call function 'ISH_READ_NORG' exporting * einri = orgid = p_orgid importing * norg_e = orgkb_e = l_orgkb exceptions missing_orgid = 1 others = 2.

ISH_READ_NFAL call function 'ISH_READ_NFAL' exporting ss_einri = p_einri ss_falnr = ps_nlei-falnr * ss_read_db = ' ' * ss_check_auth = 'X' ss_check_auth = off " BS02 * ss_message_no_auth = 'X' * ss_no_buffering = ' ' * ss_check_archive = ' ' importing ss_nfal = ls_nfal * ss_patnr_archive = exceptions * not_found = 1 * not_found_archived = 2 * no_authority = 3 others = 4.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = l_dyn_einri importing output = l_dyn_einri.

ISH_CASE_VALUE_REQUEST call function 'ISH_CASE_VALUE_REQUEST' exporting ss_einri = l_dyn_einri ss_vcode = update importing ss_falnr = l_falnr exceptions error = 0.

ISH_DYNP_VALUES_READ call function 'ISH_DYNP_VALUES_READ' exporting dyname = p_dyname dynumb = p_dynumb tables dynpfields = lt_dynpread.

ISH_AT_READ_TNAKRF1 * call function 'ISH_AT_READ_TNAKRF1' " BS02* * exporting " BS02* * i_orgpf = p_orgpf " BS02* * i_orgfa = l_oe " BS02* * i_datvon = p_datum " BS02* * importing " BS02* * e_tnakrf1 = ls_tnakrf1 " BS02* * exceptions " BS02* * notfound = 1 " BS02* * others = 2. " BS02*

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.



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