SPFID SAP (Static description of SAP instance) Structure details
Description: Static description of SAP instance
Structure field list including key, data, relationships and ABAP select examples
SPFID 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 "Static description of SAP instance" 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_SPFID TYPE SPFID.
The SPFID table consists of various fields, each holding specific information or linking keys about Static description of SAP instance data available in SAP. These include HOST (Host Name), TYPE (SAP instance type), BANAME (Name of Operation Mode), SYSNAME (SAP System Name).. 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 SPFID 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 |
INSTNAME | SAP Instance Name | PFEINSTNAM | CHAR | 20 | TEXT20 | ||||
HOST | Host Name | PFEHOSTNAM | CHAR | 40 | TEXT40 | ||||
TYPE | SAP instance type | PFEINSTTYP | CHAR | 20 | TEXT20 | ||||
BANAME | Name of Operation Mode | PFEBANAME | CHAR | 20 | TEXT20 | ||||
SYSNAME | SAP System Name | PFESYSNAME | CHAR | 3 | CHAR3 | ||||
SYSNR | SAP system number (00 - 99) | PFESYSNR | CHAR | 2 | CHAR2 | ||||
APSERVER | Application server | PFEAPSNAME | CHAR | 20 | TEXT20 | ||||
STATUS | Status of instance description | PFEINSTSTS | CHAR | 8 | CHAR8 | ||||
CMPON | Components of instance | PFEINSTCMP | CHAR | 16 | CHAR16 | ||||
PFINST | Name of Instance Profile | PFEINSTPFL | CHAR | 88 | PFEUNIXPRO | ||||
PFSTART | Instance Startup Profile | PFEINSTPFS | CHAR | 88 | PFEUNIXPRO | ||||
HOMEDIR | Home Directory of SAP Instance | PFEINSTHOM | CHAR | 40 | TEXT40 | ||||
USERNAME | User Name of Instance Owner | PFEINSTUSR | CHAR | 20 | TEXT20 | ||||
PASSWD | Password of Instance Owner | PFEINSTPAS | CHAR | 20 | TEXT20 | ||||
WPNODIA | No. dialog work processes of instance | PFEWPNODIA | CHAR | 3 | CHAR3 | ||||
WPNOVB | Number of Update Work Processes of an Instance | PFEWPNOVB | CHAR | 3 | CHAR3 | ||||
WPNOBTC | No. background work processes for instance | PFEWPNOBTC | CHAR | 3 | CHAR3 | ||||
WPNOENQ | Number of Enqueue Work Processes of an Instance | PFEWPNOENQ | CHAR | 3 | CHAR3 | ||||
WPNOSPO | Number of Spool Work Processes of an Instance | PFEWPNOSPO | CHAR | 3 | CHAR3 | ||||
WPNO | Total no. of work processes for application server | PFEWPNO | CHAR | 3 | CHAR3 | ||||
WPNOBTCA | No. of work processes to be kept free for backgrnd. process. | PFEWPNOBTA | CHAR | 3 | CHAR3 | ||||
SRVDIA | Instance service: Online | PFESRVDIA | CHAR | 1 | CHAR1 | ||||
SRVVB | Instance service: Update Process | PFESRVVB | CHAR | 1 | CHAR1 | ||||
SRVBTC | Instance service: Background processing | PFESRVBTC | CHAR | 1 | CHAR1 | ||||
SRVENQ | Instance service: Lock management | PFESRVENQ | CHAR | 1 | CHAR1 | ||||
SRVSPO | Instance service: Spooler | PFESRVSPO | CHAR | 1 | CHAR1 | ||||
SRVMSG | Instance service: Message server | PFESRVMSG | CHAR | 1 | CHAR1 | ||||
SRVGW | Instance service: Gateway | PFESRVGW | CHAR | 1 | CHAR1 | ||||
OPSYS | 'uname' of an application server, corresponds to SY-OPSYS | PFEOPSYS | CHAR | 20 | TEXT20 | ||||
WPNOV2 | Number of V2 update workprocesses of an instance | PFEWPNOV2 | CHAR | 3 | CHAR3 | ||||
WPNORES1 | No. dialog work processes of instance | PFEWPNODIA | CHAR | 3 | CHAR3 | ||||
WPNORES2 | No. dialog work processes of instance | PFEWPNODIA | CHAR | 3 | CHAR3 | ||||
SRVV2 | Instance service: V2 update | PFESRVV2 | CHAR | 1 | CHAR1 | ||||
SRVRES1 | Instance service: Online | PFESRVDIA | CHAR | 1 | CHAR1 | ||||
SRVRES2 | Instance service: Online | PFESRVDIA | CHAR | 1 | CHAR1 | ||||
PFLINSNAME | Name of profile for system parameterization | PFEPFNAME | CHAR | 30 | CHAR30 | ||||
PFLSTRNAME | Name of profile for system parameterization | PFEPFNAME | CHAR | 30 | CHAR30 | ||||
WPNORES | Number of Reserved Work Processes of an Instance | PFEWPNORES | CHAR | 3 | CHAR3 | ||||
SRVDYNWP | Instance Service: Dynamic WP Activation | PFESRVDYNWP | CHAR | 1 | CHAR1 | ||||
WPMAXNO | Maximum Total Number of All Work Processes (Excluding Spool) | PFEWPMAXNO | CHAR | 7 | CHAR7 | ||||
WPMAXCONFIG | Max. No. of Work Processes that Can Be Activated by Op. Mode | PFEWPMAXCONFIG | CHAR | 7 |
Key field | Non-key field |
How do I retrieve data from SAP structure SPFID using ABAP code?
As SPFID 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 SPFID as there is no data to select.How to access SAP table SPFID
Within an ECC or HANA version of SAP you can also view further information about SPFID 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