SAP Reports / Programs

RNWPVIEW008 SAP ABAP Report - IS-H: Selection Screen for View 008 (Coding Analyses Clinical WS)







RNWPVIEW008 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RNWPVIEW008 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 RNWPVIEW008. "Basic submit
SUBMIT RNWPVIEW008 AND RETURN. "Return to original report after report execution complete
SUBMIT RNWPVIEW008 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: P_NODRG = DRG Missing
Selection Text: P_NOADIA = w/o Admission Diagnosis
Selection Text: P_NEWBOR = Healthy Newborns
Selection Text: P_NCWVWD = Value for Cost Weight/LOS
Selection Text: P_NBSOI = Value for No. of Diagn. >=
Selection Text: P_NBOUCH = Value for Dept. Stay
Selection Text: P_NBCW = Value for Cost Weight <
Selection Text: P_NBAUFD = Value for Total LOS
Selection Text: P_MGVD = Discounts for Transfers
Selection Text: P_MDCCAT = MDC Catalog
Selection Text: P_KHDIA = w/o Hospital Main Diagnosis
Selection Text: P_INPAT = Inpatient
Selection Text: P_ICPMK = Surgical Procedures Catalog
Selection Text: P_GBGEW = Without Birth Weight
Selection Text: P_FSOUOP = Dept Status in Dept Open
Selection Text: P_FSOPEN = Department Status Open
Selection Text: P_FHDIA = w/o Department Main Diagnosis
Selection Text: P_ENTL = w/o Discharge Diagnosis
Selection Text: P_DRGU = Error DRG
Selection Text: P_DRGCH = Higher Vltd DRG for Adjac.DRG
Selection Text: P_DRGCAT = DRG Catalog
Selection Text: P_DRG = w/o DRG Principal Diagnosis
Selection Text: P_DOUREL = Interpret DM DiagnInd Dept-Spc
Selection Text: P_DISCOU = Discharged from Dept
Selection Text: P_DIACAT = Diagnosis Coding Catalog
Selection Text: P_DIAA = No. of Diagnoses < Age/10
Selection Text: P_DEPART = Departures
Selection Text: P_DAYPAT = Day Patient
Selection Text: P_CWVWD = Length of Stay/Cost Weight >
Selection Text: P_CW = Cost Weight <
Selection Text: P_CASEHC = with DRG Prin. Diagn.in Dept
Selection Text: P_CASEDE = Discharged Only
Selection Text: P_AUFD = Total Length of Stay >
Selection Text: P_ARRIV = Arrivals
Selection Text: P_ANZD = No. of Diagnoses <
Selection Text: P_ANZ = Value for No. of Diagnoses
Selection Text: PLANHORZ = Include Next (Days)
Selection Text: KEYDATE = Date





Selection Text: HISTHORZ = Include Previous (Days)
Selection Text: SO_MDSTS = D .
Selection Text: SO_MDSTA = D .
Selection Text: SELAKT = D .
Selection Text: R_PWSTAT = D .
Selection Text: R_PWPROF = D .
Selection Text: R_ABRKZ = D .
Selection Text: SE_EINRI = Institution
Selection Text: R_TREAOU = Care Unit
Selection Text: R_RSSTAT = RSS Confirmation Status
Selection Text: R_MDCCOD = MDC Code
Selection Text: R_ICPML = DRG Principal Procedure
Selection Text: R_DRGCOD = DRG Code
Selection Text: R_DIAGW = Diagnostic Certainty
Selection Text: R_DIACOD = DRG Principal Diagnosis
Selection Text: R_DEPTOU = Department
Selection Text: R_BWGRA = Admission Reason
Selection Text: P_UNDIA = Non-Specific Diagnoses
Selection Text: P_UGVD = Min. LOS Shortfall
Selection Text: P_SOI2 = Value for SOI <=
Selection Text: P_SOI = No. of Diagnoses >=
Selection Text: P_NOEXCL = Without Restriction
Selection Text: P_NOEXFS = Without Restriction
Selection Text: P_NOKEY = Non-Coded Diagnoses
Selection Text: P_NOLOS = w/o Estimated Length of Stay
Selection Text: P_OCCUP = Occupancy
Selection Text: P_OGVD = Max. LOS Overrun
Selection Text: P_OUCHG = Department Stays >
Selection Text: P_PATGEW = Without Admission Weight
Selection Text: P_PDIA = w/o Surgery Diagnosis
Selection Text: P_PDRG = w/o Surgical DRG
Selection Text: P_PICPHC = w/o Surgery Main Code
Selection Text: P_PICPM = w/o Procedure
Selection Text: P_PICPMH = w/o DRG Principal Procedure
Selection Text: P_PICPMU = w/o Surgical Procedures
Selection Text: P_PICPMY = with Non-Specific Procedures
Selection Text: P_PICPRE = w/o OPS Code for Mech. Ventil.
Selection Text: P_PVWD = Total LOS > Planned LOS
Selection Text: P_REGRP = Regrouping Advised





Selection Text: P_RESPI = w/o Mech.Ventil.Duration
Title: IS-H: Selection Screen for View 008 (Coding Analyses Clinical WS)
Text Symbol: R03 = w/o DRG Principal Diagnosis (with HM/DM Diagnoses)
Text Symbol: R04 = No. of Diagnoses >=
Text Symbol: R06 = and SOI <=
Text Symbol: R07 = Cost Weight <
Text Symbol: R08 = Length of Stay/Cost Weight >
Text Symbol: R09 = Error DRG
Text Symbol: R10 = Higher Valuated DRG for Adjacent DRG
Text Symbol: R11 = Missing DRG
Text Symbol: R12 = DRG Catalog
Text Symbol: R13 = Min. LOS Shortfall
Text Symbol: R14 = Max. LOS Overrun
Text Symbol: R15 = Discount for Transfers
Text Symbol: R16 = MDC Catalog
Text Symbol: S01 = Institution
Text Symbol: S02 = Date
Text Symbol: S03 = Time
Text Symbol: S04 = From
Text Symbol: S05 = To
Text Symbol: S06 = Date
Text Symbol: T00 = Patient Pathway
Text Symbol: T01 = This screen is reserved for the component IS-H*MED Pathways.
Text Symbol: T02 = Select the next screen to continue variant maintenance.
Text Symbol: R02 = No.of DRG Diagnoses/Case <
Text Symbol: A28 = Discharged from Dept
Text Symbol: A29 = Without Restriction
Text Symbol: A30 = Admitted to Dept
Text Symbol: A31 = Dept Status Open
Text Symbol: A32 = Dept Status in Dept Open
Text Symbol: A33 = Possible Readmissions Only
Text Symbol: B02 = Admitted in Last
Text Symbol: B03 = Days
Text Symbol: B04 = Discharged in Last
Text Symbol: B05 = Total Length of Stay >
Text Symbol: B06 = Total Length of Stay > Planned Length of Stay
Text Symbol: B07 = w/o Discharge Diagnosis
Text Symbol: B08 = w/o Hospital Main Diagnosis
Text Symbol: B09 = w/o DRG Principal Diagnosis



Text Symbol: B10 = Service Catalog
Text Symbol: B12 = Cases with >
Text Symbol: B13 = Dept. Stays
Text Symbol: B14 = w/o Admission Diagnosis
Text Symbol: B15 = Cases with
Text Symbol: B16 = Department Stays >
Text Symbol: B17 = w/o Department Main Diagnosis
Text Symbol: B18 = Interpret Missing Diagnosis Ind. in Relation to Departments
Text Symbol: B19 = w/o Estimated Length of Stay
Text Symbol: B20 = w/o Admission Weight (< 1 Year)
Text Symbol: B21 = w/o Birth Weight for Newborns
Text Symbol: 016 = Input Help: Org. Units
Text Symbol: 017 = Input Help: Building Units
Text Symbol: A01 = General
Text Symbol: A02 = Diagnoses
Text Symbol: A03 = DRGs
Text Symbol: A04 = Procedures
Text Symbol: A07 = Case Type
Text Symbol: A08 = Inpatient
Text Symbol: A09 = Outpatient
Text Symbol: A10 = Arrivals
Text Symbol: A11 = Departures
Text Symbol: A13 = Occupancy
Text Symbol: A14 = Day Patient
Text Symbol: A16 = Case Selection
Text Symbol: A17 = Current
Text Symbol: A18 = Dschd, Non-Blld
Text Symbol: A19 = Billed
Text Symbol: A20 = In Process
Text Symbol: A21 = To Be Checked
Text Symbol: A22 = Complete
Text Symbol: A23 = Case Status Basic Med. Documentation
Text Symbol: A24 = Case Status Administration
Text Symbol: A25 = At Time
Text Symbol: A26 = with DRG Prin. Diagn.in Dept
Text Symbol: A27 = Discharged Only
Text Symbol: B22 = Steps Incomplete
Text Symbol: D29 = No. of Diagnoses <
Text Symbol: D30 = No. of Diagnoses < Average
Text Symbol: D31 = No. of Diagnoses < Age/10
Text Symbol: D32 = All
Text Symbol: D33 = Only Specific
Text Symbol: D34 = Diagnostic Certainty
Text Symbol: D35 = Diagnosis Catalog
Text Symbol: D36 = Comparison Value
Text Symbol: P00 = Cases with Surgery Movement
Text Symbol: P01 = w/o Surgery Diagnosis
Text Symbol: P02 = w/o Surgical DRG
Text Symbol: P03 = w/o Procedure
Text Symbol: P04 = With Case-Related Procedures
Text Symbol: P05 = Number of Surgeries
Text Symbol: P06 = All Cases
Text Symbol: P07 = w/o Case-Related Procedures
Text Symbol: P08 = w/o Surgical Procedures
Text Symbol: P09 = with Non-Specific Procedures
Text Symbol: P10 = w/o DRG Princ.Procedure
Text Symbol: P11 = w/o Surgery Main Code
Text Symbol: P12 = SP Catalog
Text Symbol: P13 = w/o SP Code for Mech. Vent. when Mech. Vent. Duration Entered
Text Symbol: P14 = w/o Mech. Vent. Duration when SP Code Entered for Mech. Vent.
Text Symbol: R00 = Cases with
Text Symbol: R01 = Regrouping Advised
Text Symbol: B23 = Steps Overdue
Text Symbol: D01 = Cases
Text Symbol: D02 = Admission Diagnoses in Last
Text Symbol: D03 = Discharge Diagnoses in Last
Text Symbol: D04 = Surgery Diagnoses
Text Symbol: D05 = Department Main Diagnoses
Text Symbol: D06 = Hospital Main Diagnoses
Text Symbol: D07 = DRG Diagnoses
Text Symbol: D08 = Diagnosis Code or User-Defined Diagnosis Text
Text Symbol: D09 = Patient Department Change
Text Symbol: D10 = Discharged Patients
Text Symbol: D11 = Include Healthy Newborns
Text Symbol: D12 = Tentative Diagnoses
Text Symbol: D13 = Number of Diagnoses <= Average Number
Text Symbol: D14 = No. of Diagnoses/Case
Text Symbol: D15 = with Non-Specific Diagnoses
Text Symbol: D16 = Non-Specific Principal Diagnoses
Text Symbol: D17 = Non-Specific Secondary Diagnoses
Text Symbol: D20 = Discharged Patients Without Release Indicator
Text Symbol: D21 = Length of Stay
Text Symbol: D24 = Other Statistics
Text Symbol: D25 = .8 Diagnoses
Text Symbol: D26 = .9 Diagnoses
Text Symbol: D27 = with Non-Coded Diagnoses
Text Symbol: D28 = Number of Diagnoses


