SAP Reports / Programs

RNLAMB02 SAP ABAP Report - IS-H: Evaluation of Outpatient Visits Without Services







RNLAMB02 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 generate an overview of all the outpatient visits for which the system does not contain billable and/or non-billable services...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 RNLAMB02 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 RNLAMB02. "Basic submit
SUBMIT RNLAMB02 AND RETURN. "Return to original report after report execution complete
SUBMIT RNLAMB02 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: ABR_NO = Billable Services
Selection Text: ABR_YES = Non-Billable Services
Selection Text: AMBULANT = Outpatient
Selection Text: AUSBEGDT = Evaluation Period Start
Selection Text: AUSENDDT = Evaluation Period End
Selection Text: FACHLICH = Departmental
Selection Text: FALNR = Case
Selection Text: I_BWART = Visit Type
Selection Text: ORGID = Organizational Unit
Selection Text: PATNR = Patient
Selection Text: PFLEGER = Treatment
Selection Text: SE_EINRI = Institution
Selection Text: STAT = Inpatient
Selection Text: SUM_BA = Visit Type
Selection Text: SUM_OE = Organizational Unit
Selection Text: TEILSTAT = Day Patient
Title: IS-H: Evaluation of Outpatient Visits Without Services
Text Symbol: U10 = Totals Row For
Text Symbol: U11 = Visit Type
Text Symbol: U12 = Organizational Unit
Text Symbol: U13 = Output
Text Symbol: U14 = Non-Canceled Visits
Text Symbol: U15 = Canceled Visits
Text Symbol: U16 = Total
Text Symbol: U99 = To
Text Symbol: UE1 = IS-H:
Text Symbol: UE2 = Outpatient Visits Without Billable Services
Text Symbol: UE3 = Outpatient Visits Without Non-Billable Services
Text Symbol: UN1 = Billable Services
Text Symbol: UN2 = Non-Billable Services
Text Symbol: UN3 = Outpatient Visits Without
Text Symbol: U09 = Treatment
Text Symbol: G01 = Visit Type
Text Symbol: G02 = Dept. Org. Unit
Text Symbol: G03 = Nursing Org. Unit
Text Symbol: G04 = **** Total Visit Type
Text Symbol: G05 = **** Total Dept. Org. Unit
Text Symbol: G06 = **** Total Nrs. Org. Unit





Text Symbol: M01 = Organizational Units
Text Symbol: M02 = Patients
Text Symbol: M03 = Cases
Text Symbol: S01 = Institution
Text Symbol: SUM = Number of Records Selected:
Text Symbol: T01 = Name
Text Symbol: T02 = Visit Date
Text Symbol: T03 = Time
Text Symbol: T04 = Birthdate
Text Symbol: T05 = S
Text Symbol: T06 = Case
Text Symbol: T07 = Type
Text Symbol: T08 = Visit Type
Text Symbol: T09 = Dept. OU
Text Symbol: T10 = Treat. OU
Text Symbol: T11 = Treat.R.
Text Symbol: T12 = C
Text Symbol: U00 = Program Selection
Text Symbol: U02 = Visit Date
Text Symbol: U03 = Case Types
Text Symbol: U04 = Inpatient
Text Symbol: U05 = Day Patient
Text Symbol: U06 = Outpatient
Text Symbol: U07 = List by OU (Relevant for "Totals Row for Organizational Unit")
Text Symbol: U08 = Departmental


INCLUDES used within this REPORT RNLAMB02

INCLUDE RNSSTABL.
INCLUDE RNSSEINR.
INCLUDE RNSSINIT.
INCLUDE RNSSSPBO.


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 = 'RNLAMB02' einri = se_einri IMPORTING rc = rc EXCEPTIONS 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 itr_orgid = ltr_orgid IMPORTING et_norg = lt_norg EXCEPTIONS nothing_found = 1 internal_error = 2 OTHERS = 3.

ISH_SAP_BP_CHECK_ACTIVE CALL FUNCTION 'ISH_SAP_BP_CHECK_ACTIVE' IMPORTING e_status = lv_status EXCEPTIONS not_active = 0.






ISH_PNT_API_FALL_BEW_ALL CALL FUNCTION 'ISH_PNT_API_FALL_BEW_ALL' EXPORTING itr_einri = ltr_einri itr_patnr = lt_rng_patnr itr_falnr = lt_rng_falnr it_bwidt = lt_bwidt itr_falar = lt_rng_falar itr_bwart = lt_rng_bwart itr_storn = ltr_storn i_bewty = lv_bewty itr_orgfa = ltr_orgfa itr_orgpf = ltr_orgpf IMPORTING et_pat_fall_bew = lt_pat_n_fall_bew.

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 itr_orgid = ltr_orgid IMPORTING et_norg = lt_norg EXCEPTIONS nothing_found = 0 internal_error = 0 OTHERS = 0.

ISH_SAP_OM_CHECK_ACTIVE CALL FUNCTION 'ISH_SAP_OM_CHECK_ACTIVE' IMPORTING e_status = l_status EXCEPTIONS not_active = 1 OTHERS = 2.

ISH_OM_BU_GET CALL FUNCTION 'ISH_OM_BU_GET' EXPORTING itr_bauid = ltr_bauid IMPORTING et_nbau = lt_nbau EXCEPTIONS nothing_found = 1 internal_error = 2 OTHERS = 3.

ISH_NPAT_CONCATENATE CALL FUNCTION 'ISH_NPAT_CONCATENATE' EXPORTING ss_einri = p_einri ss_patnr = p_patnr ss_read_npat = off ss_npat = npat_wa ss_npat_complete = off ss_list = on IMPORTING ss_pname = p_vollname EXCEPTIONS OTHERS = 0.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt line_size = rnstat-line_size einri = rnstat-einri repid = rnstat-repid uline = off.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = lc_a it_events = lt_events i_tabname_header = 'GT_HEADER' i_tabname_item = 'GT_ITEM' is_keyinfo = ls_keyinfo TABLES t_outtab_header = gt_header t_outtab_item = gt_item EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_internal_tabname = 'GT_HEADER' i_inclname = sy-repid CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_internal_tabname = 'GT_ITEM' i_inclname = sy-repid CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events.

ISH_DYNP_VALUES_READ CALL FUNCTION 'ISH_DYNP_VALUES_READ' EXPORTING dyname = p_repid dynumb = p_dynnr TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = se_einri IMPORTING output = se_einri EXCEPTIONS OTHERS = 1.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = se_einri * freig = on * ambes = on * fazuw = on * pfzuw = on no_bauid = on IMPORTING selected_orgid = p_org EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.



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