SAP Reports / Programs

RNLAMB00 SAP ABAP Report - IS-H: Evaluation of Outpatient Visits







RNLAMB00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates visit statistics for any organizational units and visit types...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 RNLAMB00 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 RNLAMB00. "Basic submit
SUBMIT RNLAMB00 AND RETURN. "Return to original report after report execution complete
SUBMIT RNLAMB00 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: AMBULANT = Outpatient
Selection Text: AUSBEGDT = Evaluation Period Start
Selection Text: AUSENDDT = Evaluation Period End
Selection Text: BWART = Visit Type
Selection Text: FACHLICH = Departmental
Selection Text: ORGID = Organizational Unit
Selection Text: PFLEGER = Treatment
Selection Text: SE_EINRI = Institution
Selection Text: STAT = Inpatient
Selection Text: STO_EXCL = Non-Canceled Visits
Selection Text: STO_INCL = Canceled Visits
Selection Text: SUM_BA = Visit Type
Selection Text: SUM_OE = Organizational Unit
Selection Text: TEILSTAT = Day Patient
Selection Text: TXTEINRI = Institution Text
Title: IS-H: Evaluation of Outpatient Visits
Text Symbol: U99 = To
Text Symbol: U98 = From
Text Symbol: U15 = Canceled Visits
Text Symbol: U14 = Non-Canceled Visits
Text Symbol: U13 = Output
Text Symbol: U12 = Organizational Unit
Text Symbol: U11 = Visit Type
Text Symbol: U10 = Totals Row For
Text Symbol: U09 = Treatment
Text Symbol: U08 = Departmental
Text Symbol: U07 = Evaluation
Text Symbol: G01 = Visit Type
Text Symbol: G02 = Departmental OU
Text Symbol: G03 = Nursing Org. Unit
Text Symbol: G04 = **** Total Visit Type
Text Symbol: G05 = **** Total Dept. Org. Unit
Text Symbol: G06 = **** Total Nursing Org. Unit
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 = Treatment OU
Text Symbol: T11 = Treat.R.
Text Symbol: T12 = C
Text Symbol: TOT = Total
Text Symbol: U00 = Program Selection
Text Symbol: U02 = Evaluation Period
Text Symbol: U03 = Case Types
Text Symbol: U04 = Inpatient
Text Symbol: U05 = Day Patient
Text Symbol: U06 = Outpatient


INCLUDES used within this REPORT RNLAMB00

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 = 'RNLAMB00' einri = se_einri * NO_MESSAGE = ' ' IMPORTING rc = rc EXCEPTIONS OTHERS = 1.

ISH_NPAT_CONCATENATE CALL FUNCTION 'ISH_NPAT_CONCATENATE' EXPORTING * SS_EINRI = '*' ss_patnr = visits-patnr * SS_READ_NPAT = ' ' ss_npat = ss_npat ss_npat_complete = off "only fields from v_nbew * SS_LIST = ' ' IMPORTING ss_pname = pname 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_PNT_DB_ALL CALL FUNCTION 'ISH_PNT_DB_ALL' EXPORTING * IT_BWIDT = * I_EINRI = * I_LOEKZB = i_falar = lt_temp_rng_falar * I_BWART = * I_ORGID = IMPORTING et_pnt_fall_bew = lt_temp_pnt_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 it_orgid = lt_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 it_bauid = lt_bauid IMPORTING et_nbau = lt_nbau EXCEPTIONS nothing_found = 1 internal_error = 2 others = 3 .

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.

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.

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