N1SRV SAP (Services: Service Data) Table details
Dictionary Type: Table
Description: Services: Service Data
Description: Services: Service Data
Table field list including key, data, relationships and ABAP select examples
N1SRV is a standard SAP Table which is used to store Services: Service Data data and is available within R/3 SAP systems depending on the version and release level.
The N1SRV table consists of various fields, each holding specific information or linking keys about Services: Service Data data available in SAP. These include SRVID (Technical Key of an Object), SRVTYP (Services: Service Category), EINRI (Institution), PAPID (IS-H: Provisional Patient Number).. 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 N1SRV 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 | |||
SRVID | Technical Key of an Object | N1UUID | CHAR | 32 | SYSUUID_C | ||||
SRVTYP | Services: Service Category | N1SRVTYP | CHAR | 1 | N1SRVTYP | ||||
EINRI | Institution | EINRI | CHAR | 4 | TN01 | ALPHA | EINRI | EIN | |
PAPID | IS-H: Provisional Patient Number | ISH_PAPID | CHAR | 10 | NPAP | ALPHA | ISH_PAPID | ||
PATNR | IS-H: Patient Number | PATNR | CHAR | 10 | NPAT | ALPHA | PATNR | PAT | |
BCSHID | N1BCID | CHAR | 33 | ISH_UUID_P | |||||
BCHID | Basic Catalog: Catalog Key | N1BCHID | CHAR | 33 | N1BCH | ISH_UUID_P | |||
BCPID | Basic Cat.: Item Key | N1BCPID | CHAR | 33 | N1BCP | ISH_UUID_P | |||
NAME | Services: Service Short Text | N1SRVNAME | CHAR | 128 | N1SRVNAME | ||||
ORGFA | Services: Departmental Organizational Unit | N1SRV_ORGFA | CHAR | 8 | Assigned to domain | ALPHA | ORGID | ||
ORGPF | Services: Treatment Organizational Unit | N1SRV_ORGPF | CHAR | 8 | Assigned to domain | ALPHA | ORGID | ||
PDUR | Services: Planned Service Duration in Minutes | N1SRV_PDUR | NUMC | 4 | N1SRV_PDUR | ||||
RDUR | Services: Actual Service Duration in Minutes | N1SRV_RDUR | NUMC | 4 | N1SRV_RDUR | ||||
STATUS | Service Status - User-Specific | N1LSSTAE | CHAR | 3 | N1LSSTA | N1LSSTAE | |||
PSDAT | Services: Planned Start Date | N1SRV_PSDAT | DATS | 8 | N1DATE | ||||
PSTIM | Services: Planned Start Time | N1SRV_PSTIM | TIMS | 6 | N1TIME | ||||
RSDAT | Services: Actual Start Date | N1SRV_RSDAT | DATS | 8 | N1DATE | ||||
RSTIM | Services: Actual Start Time | N1SRV_RSTIM | TIMS | 6 | N1TIME | ||||
CYDAT | Services: Date of Cycle | N1SRV_CYDAT | DATS | 8 | N1DATE | ||||
CYTIM | Services: Time of Cycle | N1SRV_CYTIM | TIMS | 6 | N1TIME | ||||
GENCYID | Generic Cycle Key | N1GENCYKEY | NUMC | 10 | N1GENCYKEY | ||||
MANU | Services: Indicator for Manual Change | N1SRV_MANU | CHAR | 1 | XFELD | ||||
CANCELIND | Services: Cancellation Indicator | N1SRV_CANCELIND | CHAR | 1 | N1SRV_CANCELIND | ||||
CYDEFID | Unique ID of Cycle Definition | N1CYDEFID | NUMC | 10 | N1CYDEFID | ||||
TIMSP | ISHMED: Services: Time Span (in Hours) | N1SRV_TIMSP | NUMC | 3 | N1SRV_TIMSP | ||||
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 | ||||
STOKZ | IS-H: Cancellation Indicator | RI_STORN | CHAR | 1 | XFELD | ||||
STODAT | Date of Cancellation | STORN_DAT | DATS | 8 | RI_DATUM | ||||
STOTIM | Time of Cancellation | ISH_STORN_TIM | TIMS | 6 | UHRZT | ||||
STOUSR | IS-H: Name of User who Canceled Data Record | STORN_USER | CHAR | 12 | USNAM | ||||
STOID | Reason for Canceling Medical Object | N1STOID | CHAR | 3 | Assigned to domain | N1STOID | |||
TIMESTAMP | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | TIMESTAMPL | DEC | 21(7) | TZNTSTMPL |
Key field | Non-key field |
How do I retrieve data from SAP table N1SRV using ABAP code
The following ABAP code Example will allow you to do a basic selection on N1SRV to SELECT all data from the tableDATA: WA_N1SRV TYPE N1SRV.
SELECT SINGLE *
FROM N1SRV
INTO CORRESPONDING FIELDS OF WA_N1SRV
WHERE...
How to access SAP table N1SRV
Within an ECC or HANA version of SAP you can also view further information about N1SRV 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