RNBADI_PAI_DRG SAP (PAI BAdI Structure DRG Data) Structure details
Description: PAI BAdI Structure DRG Data
Related tables to RNBADI_PAI_DRG
Access table RNBADI_PAI_DRG
Structure field list including key, data, relationships and ABAP select examples
RNBADI_PAI_DRG is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "PAI BAdI Structure DRG Data" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_RNBADI_PAI_DRG TYPE RNBADI_PAI_DRG.
The RNBADI_PAI_DRG table consists of various fields, each holding specific information or linking keys about PAI BAdI Structure DRG Data data available in SAP. These include DRG_CODE (IS-H: DRG Code), MDC_CODE (IS-H: Code of Major Diagnostic Category (MDC)), DRG_CAT (IS-H: DRG Catalog Used for Coding), SOI (IS-H: Severity of Illness (for DRG Purposes)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP RNBADI_PAI_DRG structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
DRG_SEQNO | Sequence Number of a Case-Related DRG | ISH_DRG_SEQ_NB | NUMC | 3 | ISH_DRG_NB_TYPE | ||||
DRG_CODE | IS-H: DRG Code | ISH_DRG_CODE | CHAR | 10 | Assigned to domain | ALPHA | TARLS | ||
MDC_CODE | IS-H: Code of Major Diagnostic Category (MDC) | ISH_MDC_CODE | CHAR | 30 | DIAID | ||||
DRG_CAT | IS-H: DRG Catalog Used for Coding | ISH_DRG_CAT | CHAR | 2 | Assigned to domain | ALPHA | TARID | ||
SOI | IS-H: Severity of Illness (for DRG Purposes) | ISH_DRG_SOI | CHAR | 1 | Assigned to domain | ISH_DRG_SOI_TYPE | |||
ROM | IS-H: Risk of Mortality (for DRG Purposes) | ISH_DRG_ROM | CHAR | 1 | Assigned to domain | ISH_DRG_ROM_TYPE | |||
DRG_COMMENT | IS-H: Comment on DRG | ISH_DRG_COMMENT | CHAR | 50 | TEXT50 | ||||
DRG_REGROUP | IS-H: Regrouping Advised | ISH_DRG_REGROUP_ADVISE | CHAR | 1 | ISH_ON_OFF | ||||
DRG_CREAT_DATE | Date when DRG Was Determined | ISH_DRG_DATE | DATS | 8 | RI_DATUM | ||||
DRG_CREAT_TIME | Time when DRG Was Determined | ISH_DRG_TIME | TIMS | 6 | UHRZT | ||||
GROUPING_USER | IS-H: Information on Operation of DRG System | ISH_GROUPING_USER | CHAR | 50 | TEXT50 | ||||
CREATION_DATE | IS-H: Date when Record Created | RI_ERDAT | DATS | 8 | RI_DATUM | ||||
CREATION_TIME | IS-H: Time when Data Record Created | ISH_ERTIM | TIMS | 6 | UHRZT | ||||
CREATION_USER | IS-H: Name of Employee who Created Record | RI_ERNAM | CHAR | 12 | USNAM | ||||
UPDATE_DATE | IS-H: Date of Last Change | RI_UPDAT | DATS | 8 | RI_DATUM | ||||
UPDATE_TIME | IS-H: Time Data Record was Last Changed | ISH_UPTIM | TIMS | 6 | UHRZT | ||||
UPDATE_USER | IS-H: Name of Person who Last Changed Data | RI_UPNAM | CHAR | 12 | USNAM | ||||
CANCEL_DATE | IS-H: Cancellation Date | STORNO_DAT | DATS | 8 | RI_DATUM | ||||
CANCEL_TIME | IS-H: Time Data Record Canceled | ISH_CANTIM | TIMS | 6 | UHRZT | ||||
CANCEL_USER | IS-H: Name of User who Canceled Data Record | STORN_USER | CHAR | 12 | USNAM | ||||
CANCEL_REASON | IS-H: Reason for Cancellation | ISH_CANREASON | CHAR | 2 | ISH_CANREASON_TYPE | ||||
CANCEL_FLAG | IS-H: Cancellation Indicator | RI_STORN | CHAR | 1 | XFELD | ||||
MDC_CAT | IS-H: Catalog for Major Diagnostic Category (MDC) | ISH_MDC_CAT | CHAR | 2 | KATID | ||||
COST_WEIGHT | IS-H: Cost Weight for DRGs | ISH_COST_WEIGHT | DEC | 9(5) | DEC4_5 | ||||
TIMESTAMP | Timestamp in Short Form (YYYYMMDDhhmmss) | ISH_TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
DRG_CREAT_USER | User who Created the Current DRG | ISH_DRG_USER | CHAR | 12 | USNAM | ||||
CHARGE_CATEGORY | Charge Category | ISH_CHARGE_CATEGORY | CHAR | 2 | ISH_CHARGE_CATEGORY | ||||
DRG_REGROUP_RS | Reason for Reclassification | ISH_DRG_REGROUP_REASON | CHAR | 2 | ISH_DRG_REGROUP_REASON |
Key field | Non-key field |
How do I retrieve data from SAP structure RNBADI_PAI_DRG using ABAP code?
As RNBADI_PAI_DRG is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on RNBADI_PAI_DRG as there is no data to select.How to access SAP table RNBADI_PAI_DRG
Within an ECC or HANA version of SAP you can also view further information about RNBADI_PAI_DRG and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects