SAP Reports / Programs

RN2LLPAT SAP ABAP Report - Evaluation for Services, Patients and Employees







RN2LLPAT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report supplies a detailed overview of the released services that have been entered by way of i...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 RN2LLPAT 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 RN2LLPAT. "Basic submit
SUBMIT RN2LLPAT AND RETURN. "Return to original report after report execution complete
SUBMIT RN2LLPAT 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: ZIMMR = Work Station (Building. OU)
Selection Text: OUTPAT = Patients and Employees
Selection Text: OUTMAT = Material
Selection Text: OUTDOK = Document Category
Selection Text: NTPKE = Service
Selection Text: MITAR = Employee
Selection Text: ERAOE = Performing Organizational Unit
Title: Evaluation for Services, Patients and Employees
Text Symbol: U28 = Sum of Svces Performed for Inpatients:
Text Symbol: U27 = Sum of Svces Performed for Outpatients:
Text Symbol: U26 = Title ;; Title of employee
Text Symbol: U25 = Can;; Cancel indicator
Text Symbol: U24 = To ;;
Text Symbol: U23 = Frm;;
Text Symbol: U22 = DI;; Deletion Ind.
Text Symbol: U21 = Employee Name ;;
Text Symbol: U20 = Role ;; Employee role
Text Symbol: U19 = Can;; Cancel indicator
Text Symbol: U18 = Perf.OU ;; Performable org. unit
Text Symbol: U17 = Req.OU ;; Requestable org. unit
Text Symbol: U16 = Perf. Date;; Performance date
Text Symbol: U15 = CT;; CaseTyp
Text Symbol: U14 = Case ;;
Text Symbol: U13 = Patient ;;
Text Symbol: U12 = Male Female Unknwn DI
Text Symbol: U11 = Total
Text Symbol: U10 = Hospital ;;
Text Symbol: U09 = Inp Outp Oth
Text Symbol: U08 = (No. of Performances:) ;;
Text Symbol: U07 = Svce Perf. Date: ;; Service performance date
Text Symbol: U06 = Sex: ;; Sex
Text Symbol: U05 = Service:
Text Symbol: U29 = Sum of Svces Performed for Other Patients:
Text Symbol: U53 = Date Service
Text Symbol: U52 = TabName
Text Symbol: U51 = Service
Text Symbol: U50 = Employee:
Text Symbol: U49 = Workstatn:





Text Symbol: U48 = CaseTyp:
Text Symbol: U47 = Document Category
Text Symbol: U46 = Alphaumerical Fields of the Table
Text Symbol: U45 = Fld.Text
Text Symbol: U44 = Fld Name
Text Symbol: U43 = Itm
Text Symbol: U42 = Average
Text Symbol: U41 = Unit
Text Symbol: U40 = Description
Text Symbol: U39 = Qty
Text Symbol: U38 = Material
Text Symbol: U37 = Qty
Text Symbol: U36 = Total
Text Symbol: U35 = 1Svce Unit Outp Inp
Text Symbol: U34 = Sum of Total Duration:
Text Symbol: U33 = Sum of Duration for Other Patients:
Text Symbol: U32 = Sum of Duration for Outpatients
Text Symbol: U31 = Sum of Duration for Inpatients:
Text Symbol: U30 = (Duration in Min.:)
Text Symbol: 205 = Fld Name
Text Symbol: 204 = Vers.
Text Symbol: 203 = Doc. Category
Text Symbol: 202 = Material
Text Symbol: 201 = Patients and Employees
Text Symbol: 200 = the duration
Text Symbol: 190 = -
Text Symbol: 180 = appears.
Text Symbol: 170 = already
Text Symbol: 160 = Freq.
Text Symbol: 150 = Display Frequency
Text Symbol: 140 = Nursing Services
Text Symbol: 130 = Group Services
Text Symbol: 122 = DocCat
Text Symbol: 121 = Services w/o Findngs
Text Symbol: 120 = Medical Services
Text Symbol: 110 = Indiv. Services
Text Symbol: 100 = Services
Text Symbol: 010 = patients, materials or doc. category
Text Symbol: 009 = For service outline check





