RNBADI_PAI_DRG SAP (PAI BAdI Structure DRG Data) Structure details

Dictionary Type: Structure
Description: PAI BAdI Structure DRG Data




ABAP Code to SELECT data from RNBADI_PAI_DRG
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_SEQNOSequence Number of a Case-Related DRG ISH_DRG_SEQ_NBNUMC3ISH_DRG_NB_TYPE
DRG_CODEIS-H: DRG Code ISH_DRG_CODECHAR10Assigned to domainALPHATARLS
MDC_CODEIS-H: Code of Major Diagnostic Category (MDC) ISH_MDC_CODECHAR30DIAID
DRG_CATIS-H: DRG Catalog Used for Coding ISH_DRG_CATCHAR2Assigned to domainALPHATARID
SOIIS-H: Severity of Illness (for DRG Purposes) ISH_DRG_SOICHAR1Assigned to domainISH_DRG_SOI_TYPE
ROMIS-H: Risk of Mortality (for DRG Purposes) ISH_DRG_ROMCHAR1Assigned to domainISH_DRG_ROM_TYPE
DRG_COMMENTIS-H: Comment on DRG ISH_DRG_COMMENTCHAR50TEXT50
DRG_REGROUPIS-H: Regrouping Advised ISH_DRG_REGROUP_ADVISECHAR1ISH_ON_OFF
DRG_CREAT_DATEDate when DRG Was Determined ISH_DRG_DATEDATS8RI_DATUM
DRG_CREAT_TIMETime when DRG Was Determined ISH_DRG_TIMETIMS6UHRZT
GROUPING_USERIS-H: Information on Operation of DRG System ISH_GROUPING_USERCHAR50TEXT50
CREATION_DATEIS-H: Date when Record Created RI_ERDATDATS8RI_DATUM
CREATION_TIMEIS-H: Time when Data Record Created ISH_ERTIMTIMS6UHRZT
CREATION_USERIS-H: Name of Employee who Created Record RI_ERNAMCHAR12USNAM
UPDATE_DATEIS-H: Date of Last Change RI_UPDATDATS8RI_DATUM
UPDATE_TIMEIS-H: Time Data Record was Last Changed ISH_UPTIMTIMS6UHRZT
UPDATE_USERIS-H: Name of Person who Last Changed Data RI_UPNAMCHAR12USNAM
CANCEL_DATEIS-H: Cancellation Date STORNO_DATDATS8RI_DATUM
CANCEL_TIMEIS-H: Time Data Record Canceled ISH_CANTIMTIMS6UHRZT
CANCEL_USERIS-H: Name of User who Canceled Data Record STORN_USERCHAR12USNAM
CANCEL_REASONIS-H: Reason for Cancellation ISH_CANREASONCHAR2ISH_CANREASON_TYPE
CANCEL_FLAGIS-H: Cancellation Indicator RI_STORNCHAR1XFELD
MDC_CATIS-H: Catalog for Major Diagnostic Category (MDC) ISH_MDC_CATCHAR2KATID
COST_WEIGHTIS-H: Cost Weight for DRGs ISH_COST_WEIGHTDEC9(5) DEC4_5
TIMESTAMPTimestamp in Short Form (YYYYMMDDhhmmss) ISH_TIMESTAMPDEC15TZNTSTMPS
DRG_CREAT_USERUser who Created the Current DRG ISH_DRG_USERCHAR12USNAM
CHARGE_CATEGORYCharge Category ISH_CHARGE_CATEGORYCHAR2ISH_CHARGE_CATEGORY
DRG_REGROUP_RSReason for Reclassification ISH_DRG_REGROUP_REASONCHAR2ISH_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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!