STPA SAP (References for the tp Interface) Structure details
Description: References for the tp Interface
Structure field list including key, data, relationships and ABAP select examples
STPA 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 "References for the tp Interface" 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_STPA TYPE STPA.
The STPA table consists of various fields, each holding specific information or linking keys about References for the tp Interface data available in SAP. These include SYSNAME (Name of an SAP System in the (active) transp. configuration), TRKORR (Request/Task), CLIENT (Client), TARCLI (Target client for the request).. 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: Not classified
SAP STPA 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 |
COMMAND | tp Command | TRTPCMD | CHAR | 20 | TEXT20 | ||||
SYSNAME | Name of an SAP System in the (active) transp. configuration | SYSNAME | CHAR | 10 | SYSNAME | TCE_SYSTEMS | |||
TRKORR | Request/Task | TRKORR | CHAR | 20 | Assigned to domain | TRKORR | |||
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
TARCLI | Target client for the request | TRTARCLI | CHAR | 3 | CHAR3 | ||||
PROJECT | Project in Change and Transport System | TRKORR_P | CHAR | 20 | Assigned to domain | TRKORR | |||
UMODES | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
OPTIONS | Text (length 132) | TEXT132 | CHAR | 132 | TEXT132 | ||||
FLAG | Flag ( 'X' or ' ' ) | TRPARFLAG | CHAR | 1 | AS4FLAG | ||||
CMDSTRING | Text (80 Characters) | TEXT80 | CHAR | 80 | TEXT80UEB | ||||
CMDLINE | tp command line | 0 | |||||||
RETCODE | Return code | TRRETCODE | CHAR | 4 | TRRETCODE | ||||
VERSION | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
PID | Process Identification | WPPID | CHAR | 8 | WPPID | ||||
MESSAGE | Message Text | NATXT | CHAR | 73 | NATXT | ||||
COUNTER | 10 digit number | NUM10 | NUMC | 10 | NUM10 | ||||
FILE | File Including Path | TRFILE | CHAR | 255 | TRFILE | ||||
DIRTYPE | Character field of length 1 | CHAR_LG_01 | CHAR | 1 | CHAR_LG_01 | ||||
PERCENT | 10 digit number | NUM10 | NUMC | 10 | NUM10 | ||||
STATUS | Flag ( 'X' or ' ' ) | TRPARFLAG | CHAR | 1 | AS4FLAG | ||||
TIMESTAMP | tp Time Stamp | TRTPTSTAMP | CHAR | 20 | CHAR20 | ||||
AUTHORITY | Authorization (field CTS_ADMFCT in object S_CTS_ADMI) | 0 | |||||||
NAME | tp Profile Parameter: Name | TRTPPNAME | CHAR | 60 | TEXT60 | ||||
VALUE | tp Profile Parameter: Value | TRTPPVALUE | CHAR | 200 | TEXT200 | ||||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGTYP | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGNUM | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
MSGVAR | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
FEEDBACK | Identifier for tp Feedback | TRTPFDBCK | CHAR | 120 |
Key field | Non-key field |
How do I retrieve data from SAP structure STPA using ABAP code?
As STPA 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 STPA as there is no data to select.How to access SAP table STPA
Within an ECC or HANA version of SAP you can also view further information about STPA 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