RNBADI_PAI_DIA SAP (IS-H: PAI BAdI Structure Diagnoses) Structure details
Description: IS-H: PAI BAdI Structure Diagnoses
Related tables to RNBADI_PAI_DIA
Access table RNBADI_PAI_DIA
Structure field list including key, data, relationships and ABAP select examples
RNBADI_PAI_DIA 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 "IS-H: PAI BAdI Structure Diagnoses" 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_DIA TYPE RNBADI_PAI_DIA.
The RNBADI_PAI_DIA table consists of various fields, each holding specific information or linking keys about IS-H: PAI BAdI Structure Diagnoses data available in SAP. These include DKEY1 (IS-H: Diagnosis Code), DTYP1 (IS-H: Diagnosis Category (Referral, Treatment Diagnosis)), DKAT1 (IS-H: Identification Key of Diagnosis Coding Catalog), DRG_CATEGORY (IS-H: Category of DRG Diagnosis (Principal, Secondary)).. 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_DIA 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 |
DKEY1 | IS-H: Diagnosis Code | DIAID | CHAR | 30 | DIAID | ||||
DTYP1 | IS-H: Diagnosis Category (Referral, Treatment Diagnosis) | DIATYP | CHAR | 1 | DIATYP | ||||
DKAT1 | IS-H: Identification Key of Diagnosis Coding Catalog | DIAKAT | CHAR | 2 | KATID | ||||
DRG_CATEGORY | IS-H: Category of DRG Diagnosis (Principal, Secondary) | ISH_DRG_DIA_CATEGORY | CHAR | 1 | ISH_DRG_DIA_CAT_TYPE | ||||
DRG_CC | IS-H: Comorbidity and Complication (DRG Diagnosis) | ISH_DRG_DIA_CC | CHAR | 1 | ISH_ON_OFF | ||||
DRG_RELVANT | IS-H: Used to Determine DRG | ISH_DRG_DIA_RELEVANT | CHAR | 1 | ISH_ON_OFF | ||||
CCL | IS-H: Complication Level of Diagnoses (for DRGs) | ISH_CCL | NUMC | 3 | ISH_CCL_TYPE | ||||
DRG_DIA_SEQNO | IS-H: Consecutive Numbering of DRG Diagnosis | ISH_DRG_DIA_NB | NUMC | 6 | LFD_NR_DRG_DIA | ||||
EWDIA | IS-H: Referral Diagnosis Indicator | KZ_EINWD | CHAR | 1 | XFELD | ||||
BHDIA | IS-H: Treatment Diagnosis Indicator | KZ_BEHLD | CHAR | 1 | XFELD | ||||
AFDIA | IS-H: Admission Diagnosis Indicator | KZ_AUFND | CHAR | 1 | XFELD | ||||
ENDIA | IS-H: 'Discharge Diagnosis' Indicator | KZ_ENTLD | CHAR | 1 | XFELD | ||||
ARDIA | Working Diagnosis Indicator | N2_KZARDIA | CHAR | 1 | XFELD | ||||
PODIA | Preoperative Diagnosis Indicator | N2_KZPODIA | CHAR | 1 | XFELD | ||||
OPDIA | IS-H: Surgery Diagnosis Indicator | KZ_OPERD | CHAR | 1 | XFELD | ||||
TUDIA | IS-H: Cause of Death Indicator | N2_KZTUDIA | CHAR | 1 | XFELD | ||||
FHDIA | IS-H: 'Department Main Diagnosis' Indicator | KZ_FAHPD | CHAR | 1 | XFELD | ||||
KHDIA | IS-H: Hospital Main Diagnosis Indicator | KZ_KHHPD | CHAR | 1 | XFELD | ||||
DITXT | Free Text for Diagnosis | ISH_DITEXT | CHAR | 50 | TEXT50 | ||||
ROW_ID | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
DKEY2 | IS-H: Diagnosis Code | DIAID | CHAR | 30 | DIAID | ||||
DTYP2 | Type for ICD-10 Diagnoses | ISH_ICD10_DIATYP | CHAR | 1 | ISH_DIATYP | ||||
DKAT2 | IS-H: Identification Key of Diagnosis Coding Catalog | DIAKAT | CHAR | 2 | KATID | ||||
DIAPE | IS-H: Identification of Diagnosing Person | DIA_PERS | CHAR | 10 | Assigned to domain | ALPHA | RI_KUNNR | ||
DIADT | IS-H: Date on which Diagnosis Was Created | DIADT | DATS | 8 | RI_DATUM | ||||
DIAZT | IS-H: Time at which Diagnosis Created | DIAZT | TIMS | 6 | UHRZT | ||||
ANZOP | IS-H: Number of Surgeries Occasioned by Dept. Main Diagnosis | ANZOP | NUMC | 2 | NUM02 | ||||
DIALO | IS-H: Localization of Diagnosis | N2_DIALO | CHAR | 2 | Assigned to domain | ALPHA | N2_DIALO | ||
DIAGW | Diagnostic Certainty | N2_DIASI | CHAR | 2 | Assigned to domain | ALPHA | N2_DIASI | ||
KZTXT | IS-H: Comment on Diagnosis | TEXT_DIA | CHAR | 50 | TEXT50 | ||||
SPERR | Blocking Indicator | RI_SPERR | CHAR | 1 | XFELD | ||||
ALTERN_DIATXT | IS-H: Alternative Diagnosis Text (from External System) | ISH_ALTERN_DIATXT | CHAR | 132 | TXT132 | ||||
DIAZS | Diagnostic Suppl. | N2_DIAZS | CHAR | 2 | Assigned to domain | ALPHA | N2_DIAZS | ||
DOCVIEW | IS-H: Department Diagnosis | ISH_SECTION_HANDLE | NUMC | 4 | NUMC4 | ||||
DIAG_EXCF | ISH_DIA_EXCEPTION_FACTS | CHAR | 240 | TEXT240 |
Key field | Non-key field |
How do I retrieve data from SAP structure RNBADI_PAI_DIA using ABAP code?
As RNBADI_PAI_DIA 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_DIA as there is no data to select.How to access SAP table RNBADI_PAI_DIA
Within an ECC or HANA version of SAP you can also view further information about RNBADI_PAI_DIA 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