FTPS_API SAP (API basic fields) Structure details
Description: API basic fields
Structure field list including key, data, relationships and ABAP select examples
FTPS_API 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 "API basic fields" 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_FTPS_API TYPE FTPS_API.
The FTPS_API table consists of various fields, each holding specific information or linking keys about API basic fields data available in SAP. These include CHAR1 (), CHAR21 (), CTXTID (Context handler), ERROR_CODE (Return error code of API interface).. 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 FTPS_API 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 |
TEXT | 0 | ||||||||
CHAR1 | 0 | ||||||||
CHAR21 | 0 | ||||||||
CTXTID | Context handler | 0 | |||||||
ERROR_CODE | Return error code of API interface | API_ERROR_CODE | INT4 | 10 | FTPD_ERROR_CODE | ||||
ERROR_TYPE | Type of API return error code | API_ERROR_TYPE | CHAR | 1 | FTPD_ERROR_TYPE | ||||
INT2 | 0 | ||||||||
BOOL1 | 0 | ||||||||
INT1 | 0 | ||||||||
LINENUMBER | Line number | API_LINENUMBER | INT2 | 5 | FTPD_LINENUMBER | ||||
OFFICE_ID | Sales office code | API_OFFICEID | CHAR | 12 | Assigned to domain | FTPD_OFFICE_ID | |||
HOTEL_INDEX | Index for hotel availability | 0 | |||||||
PROPERTY_CODE | Last three characters of property code | 0 | |||||||
CAR_INDEX | Index for car list/avail | 0 | |||||||
ERROR_TEXT | Text returned to describe error | 0 | |||||||
EXTENDED_ERROR | Extended error code | 0 | |||||||
TERMINAL_ID | START Terminal ID | 0 | |||||||
START_NAME | Start Name | 0 | |||||||
PSGR_TYPE | Passenger type description | API_1A_PASSENGER_TYPE | CHAR | 4 | FTPD_PASSENGER_TYPE | ||||
RECLOC | Passenger Name Record Locator | PNR_RECORD_LOCATOR | CHAR | 20 | FTPD_PNR_RECORD_LOCATOR | ||||
AIR_NUMBER | Air record unique identifier | AIR_RECORD_NUMBER | NUMC | 12 | |||||
APIDATE | 0 | ||||||||
TRIP_NUMBER | Trip Number | REINR | NUMC | 10 | REINR | ||||
PERSONAL_ID | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
CITY_CODE | 5 character code identifying a City Code | API_1A_CITY_CODE | CHAR | 5 |
Key field | Non-key field |
How do I retrieve data from SAP structure FTPS_API using ABAP code?
As FTPS_API 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 FTPS_API as there is no data to select.How to access SAP table FTPS_API
Within an ECC or HANA version of SAP you can also view further information about FTPS_API 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