RNBADI_DIAG SAP (IS-H: BAdI Structure Diagnoses) Structure details

Dictionary Type: Structure
Description: IS-H: BAdI Structure Diagnoses




ABAP Code to SELECT data from RNBADI_DIAG
Related tables to RNBADI_DIAG
Access table RNBADI_DIAG




Structure field list including key, data, relationships and ABAP select examples

RNBADI_DIAG 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: 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_DIAG TYPE RNBADI_DIAG.

The RNBADI_DIAG table consists of various fields, each holding specific information or linking keys about IS-H: BAdI Structure Diagnoses data available in SAP. These include 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)), DRG_CC (IS-H: Comorbidity and Complication (DRG Diagnosis)).. 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_DIAG 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
DKEY1IS-H: Diagnosis Code DIAIDCHAR30DIAID
DTYP1IS-H: Diagnosis Category (Referral, Treatment Diagnosis) DIATYPCHAR1DIATYP
DKAT1IS-H: Identification Key of Diagnosis Coding Catalog DIAKATCHAR2KATID
DRG_CATEGORYIS-H: Category of DRG Diagnosis (Principal, Secondary) ISH_DRG_DIA_CATEGORYCHAR1ISH_DRG_DIA_CAT_TYPE
DRG_CCIS-H: Comorbidity and Complication (DRG Diagnosis) ISH_DRG_DIA_CCCHAR1ISH_ON_OFF
DRG_RELVANTIS-H: Used to Determine DRG ISH_DRG_DIA_RELEVANTCHAR1ISH_ON_OFF
CCLIS-H: Complication Level of Diagnoses (for DRGs) ISH_CCLNUMC3ISH_CCL_TYPE
DRG_DIA_SEQNOIS-H: Consecutive Numbering of DRG Diagnosis ISH_DRG_DIA_NBNUMC6LFD_NR_DRG_DIA
EWDIAIS-H: Referral Diagnosis Indicator KZ_EINWDCHAR1XFELD
BHDIAIS-H: Treatment Diagnosis Indicator KZ_BEHLDCHAR1XFELD
AFDIAIS-H: Admission Diagnosis Indicator KZ_AUFNDCHAR1XFELD
ENDIAIS-H: 'Discharge Diagnosis' Indicator KZ_ENTLDCHAR1XFELD
ARDIAWorking Diagnosis Indicator N2_KZARDIACHAR1XFELD
PODIAPreoperative Diagnosis Indicator N2_KZPODIACHAR1XFELD
OPDIAIS-H: Surgery Diagnosis Indicator KZ_OPERDCHAR1XFELD
TUDIAIS-H: Cause of Death Indicator N2_KZTUDIACHAR1XFELD
FHDIAIS-H: 'Department Main Diagnosis' Indicator KZ_FAHPDCHAR1XFELD
KHDIAIS-H: Hospital Main Diagnosis Indicator KZ_KHHPDCHAR1XFELD
DITXTFree Text for Diagnosis ISH_DITEXTCHAR50TEXT50
ROW_ID2 byte integer (signed) INT2INT25INT2
DKEY2IS-H: Diagnosis Code DIAIDCHAR30DIAID
DTYP2Type for ICD-10 Diagnoses ISH_ICD10_DIATYPCHAR1ISH_DIATYP
DKAT2IS-H: Identification Key of Diagnosis Coding Catalog DIAKATCHAR2KATID
DIAPEIS-H: Identification of Diagnosing Person DIA_PERSCHAR10Assigned to domainALPHARI_KUNNR
DIADTIS-H: Date on which Diagnosis Was Created DIADTDATS8RI_DATUM
DIAZTIS-H: Time at which Diagnosis Created DIAZTTIMS6UHRZT
ANZOPIS-H: Number of Surgeries Occasioned by Dept. Main Diagnosis ANZOPNUMC2NUM02
DIALOIS-H: Localization of Diagnosis N2_DIALOCHAR2Assigned to domainALPHAN2_DIALO
DIAGWDiagnostic Certainty N2_DIASICHAR2Assigned to domainALPHAN2_DIASI
KZTXTIS-H: Comment on Diagnosis TEXT_DIACHAR50TEXT50
SPERRBlocking Indicator RI_SPERRCHAR1XFELD
ALTERN_DIATXTIS-H: Alternative Diagnosis Text (from External System) ISH_ALTERN_DIATXTCHAR132TXT132
DIAZSDiagnostic Suppl. N2_DIAZSCHAR2Assigned to domainALPHAN2_DIAZS
DOCVIEWIS-H: Department Diagnosis ISH_SECTION_HANDLENUMC4NUMC4
DIAG_EXCF ISH_DIA_EXCEPTION_FACTSCHAR240TEXT240

Key field Non-key field



How do I retrieve data from SAP structure RNBADI_DIAG using ABAP code?

As RNBADI_DIAG 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_DIAG as there is no data to select.

How to access SAP table RNBADI_DIAG

Within an ECC or HANA version of SAP you can also view further information about RNBADI_DIAG 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!