Text Symbol: 008 = services or doc. category
Text Symbol: 007 = For employee classif. check
Text Symbol: 006 = as the output.
Text Symbol: 005 = services, materials or doc. category
Text Symbol: 004 = For link "Without" check
Text Symbol: 003 = displayed
Text Symbol: 002 = already
Text Symbol: 001 = It is
Text Symbol: 206 = Service Grouping
Text Symbol: U04 = Perf. OU: ;; Performing org. unit
Text Symbol: U03 = Service Catalog: ;;
Text Symbol: U02 = Total of all Services Performed:
Text Symbol: U01 = Total of all Services: ;;
Text Symbol: E18 = Documentation
Text Symbol: E17 = Grouping
Text Symbol: E16 = Groups w/o Single Services
Text Symbol: E15 = Inpatient
Text Symbol: E14 = Outpat.
Text Symbol: E13 = Open All Lines
Text Symbol: E12 = Output
Text Symbol: E11 = Only Documented Services
Text Symbol: E10 = Include Canceled Services
Text Symbol: E09 = Performing Org. Unit ;;
Text Symbol: E08 = To
Text Symbol: E07 = Sex Unk. ;;
Text Symbol: E06 = Female
Text Symbol: E05 = Male
Text Symbol: E03 = Service Performed Date ;;
Text Symbol: E02 = Charge Master ;;
Text Symbol: E01 = Institution
Text Symbol: E00 = Patient/Case Restriction
Text Symbol: 220 = No Duration Maintained
Text Symbol: 211 = Services / Pats
Text Symbol: 210 = Male Female Unknwn DI
Text Symbol: 209 = Services and Patients
Text Symbol: 208 = W/o
Text Symbol: 207 = Employee Grouping


INCLUDES used within this REPORT RN2LLPAT

INCLUDE MNDATA00.


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_N2_AUTHORITY * CALL FUNCTION 'ISH_N2_AUTHORITY'. obsolet

ISHMED_CHECK_N_EINR_REP CALL FUNCTION 'ISHMED_CHECK_N_EINR_REP' EXPORTING repid = repid einri = einre no_message = ' ' messagetype = 'S' auto_leave = 'X' IMPORTING rc = return_code EXCEPTIONS OTHERS = 0.

ISH_N2_RAD_GET_PARAM CALL FUNCTION 'ISH_N2_RAD_GET_PARAM' EXPORTING ss_einri = einre ss_parm = 'RBF_DOKART' * SS_LFDNR = IMPORTING ss_value = dok_art EXCEPTIONS no_customizing = 1.

ISH_FIND_LOWER_SERVICES CALL FUNCTION 'ISH_FIND_LOWER_SERVICES' EXPORTING begdt = i_nlei-ibgdt einri = i_nlei-einri enddt = i_nlei-iendt talst = pruef_leist tarif = katide zotyp = zotyp2 zutar = '01' TABLES lower_tab = l_tab lower_tab_ntpz = l_tab_ntpz EXCEPTIONS missing_data = 1 wrong_data = 2.

ISH_READ_NPAT CALL FUNCTION 'ISH_READ_NPAT' EXPORTING * SS_EINRI = '*' ss_patnr = innfal-patnr * SS_READ_DB = ' ' * SS_CHECK_AUTH = 'X' * SS_WITH_NPAE = ' ' * SS_WITH_NADR = ' ' * SS_CHECK_VIP = ' ' * SS_CHECK_INACTIVE = ' ' * SS_NO_MESSAGES = ' ' * SS_NO_BUFFERING = ' ' IMPORTING * SS_NOT_FOUND_IN_EINRI = * SS_NPAE = ss_npat = ls_npat EXCEPTIONS not_found = 1 no_authority = 2 no_einri = 3 OTHERS = 4.

ISH_READ_NPAT CALL FUNCTION 'ISH_READ_NPAT' EXPORTING * SS_EINRI = '*' ss_patnr = innfal-patnr * SS_READ_DB = ' ' * SS_CHECK_AUTH = 'X' * SS_WITH_NPAE = ' ' * SS_WITH_NADR = ' ' * SS_CHECK_VIP = ' ' * SS_CHECK_INACTIVE = ' ' * SS_NO_MESSAGES = ' ' * SS_NO_BUFFERING = ' ' IMPORTING * SS_NOT_FOUND_IN_EINRI = * SS_NPAE = ss_npat = ls_npat EXCEPTIONS not_found = 1 no_authority = 2 no_einri = 3 OTHERS = 4.

