SAP Reports / Programs

RNAP21K01 SAP ABAP Report - IS-H: DRG Data P21 Procedure Information and Hospital Data







RNAP21K01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Relevant nur für Landesversion DE IS-H: DRG Data P21: Procedure Information and Hospital Data According to § 21 of the Hospital Remuneration Act (KHEntgG), hospitals must transfer the previous year's DRG data to the DRG data collection point by March 31st...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 RNAP21K01 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 RNAP21K01. "Basic submit
SUBMIT RNAP21K01 AND RETURN. "Return to original report after report execution complete
SUBMIT RNAP21K01 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: ANZ_BDRG = Number of Setup Beds DRG
Selection Text: ANZ_BPSY = Number of Setup Beds PSY
Selection Text: BR_AB = Billed
Selection Text: BR_VER = Cost Weight, Agreed
Selection Text: DAT_ERST = Created On
Selection Text: EA_P4A3 = Rev. Clearing P4 Cl. 3 KHEntgG
Selection Text: EMAIL = E-Mail Address
Selection Text: ERHEB = Data Extraction
Selection Text: FZ_AB = Billed
Selection Text: FZ_VER = DRG Cases, Agreed
Selection Text: F_PATH = Data Output Path
Selection Text: F_PREFIX = File Name Prefix
Selection Text: ZUAB = Srchg/Dscnt Attribute
Selection Text: VERSION = Version
Selection Text: UHR_ERST = Time
Selection Text: TRART = Type of Operator
Selection Text: SE_EINRI = Institution
Selection Text: REG_VERS = Reg. Care Obligation (PSY)
Selection Text: R3 = Output on SAP Server
Selection Text: PC = Output to PC
Selection Text: KNAME = Hospital Name
Selection Text: KHART = Hospital Type
Selection Text: IKNR = Institute Indicator
Selection Text: GROUPER = DRG Grouper
Title: IS-H: DRG Data P21 Procedure Information and Hospital Data
Text Symbol: S20 = TrainPost O.Hs
Text Symbol: S15 = Trainees in 3rd Year
Text Symbol: S14 = Train3
Text Symbol: S13 = Trainees in 2nd Year
Text Symbol: S12 = Train2
Text Symbol: S11 = Trainees in 1st Year
Text Symbol: S10 = Train1
Text Symbol: S09 = Trainees in Own Hospital
Text Symbol: S08 = Train.OwnHsp
Text Symbol: S06 = Instruct.
Text Symbol: S05 = Total Trainee Posts in Reporting Period
Text Symbol: S04 = Tot.TrainPost
Text Symbol: S03 = Training Facility/Occup. Req. Training





Text Symbol: S01 = Institution
Text Symbol: P12 = File FUSION not created.
Text Symbol: P11 = No merger (Fusion) specifications made.
Text Symbol: P10 = File ABRECHNUNG not created.
Text Symbol: P09 = Your institution bills acc. to BPflV.
Text Symbol: P08 = Creation Date
Text Symbol: P07 = File AUSBILDUNG not created.
Text Symbol: P06 = No training specifications made.
Text Symbol: P05 = File Name
Text Symbol: S21 = Trainee Posts for Other Hospitals
Text Symbol: S45 = Agreed Total Costs of Educ. Institution
Text Symbol: S44 = Agr.TotCst
Text Symbol: S43 = Overheads of Educ. Institution
Text Symbol: S42 = Overhds
Text Symbol: S41 = General Overheads of Educ. Inst.
Text Symbol: S40 = Gen.Ohds
Text Symbol: S39 = Costs of Practical Training
Text Symbol: S38 = Prac.Costs
Text Symbol: S37 = Costs of Theor. and Pract. Tuition
Text Symbol: S36 = Tuit.Costs
Text Symbol: S35 = Institute Indicator of Provided Hospital
Text Symbol: S34 = Case Data To
Text Symbol: S32 = Ty.
Text Symbol: S31 = Case Data From
Text Symbol: S30 = II of Provided Hospital (IKF)
Text Symbol: S29 = Trainee Posts for Other Hospitals
Text Symbol: S28 = TrainPostOthH
Text Symbol: S27 = Trainee Posts in Own Hospital
Text Symbol: S26 = TrainPostOwnHs
Text Symbol: S25 = Personnel Costs per Full-Time Instuctor
Text Symbol: S24 = PersCostsFI
Text Symbol: S22 = TrainRemun
Text Symbol: I10 = Agreed DRG Cases
Text Symbol: I09 = Version ID
Text Symbol: I08 = Software
Text Symbol: I05 = DRG Grouper
Text Symbol: I04 = E-Mail Address
Text Symbol: I03 = Date of Creation
Text Symbol: I02 = Data Extract.





