SAP Reports / Programs

RNLAMB01 SAP ABAP Report - IS-H: Outpatient Visits (with Name of Physician)







RNLAMB01 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 a visit list 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 RNLAMB01 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 RNLAMB01. "Basic submit
SUBMIT RNLAMB01 AND RETURN. "Return to original report after report execution complete
SUBMIT RNLAMB01 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: ALPHABET = Alphabetical
Selection Text: AMBULANT = Outpatient
Selection Text: ARZT_B = Attending Physician
Selection Text: ARZT_O = Operating Surgeon
Selection Text: AUSBEGDT = Evaluation Period Start
Selection Text: AUSENDDT = Evaluation Period End
Selection Text: BAUID = Room
Selection Text: BWART = Visit Type
Selection Text: EINRI = Institution
Selection Text: ORGID = Organizational Unit
Selection Text: SE_ARZT = Physician
Selection Text: STAT = Inpatient
Selection Text: STO_EXCL = Non-Canceled Visits
Selection Text: STO_INCL = Canceled Visits
Selection Text: TEILSTAT = Day Patient
Selection Text: TXTEINRI = Institution Text
Selection Text: ZEITLICH = Chronological
Title: IS-H: Outpatient Visits (with Name of Physician)
Text Symbol: U08 = Alphabetically ;;
Text Symbol: U09 = Chronologically
Text Symbol: U10 = Role of Physician
Text Symbol: U11 = Attending Physician
Text Symbol: U12 = Operating Surgeon
Text Symbol: U13 = Output
Text Symbol: U14 = Non-Canceled Visits ;;
Text Symbol: U15 = Canceled Visits ;;
Text Symbol: U16 = Non-Canceled Phy. Asgmt ;;
Text Symbol: U17 = Canceled Physician Asgmt ;;
Text Symbol: U18 = Include First Visit Only
Text Symbol: U98 = From
Text Symbol: U99 = To
Text Symbol: U07 = Sort
Text Symbol: G01 = Visit Type ;;
Text Symbol: G02 = Departmental Org. Unit ;;
Text Symbol: G03 = Nursing Org. Unit ;;
Text Symbol: S01 = Total;;
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;; sex
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 = Tmt.Room;;
Text Symbol: T12 = C;; visit cancellation indicator
Text Symbol: T13 = CD;; check digit
Text Symbol: T14 = P;; planned visit
Text Symbol: T15 = Physician ;;
Text Symbol: T16 = Function ;; physician's function
Text Symbol: T17 = Person ;;
Text Symbol: T18 = C;; cancellation indicator NFPZ
Text Symbol: TOT = Total
Text Symbol: U00 = Program Selection
Text Symbol: U01 = Institution
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 RNLAMB01

INCLUDE RNDATA00.


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

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

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

ISH_NPAT_CONCATENATE CALL FUNCTION 'ISH_NPAT_CONCATENATE' EXPORTING * SS_EINRI = '*' ss_patnr = liste-patnr * SS_READ_NPAT = ' ' ss_npat = ss_npat ss_npat_complete = off * SS_LIST = ' ' IMPORTING ss_pname = fullname 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_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_FIRST_VISIT_ONLY CALL FUNCTION 'ISH_FIRST_VISIT_ONLY' EXPORTING * IT_RANGE_PLANB = it_range_storn = it_range_storn IMPORTING et_fal_bew = it_not_first_visit CHANGING ct_fal_bew = it_fal_bew EXCEPTIONS no_data = 1 OTHERS = 2.

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 = space.

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

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

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = 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.

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 = einri IMPORTING output = einri EXCEPTIONS OTHERS = 1.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = einri freig = '*' no_bauid = off zimkz = on betkz = off IMPORTING selected_bauid = p_bau 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 RNLAMB01 or its description.