ISH_READ_NPAT_MULTI CALL FUNCTION 'ISH_READ_NPAT_MULTI' EXPORTING it_npat_pk = lt_npat_pk * I_READ_DB = ' ' * I_ADDRESS_REQ = ' ' * I_TELNR_REQ = ' ' * I_BUFFER_REQ = ' ' * I_WITH_NPAE = ' ' IMPORTING * ET_NPNT = * ET_NPNT_HCRELSHIPS = * ET_NPNT_BUPA_HCRELSHIPS = et_npat = lt_npat * ET_NADR = * ET_NADR2 = * ET_NADR_ABG = * ET_NADR_AN1 = * ET_NADR_AN2 = * ETT_TELNR = * ETT_TELNR2 = * ETT_TELNR_ABG = * ETT_TELNR_AN1 = * ETT_TELNR_AN2 = * E_STATUS = * ET_RC = .

ISH_READ_NPAT_MULTI CALL FUNCTION 'ISH_READ_NPAT_MULTI' EXPORTING it_npat_pk = lt_npat_pk * I_READ_DB = ' ' * I_ADDRESS_REQ = ' ' * I_TELNR_REQ = ' ' * I_BUFFER_REQ = ' ' * I_WITH_NPAE = ' ' IMPORTING * ET_NPNT = * ET_NPNT_HCRELSHIPS = * ET_NPNT_BUPA_HCRELSHIPS = et_npat = lt_npat * ET_NADR = * ET_NADR2 = * ET_NADR_ABG = * ET_NADR_AN1 = * ET_NADR_AN2 = * ETT_TELNR = * ETT_TELNR2 = * ETT_TELNR_ABG = * ETT_TELNR_AN1 = * ETT_TELNR_AN2 = * E_STATUS = * ET_RC = .

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 uline = off ausbegdt = gueltv ausenddt = gueltb EXCEPTIONS invalid_einri = 01.

ISHMED_READ_NLEMIT CALL FUNCTION 'ISHMED_READ_NLEMIT' EXPORTING ss_lnrls = sorttab-lei_lnrls TABLES e_extab = extab EXCEPTIONS not_found = 1.

ISH_READ_NORG CALL FUNCTION 'ISH_READ_NORG' EXPORTING einri = einre orgid = norg_orgid IMPORTING norg_e = norg EXCEPTIONS missing_orgid = 01.

R3MED_VALUE_REQUEST CALL FUNCTION 'R3MED_VALUE_REQUEST' EXPORTING ss_einri = tn01-einri ss_length = 45 ss_heigth = 9 ss_select = 'ERBR' ss_field = feldname ss_table = 'NORG' ss_vcode = vcode * SS_LOEKZ = ON IMPORTING ss_value = wert EXCEPTIONS not_found = 01.

ISH_N2_READ_DOCUMENT_TYPE CALL FUNCTION 'ISH_N2_READ_DOCUMENT_TYPE' EXPORTING ss_dtid = dtid_pruef ss_dtvers = dtvers_pruef ss_einri = einre IMPORTING ss_n2dt = n2dt ss_n2dtt = n2dtt EXCEPTIONS not_found_object = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'RN2LLPAT' dynumb = '1000' translate_to_upper = 'X' TABLES dynpfields = fields EXCEPTIONS OTHERS = 1.

ISHMED_F4_ALLG CALL FUNCTION 'ISHMED_F4_ALLG' EXPORTING i_disp_other = ' ' i_headline = f4head i_height = anz_to_rep i_len_code = 4 i_len_other = 4 i_len_text = 70 i_sort = ' ' i_title = f4title IMPORTING e_key = f4key TABLES t_f4tab = if4tab EXCEPTIONS OTHERS = 1.

ISHMED_RANGE_TO_STRING CALL FUNCTION 'ISHMED_RANGE_TO_STRING' EXPORTING i_length = 80 TABLES ranges_tab = r_seloe CHANGING c_string = oe_str EXCEPTIONS ex_invalid_range = 1.

ISHMED_RANGE_TO_STRING CALL FUNCTION 'ISHMED_RANGE_TO_STRING' EXPORTING i_length = 80 TABLES ranges_tab = r_selma CHANGING c_string = ma_str EXCEPTIONS ex_invalid_range = 1.

ISHMED_RANGE_TO_STRING CALL FUNCTION 'ISHMED_RANGE_TO_STRING' EXPORTING i_length = 80 TABLES ranges_tab = r_selei CHANGING c_string = lei_str EXCEPTIONS ex_invalid_range = 1.

ISH_N2_SHOW_DOKTYPEN CALL FUNCTION 'ISH_N2_SHOW_DOKTYPEN' EXPORTING ss_einri = einre ss_loekz = on CHANGING ss_dtid = dtid_p ss_dtvers = dtvers_p EXCEPTIONS not_found = 1 OTHERS = 2.



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