RN2AD_ALLERGY SAP (Allergy Documentation - Allergies) Structure details
Description: Allergy Documentation - Allergies
Related tables to RN2AD_ALLERGY
Access table RN2AD_ALLERGY
Structure field list including key, data, relationships and ABAP select examples
RN2AD_ALLERGY 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 "Allergy Documentation - Allergies" 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_RN2AD_ALLERGY TYPE RN2AD_ALLERGY.
The RN2AD_ALLERGY table consists of various fields, each holding specific information or linking keys about Allergy Documentation - Allergies data available in SAP. These include ALLERGY_SEQNO (Entry Sequence of an Allergy), BCHID (Basic Catalog: Catalog Key), BCPID (Basic Cat.: Item Key), AGR (Obsolete Allergen Group).. 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: Cannot Be Enhanced
SAP RN2AD_ALLERGY 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 |
PATNR | IS-H: Patient Number | PATNR | CHAR | 10 | Assigned to domain | ALPHA | PATNR | PAT | |
ALLERGY_SEQNO | Entry Sequence of an Allergy | N2AD_ALLERGY_SEQNO | NUMC | 5 | N2AD_SEQNO | ||||
BCHID | Basic Catalog: Catalog Key | N1BCHID | CHAR | 33 | ISH_UUID_P | ||||
BCPID | Basic Cat.: Item Key | N1BCPID | CHAR | 33 | ISH_UUID_P | ||||
AGR | Obsolete Allergen Group | N2AD_AGR | CHAR | 2 | Assigned to domain | ALPHA | N2AD_AGR | ||
BCHID_AGR | Basic Catalog: Catalog Key | N1BCHID | CHAR | 33 | ISH_UUID_P | ||||
BCPID_AGR | Basic Cat.: Item Key | N1BCPID | CHAR | 33 | ISH_UUID_P | ||||
MDTYP | Drug Type - Internal Use | N2AD_MDTYP | CHAR | 1 | N2AD_MDTYP | ||||
DRUGID | Medication: Mnemonic | N1ME_DRUGID | CHAR | 32 | SYSUUID_C | ||||
AGENTID | Medication: Agent ID | N1ME_AGENTID | CHAR | 32 | SYSUUID_C | ||||
DESCR | Allergen | N2AD_DESCR | CHAR | 160 | N2AD_DESCR | ||||
DESCR_OT | Original Text from Catalog | N2AD_DESCR_OT | CHAR | 1 | ISH_ON_OFF | ||||
ADCOMMENT | Comment for Allergy | N2AD_ALLERGY_COMMENT | CHAR | 50 | TEXT50 | ||||
ADCOMMENT_LT | Indicator that Long Text Exists | RI_LGTXT | CHAR | 1 | XFELD | ||||
TYP | Allergy Type (ID) | N2AD_TYP | CHAR | 2 | Assigned to domain | ALPHA | N2AD_TYP | ||
BCHID_TYP | Basic Catalog: Catalog Key | N1BCHID | CHAR | 33 | ISH_UUID_P | ||||
BCPID_TYP | Basic Cat.: Item Key | N1BCPID | CHAR | 33 | ISH_UUID_P | ||||
CER | Allergic Certainty (ID) | N2AD_CER | CHAR | 2 | Assigned to domain | ALPHA | N2AD_CER | ||
BCHID_CER | Basic Catalog: Catalog Key | N1BCHID | CHAR | 33 | ISH_UUID_P | ||||
BCPID_CER | Basic Cat.: Item Key | N1BCPID | CHAR | 33 | ISH_UUID_P | ||||
RESPONSIBLE | Employee Responsible | N1MITARB | CHAR | 10 | Assigned to domain | ALPHA | RI_KUNNR | VMA | |
EVALUATION | Evaluation of Allergy | N2AD_EVALUATION | CHAR | 1 | N2AD_EVALUATION | ||||
EREASON | Change Reason, Code | N_EREASON | CHAR | 1 | N_EREASON | ||||
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 | ||||
NOR | Number of Reactions | N2AD_NOR | NUMC | 5 | NUMC |
Key field | Non-key field |
How do I retrieve data from SAP structure RN2AD_ALLERGY using ABAP code?
As RN2AD_ALLERGY 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 RN2AD_ALLERGY as there is no data to select.How to access SAP table RN2AD_ALLERGY
Within an ECC or HANA version of SAP you can also view further information about RN2AD_ALLERGY 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