INCLUDES used within this REPORT RNWPVIEW008

INCLUDE: MNDATA00,
RNMDSTATUS_DATA.
INCLUDE: RNWPVIEW008_SUBSC0100.
INCLUDE: RNWPVIEW008_SUBSC0110.
INCLUDE: RNWPVIEW008_SUBSC0120.
INCLUDE: RNWPVIEW008_SUBSC0130.
INCLUDE: RNWPVIEW008_SUBSC0135.
INCLUDE: RNWPVIEW008_SUBSC0140.
INCLUDE: RNSVAR_BWGR.
INCLUDE: RNWPVIEW008SELSCREEN.


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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = rnstat-repid restriction = restrict * DB = ' ' EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.

ISH_MODIFY_SCREEN CALL FUNCTION 'ISH_MODIFY_SCREEN' EXPORTING pname = sy-repid dynnr = sy-dynnr EXCEPTIONS OTHERS = 1.

ISH_DRG_OPT2003_CHECK * CALL FUNCTION 'ISH_DRG_OPT2003_CHECK' * EXPORTING * ss_einri = se_einri * IMPORTING * opt2003 = l_opt2003 ** opt2003dat = * EXCEPTIONS * einri_not_found = 1 * OTHERS = 2.

ISH_DRG_MODE_CHECK CALL FUNCTION 'ISH_DRG_MODE_CHECK' EXPORTING i_einri = se_einri * I_DATE = SY-DATUM IMPORTING e_drg = l_opt2003 "DRG billing * E_DRGDAT = * E_BILLMODE = EXCEPTIONS einri_not_found = 1 OTHERS = 2.

ISH_CHECK_DEP_MD_STATUS_ACTIVE CALL FUNCTION 'ISH_CHECK_DEP_MD_STATUS_ACTIVE' IMPORTING e_active = l_dep_status_act.

ISH_FIND_DRG_MDC_CATALOGS CALL FUNCTION 'ISH_FIND_DRG_MDC_CATALOGS' EXPORTING i_institution = se_einri i_date = keydate IMPORTING e_drg_catalog = p_drgcat e_mdc_catalog = p_mdccat EXCEPTIONS no_drg_cat_found = 1 no_mdc_cat_found = 2 OTHERS = 3.

ISH_DIAGNOSIS_PARAMETERS_GET CALL FUNCTION 'ISH_DIAGNOSIS_PARAMETERS_GET' EXPORTING ss_einri = se_einri ss_date = keydate * SS_FALAR = '1' IMPORTING * ss_basdkat = ss_stadkat = p_diacat * SS_EWDKAT = * SS_DRGKAT = * SS_TNDIA = * E_EXCL = EXCEPTIONS no_parameters = 1 OTHERS = 2.

ISH_PROCEDURE_DRG_CATALOG_FIND CALL FUNCTION 'ISH_PROCEDURE_DRG_CATALOG_FIND' EXPORTING ss_einri = se_einri * SS_FALNR = ss_begdt = keydate ss_enddt = keydate IMPORTING ss_icpmk = p_icpmk EXCEPTIONS no_catalog_found = 1 no_institution = 2 wrong_case_number = 3 OTHERS = 4.



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