TN1RCODE SAP (IS-H*MED: Reason Code) Table details
Dictionary Type: Table
Description: IS-H*MED: Reason Code
Description: IS-H*MED: Reason Code
Table field list including key, data, relationships and ABAP select examples
TN1RCODE is a standard SAP Table which is used to store IS-H*MED: Reason Code data and is available within R/3 SAP systems depending on the version and release level.
The TN1RCODE table consists of various fields, each holding specific information or linking keys about IS-H*MED: Reason Code data available in SAP. These include EINRI (Institution), RCODEID (Medication: Reason ID), DEACT (Medication: Deactivation in Formulary Indicator), DOSE (Medication: Reason for Dose Difference Indicator).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
Text table = TN1RCODET
SAP TN1RCODE 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 | |||
EINRI | Institution | EINRI | CHAR | 4 | TN01 | ALPHA | EINRI | EIN | |
RCODEID | Medication: Reason ID | N1ME_RCODEID | CHAR | 5 | N1ME_RCODEID | ||||
DEACT | Medication: Deactivation in Formulary Indicator | N1ME_DEACT | CHAR | 1 | XFELD | ||||
DOSE | Medication: Reason for Dose Difference Indicator | N1ME_DOSEX | CHAR | 1 | XFELD | ||||
TIME | Medication: Reason for Time Difference Indicator | N1ME_TIMEX | CHAR | 1 | XFELD | ||||
OUSAGE | Medication: Reason for Medication Order Indicator | N1ME_OUSAGE | CHAR | 1 | XFELD | ||||
OENDING | Medication: Indicator - End Reason for Order | N1ME_ENDING | CHAR | 1 | XFELD | ||||
DISCARD | Medication: Reason for Termination Indicator | N1ME_DISCARD | CHAR | 1 | XFELD | ||||
DUPPRINT | Medication: Reason for Duplicate Print Indicator | N1ME_DUPPRINT | CHAR | 1 | N1ME_DUPPRINT | ||||
ERDAT | IS-H: Date when Record Created | RI_ERDAT | DATS | 8 | RI_DATUM | ||||
ERTIM | IS-H: Time Record Created | RI_ERTIM | TIMS | 6 | UHRZT | ||||
ERUSR | IS-H: Name of Employee who Created Record | RI_ERNAM | CHAR | 12 | USNAM | ||||
UPDAT | IS-H: Date of Last Change | RI_UPDAT | DATS | 8 | RI_DATUM | ||||
UPTIM | IS-H: Time of Last Change | RI_UPTIM | TIMS | 6 | UHRZT | ||||
UPUSR | IS-H: Name of Person who Last Changed Data | RI_UPNAM | CHAR | 12 | USNAM | ||||
LOEKZ | Deletion Flag/Indicator | RI_LOEKZ | CHAR | 1 | XFELD | ||||
LOUSR | User Who Deleted Record | RI_LOUSR | CHAR | 12 | USNAM | ||||
LODAT | Date of Deletion | RI_LODAT | DATS | 8 | RI_DATUM | ||||
LOTIM | Deletion Time | RI_LOTIM | TIMS | 6 | UHRZT | ||||
CCOVERRULED | Medication: Medication Message Confirmed Indicator | N1ME_OVERR | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TN1RCODE using ABAP code
The following ABAP code Example will allow you to do a basic selection on TN1RCODE to SELECT all data from the tableDATA: WA_TN1RCODE TYPE TN1RCODE.
SELECT SINGLE *
FROM TN1RCODE
INTO CORRESPONDING FIELDS OF WA_TN1RCODE
WHERE...
How to access SAP table TN1RCODE
Within an ECC or HANA version of SAP you can also view further information about TN1RCODE 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