N1SRV SAP (Services: Service Data) Table details

Dictionary Type: Table
Description: Services: Service Data




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




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
MANDTClient MANDTCLNT3T000MANDT
SRVIDTechnical Key of an Object N1UUIDCHAR32SYSUUID_C
SRVTYPServices: Service Category N1SRVTYPCHAR1N1SRVTYP
EINRIInstitution EINRICHAR4TN01ALPHAEINRIEIN
PAPIDIS-H: Provisional Patient Number ISH_PAPIDCHAR10NPAPALPHAISH_PAPID
PATNRIS-H: Patient Number PATNRCHAR10NPATALPHAPATNRPAT
BCSHID N1BCIDCHAR33ISH_UUID_P
BCHIDBasic Catalog: Catalog Key N1BCHIDCHAR33N1BCHISH_UUID_P
BCPIDBasic Cat.: Item Key N1BCPIDCHAR33N1BCPISH_UUID_P
NAMEServices: Service Short Text N1SRVNAMECHAR128N1SRVNAME
ORGFAServices: Departmental Organizational Unit N1SRV_ORGFACHAR8Assigned to domainALPHAORGID
ORGPFServices: Treatment Organizational Unit N1SRV_ORGPFCHAR8Assigned to domainALPHAORGID
PDURServices: Planned Service Duration in Minutes N1SRV_PDURNUMC4N1SRV_PDUR
RDURServices: Actual Service Duration in Minutes N1SRV_RDURNUMC4N1SRV_RDUR
STATUSService Status - User-Specific N1LSSTAECHAR3N1LSSTAN1LSSTAE
PSDATServices: Planned Start Date N1SRV_PSDATDATS8N1DATE
PSTIMServices: Planned Start Time N1SRV_PSTIMTIMS6N1TIME
RSDATServices: Actual Start Date N1SRV_RSDATDATS8N1DATE
RSTIMServices: Actual Start Time N1SRV_RSTIMTIMS6N1TIME
CYDATServices: Date of Cycle N1SRV_CYDATDATS8N1DATE
CYTIMServices: Time of Cycle N1SRV_CYTIMTIMS6N1TIME
GENCYIDGeneric Cycle Key N1GENCYKEYNUMC10N1GENCYKEY
MANUServices: Indicator for Manual Change N1SRV_MANUCHAR1XFELD
CANCELINDServices: Cancellation Indicator N1SRV_CANCELINDCHAR1N1SRV_CANCELIND
CYDEFIDUnique ID of Cycle Definition N1CYDEFIDNUMC10N1CYDEFID
TIMSPISHMED: Services: Time Span (in Hours) N1SRV_TIMSPNUMC3N1SRV_TIMSP
ERDATIS-H: Date when Record Created RI_ERDATDATS8RI_DATUM
ERTIMIS-H: Time Record Created RI_ERTIMTIMS6UHRZT
ERUSRIS-H: Name of Employee who Created Record RI_ERNAMCHAR12USNAM
UPDATIS-H: Date of Last Change RI_UPDATDATS8RI_DATUM
UPTIMIS-H: Time of Last Change RI_UPTIMTIMS6UHRZT
UPUSRIS-H: Name of Person who Last Changed Data RI_UPNAMCHAR12USNAM
STOKZIS-H: Cancellation Indicator RI_STORNCHAR1XFELD
STODATDate of Cancellation STORN_DATDATS8RI_DATUM
STOTIMTime of Cancellation ISH_STORN_TIMTIMS6UHRZT
STOUSRIS-H: Name of User who Canceled Data Record STORN_USERCHAR12USNAM
STOIDReason for Canceling Medical Object N1STOIDCHAR3Assigned to domainN1STOID
TIMESTAMPUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(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 table
DATA: 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 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!