N2AD_PAT SAP (Allergy Documentation - Overall Allergy Status (OAS)) Table details
Description: Allergy Documentation - Overall Allergy Status (OAS)
Table field list including key, data, relationships and ABAP select examples
N2AD_PAT is a standard SAP Table which is used to store Allergy Documentation - Overall Allergy Status (OAS) data and is available within R/3 SAP systems depending on the version and release level.
The N2AD_PAT table consists of various fields, each holding specific information or linking keys about Allergy Documentation - Overall Allergy Status (OAS) data available in SAP. These include PATNR (IS-H: Patient Number), STATE_TOTAL (Overall Allergy Status (OAS)), STATE_COMMENT (Comment for Overall Allergy Status (OAS)), STATE_COMMENT_LT (Indicator that Long Text Exists).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP N2AD_PAT table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PATNR | IS-H: Patient Number | PATNR | CHAR | 10 | NPAT | ALPHA | PATNR | PAT | |
STATE_TOTAL | Overall Allergy Status (OAS) | N2AD_STATE_TOTAL | CHAR | 1 | N2AD_STATE_TOTAL | ||||
STATE_COMMENT | Comment for Overall Allergy Status (OAS) | N2AD_STATE_COMMENT | CHAR | 50 | TEXT50 | ||||
STATE_COMMENT_LT | Indicator that Long Text Exists | RI_LGTXT | CHAR | 1 | XFELD | ||||
NOA | Number of Allergies | N2AD_NOA | NUMC | 5 | NUMC | ||||
DOKU_RESET | Allergy Documentation Reset | N2AD_DOKU_RESET | CHAR | 1 | ISH_ON_OFF | ||||
DRUG_EXIST | Drug Allergy Exists | N2AD_DRUG_EXIST | CHAR | 1 | ISH_ON_OFF | ||||
PASS_EXIST | Allergy Passport Exists | N2AD_PASS_EXIST | CHAR | 1 | ISH_ON_OFF | ||||
DIAG_EXIST | 'Allergy Diagnoses Exist' Indicator | N2AD_DIAG_EXIST | CHAR | 1 | ISH_ON_OFF | ||||
RESPONSIBLE | Employee Responsible | N1MITARB | CHAR | 10 | Assigned to domain | ALPHA | RI_KUNNR | VMA | |
EREASON | Change Reason, Code | N_EREASON | CHAR | 1 | N_EREASON | ||||
CREATE_DATE | IS-H: Date when Record Created | RI_ERDAT | DATS | 8 | RI_DATUM | ||||
CREATE_TIME | IS-H: Time when Data Record Created | ISH_ERTIM | TIMS | 6 | UHRZT | ||||
CREATE_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 | Cancellation Reason | N2AD_CANCEL_REASON | CHAR | 1 | N2AD_CANCEL_REASON | ||||
CANCEL_FLAG | IS-H: Cancellation Indicator | RI_STORN | CHAR | 1 | XFELD | ||||
TIMESTAMP | Timestamp in Short Form (YYYYMMDDhhmmss) | ISH_TIMESTAMP | DEC | 15 | TZNTSTMPS |
Key field | Non-key field |
How do I retrieve data from SAP table N2AD_PAT using ABAP code
The following ABAP code Example will allow you to do a basic selection on N2AD_PAT to SELECT all data from the tableDATA: WA_N2AD_PAT TYPE N2AD_PAT.
SELECT SINGLE *
FROM N2AD_PAT
INTO CORRESPONDING FIELDS OF WA_N2AD_PAT
WHERE...
How to access SAP table N2AD_PAT
Within an ECC or HANA version of SAP you can also view further information about N2AD_PAT 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