RN2LN2HL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RN2LN2HL enables an evaluation of the OU-specific diagnosis hit lists of an institution...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 RN2LN2HL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
N2L1 - IS-H*MED: OU diagnoses hit list
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.
Selection Text: ALVDVAR = Layout
Selection Text: EINRI = Institution
Selection Text: ORGID = Organizational Unit
Selection Text: ZOTYP = Grouping Type
Title: List Report OU Diagnosis Hit Lists
Text Symbol: 001 = Institution
Text Symbol: L01 = No Description Defined ;;
Text Symbol: L02 = Without Org. Unit Name ;;
Text Symbol: S01 = OU Name Not Found
Text Symbol: T02 = Further Data
Text Symbol: U01 = OU Diagnosis Hit List ;;
Text Symbol: U02 = OU Category
Text Symbol: U03 = Cg;;
Text Symbol: U04 = Key ;;
Text Symbol: U05 = S;;
Text Symbol: U06 = Diagnosis
Text Symbol: U07 = Pri;;
Text Symbol: U08 = Del.;;
Text Symbol: U09 = OU ID ;;
Text Symbol: U10 = Organizational Unit Name ;;
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ISH_N2_AUTHORITY * CALL FUNCTION 'ISH_N2_AUTHORITY'.
ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = rnstat-einri line_size = rnstat-line_size repid = rnstat-repid title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 uline = off.
ISH_READ_NORG CALL FUNCTION 'ISH_READ_NORG' EXPORTING orgid = norg_orgid IMPORTING norg_e = norg EXCEPTIONS missing_orgid = 01.
R3MED_VALUE_REQUEST * CALL FUNCTION 'R3MED_VALUE_REQUEST' * EXPORTING * SS_LENGTH = 44 * SS_HEIGTH = 15 * SS_FIELD = FELDNAME * SS_EINRI = EINRI * SS_TABLE = 'NORG' * SS_SELECT = 'ALL' * IMPORTING * SS_VALUE = WERT * EXCEPTIONS * NOT_FOUND = 01.
ISH_N2_VALUE_REQUEST CALL FUNCTION 'ISH_N2_VALUE_REQUEST' EXPORTING ss_einri = einri ss_field = feldname ss_heigth = 9 ss_length = 56 ss_table = 'N2HL' IMPORTING ss_value = wert EXCEPTIONS not_found = 01.
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.
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.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = program_name * i_callback_pf_status_set = 'SET_ALV_STATUS' * i_callback_user_command = 'ALV_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_DEFAULT = 'X' i_save = 'A' is_variant = gs_variant it_events = gt_events[] * it_event_exit = i_tabname_header = 'OUTPUT_HEADER_TAB' i_tabname_item = 'OUTPUT_LIST_TAB' * 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 * Header table with output data t_outtab_header = output_header_tab * Position table with output data t_outtab_item = output_list_tab EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN2LN2HL - List Report OU Diagnosis Hit Lists RN2LN2HL - List Report OU Diagnosis Hit Lists RN2LN2DO1 - List Report Where-Used List of Document Categories in OUs RN2LN2DO1 - List Report Where-Used List of Document Categories in OUs RN2LN2DO0 - List Report OU-Related Document Profile RN2LN2DO0 - List Report OU-Related Document Profile