SFLIGHT_T SAP (Combining SCARR, SPFLI and SFLIGHT) Structure details
Description: Combining SCARR, SPFLI and SFLIGHT
Structure field list including key, data, relationships and ABAP select examples
SFLIGHT_T 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 "Combining SCARR, SPFLI and SFLIGHT" 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_SFLIGHT_T TYPE SFLIGHT_T.
The SFLIGHT_T table consists of various fields, each holding specific information or linking keys about Combining SCARR, SPFLI and SFLIGHT data available in SAP. These include CARRID (Airline Code), CARRNAME (Airline name), CONNID (Flight Connection Number), COUNTRYFR (Country Key).. 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 SFLIGHT_T 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 |
MANDT | Client | S_MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
CARRID | Airline Code | S_CARR_ID | CHAR | 3 | Assigned to domain | S_CARR_ID | CAR | S_CARRIER_ID | |
CARRNAME | Airline name | S_CARRNAME | CHAR | 20 | S_NAME20 | ||||
CONNID | Flight Connection Number | S_CONN_ID | NUMC | 4 | Assigned to domain | S_CONN_ID | CON | ||
COUNTRYFR | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
CITYFROM | Departure city | S_FROM_CIT | CHAR | 20 | Assigned to domain | S_CITY | |||
AIRPFROM | Departure airport | S_FROMAIRP | CHAR | 3 | Assigned to domain | S_AIRPID | |||
COUNTRYTO | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
CITYTO | Arrival city | S_TO_CITY | CHAR | 20 | Assigned to domain | S_CITY | |||
AIRPTO | Destination airport | S_TOAIRP | CHAR | 3 | Assigned to domain | S_AIRPID | |||
FLTIME | Flight time | S_FLTIME | INT4 | 10 | SDURA | S_DURA | |||
DEPTIME | Departure time | S_DEP_TIME | TIMS | 6 | S_TIME | ||||
ARRTIME | Arrival time | S_ARR_TIME | TIMS | 6 | S_TIME | ||||
DISTANCE | Distance | S_DISTANCE | QUAN | 9(4) | S_DISTANCE | ||||
DISTID | Mass unit of distance (kms, miles) | S_DISTID | UNIT | 3 | Assigned to domain | CUNIT | MEINS | S_UNIT_DIST | |
FLTYPE | Flight type | S_FLTYPE | CHAR | 1 | S_FLTYPE | ||||
CURRCODE | Local currency of airline | S_CURRCODE | CUKY | 5 | Assigned to domain | S_CURR | |||
FLDATE | Flight date | S_DATE | DATS | 8 | Assigned to domain | S_DATE | DAY | ||
PRICE | Airfare | S_PRICE | CURR | 15(2) | S_PRICE | ||||
CURRENCY | Local currency of airline | S_CURRCODE | CUKY | 5 | Assigned to domain | S_CURR | |||
PLANETYPE | Aircraft Type | S_PLANETYE | CHAR | 10 | Assigned to domain | S_PLANE | |||
SEATSMAX | Maximum capacity in economy class | S_SEATSMAX | INT4 | 10 | S_SEATS | ||||
SEATSOCC | Occupied seats in economy class | S_SEATSOCC | INT4 | 10 | S_SEATS | ||||
PAYMENTSUM | Total of current bookings | S_SUM | CURR | 17(2) | S_SUM |
Key field | Non-key field |
How do I retrieve data from SAP structure SFLIGHT_T using ABAP code?
As SFLIGHT_T 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 SFLIGHT_T as there is no data to select.How to access SAP table SFLIGHT_T
Within an ECC or HANA version of SAP you can also view further information about SFLIGHT_T 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