Text Symbol: I01 = II
Text Symbol: FLD = Field
Text Symbol: CNT = Content
Text Symbol: 110 = Revenue Clearing P4 Cl. 3 KHEntgG
Text Symbol: 109 = Cost Weight, Agreed
Text Symbol: 108 = Billed
Text Symbol: 107 = DRG Cases, Agreed
Text Symbol: 106 = Version
Text Symbol: 105 = Data Extraction
Text Symbol: 102 = File Specifications
Text Symbol: 101 = File Creation
Text Symbol: 100 = Institute Indicator
Text Symbol: 069 = Regional Care Obligation (PSY)
Text Symbol: 068 = Number of Setup Beds (PSY)
Text Symbol: 067 = Time
Text Symbol: 066 = E-Mail Address
Text Symbol: 065 = Creation Date
Text Symbol: 062 = Srchg/Dscnt Attribute
Text Symbol: 061 = Number of Set-Up Beds (DRG)
Text Symbol: 060 = Hospital Name
Text Symbol: 055 = Type of Operator
Text Symbol: 039 = Output to PC
Text Symbol: 038 = Output on SAP Server
Text Symbol: 025 = Hospital Type
Text Symbol: 012 = DRG Grouper
Text Symbol: 004 = Data Output Path
Text Symbol: 003 = File Name Prefix
Text Symbol: 001 = Test1
Text Symbol: P04 = Path
Text Symbol: P03 = P21 File Creation: INFO, KRANKENHAUS, FUSION, AUSBILDUNG, ABRECHNUNG
Text Symbol: P02 = P21 File Creation: INFO, KRANKENHAUS, FUSION, AUSBILDUNG
Text Symbol: I44 = Regional Care Obligation
Text Symbol: I43 = Agreed Total Costs Educational Institution
Text Symbol: I42 = Overheads Educational Inst.
Text Symbol: I41 = General Overheads Educ. Inst.
Text Symbol: I40 = Costs of Practical Training
Text Symbol: I39 = Classroom Costs
Text Symbol: I38 = IK-F
Text Symbol: I37 = Case Data To



Text Symbol: I36 = Case Data Frm
Text Symbol: I35 = Beds PSY
Text Symbol: I34 = Revenue Clearing P4.3
Text Symbol: I33 = Valuation Relations - Billed
Text Symbol: I32 = Valuation Relations - Agreed
Text Symbol: I31 = Trainee Posts for Other Hosp.
Text Symbol: I30 = Trainee Posts Own Hosp.
Text Symbol: I29 = Training Facility Type
Text Symbol: I28 = Pers.Costs/Instruct.
Text Symbol: I27 = Training Remuneration
Text Symbol: I26 = Trainees at Other Hospital
Text Symbol: I23 = TraineeY3
Text Symbol: I22 = TraineeY2
Text Symbol: I21 = TraineeY1
Text Symbol: I20 = Trainees in Own Hospital
Text Symbol: I19 = Instructors
Text Symbol: I18 = Trainee Posts - Total
Text Symbol: I17 = Training Facility
Text Symbol: I16 = Srchrg/Dscnt Attrib.
Text Symbol: I15 = Beds DRG
Text Symbol: I14 = HspOperat
Text Symbol: I13 = HspPhy
Text Symbol: I12 = HspName
Text Symbol: I11 = Billed DRG Cases


INCLUDES used within this REPORT RNAP21K01

INCLUDE MNCOLOUR.
INCLUDE RNAP21K01TOP.
INCLUDE RNSSTABL.
INCLUDE RNLALV01.
INCLUDE RNAP21K01F01.
INCLUDE MNDATA_BILLING_MODE.
INCLUDE RNSSEINR.
INCLUDE RNSSIEIN.


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_EINRI_CHECK CALL FUNCTION 'ISH_EINRI_CHECK' EXPORTING ss_einri = se_einri IMPORTING ss_tn01 = tn01 EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_EINRI_CHECK CALL FUNCTION 'ISH_EINRI_CHECK' EXPORTING ss_einri = se_einri IMPORTING ss_tn01 = tn01 EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_FILE_VALIDATE_NAME call function 'ISH_FILE_VALIDATE_NAME' changing c_filename = dinfo EXCEPTIONS ERROR = 1 OTHERS = 2 .

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'P21_DATERHEB' domvalue = dv_erheb IMPORTING ddtext = dd_erheb.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'P21_VERSION' domvalue = dv_version IMPORTING ddtext = dd_version.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'P21_KHART' domvalue = dv_khart IMPORTING ddtext = dd_khart.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'P21_TART' domvalue = dv_trart IMPORTING ddtext = dd_trart.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'ISH_P21_REG_VERS' domvalue = dv_reg_vers IMPORTING ddtext = dd_reg_vers.

ISH_EINRI_CHECK CALL FUNCTION 'ISH_EINRI_CHECK' EXPORTING ss_einri = se_einri IMPORTING ss_tn01 = tn01 EXCEPTIONS not_found = 1 OTHERS = 2.

SO_USER_ADDRESS_READ_API1 CALL FUNCTION 'SO_USER_ADDRESS_READ_API1' TABLES user_address = lt_user_address EXCEPTIONS enqueue_errror = 1 parameter_error = 2 x_error = 3 OTHERS = 4.

ISH_GET_LOCAL_CURRENCY CALL FUNCTION 'ISH_GET_LOCAL_CURRENCY' EXPORTING einri = se_einri EXCEPTIONS einri_not_found = 1 bukrs_not_found = 2 OTHERS = 3.

ISH_DRG_MODE_CHECK CALL FUNCTION 'ISH_DRG_MODE_CHECK' EXPORTING i_einri = se_einri i_date = last_year_end_date IMPORTING e_billmode = billmode EXCEPTIONS einri_not_found = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid it_fieldcat = gt_fieldcat_list it_events = gt_eventtab_list is_layout = gs_layout_list is_print = ls_print TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_inclname = gv_repid i_internal_tabname = 'GT_OUTTAB' CHANGING ct_fieldcat = xt_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_eventtab_list EXCEPTIONS list_type_wrong = 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 RNAP21K01 or its description.