CFFST SAP (Formula stages, Key figure) Structure details
Description: Formula stages, Key figure
Structure field list including key, data, relationships and ABAP select examples
CFFST 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 "Formula stages, Key figure" 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_CFFST TYPE CFFST.
The CFFST table consists of various fields, each holding specific information or linking keys about Formula stages, Key figure data available in SAP. These include RSULT (Result of formula stage), RSAGG (Aggregation), RSORD (Summarization flag), AGGTM (Aggregation based on time).. 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 CFFST 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 |
KEYRA | Key figure | CFKEYRA | CHAR | 30 | Assigned to domain | KEYRA | KYR | ||
RSULT | Result of formula stage | CFRSULT | CHAR | 34 | CFRSULT | ||||
RSAGG | Aggregation | CFAGG | CHAR | 3 | AGGRE | ||||
RSORD | Summarization flag | CFOPORD | CHAR | 1 | XFELD | ||||
AGGTM | Aggregation based on time | CGSAGGTM | CHAR | 3 | AGGTM | ||||
AGGFI | Reference Field for Time-Based Aggregation | CGSAGGFI | CHAR | 30 | Assigned to domain | FDNAME | |||
EXFLG | Exception flag for key figure | CGSEXOT | CHAR | 1 | XFELD | ||||
QUANS | Scaling factor of units of measure in a key figure | CGSQUANS | INT4 | 10 | INT4 | ||||
CURRS | Scaling factor for currencies of key figure | CGSCURRS | INT4 | 10 | INT4 | ||||
OPERA | Arithmetic operator for key figures | CFOPR | CHAR | 3 | CFOPR | ||||
OPER1 | Operand 1 | CFOPR1 | CHAR | 34 | CFRSULT | ||||
O1FLG | Flag: Type of operand | CFOFLAG | CHAR | 1 | CHAR1 | ||||
OPER2 | Operand 2 | CFOPR2 | CHAR | 34 | CFRSULT | ||||
O2FLG | Flag: Type of operand | CFOFLAG | CHAR | 1 | CHAR1 | ||||
RVFLG | Validity flag | CFRVFLG | CHAR | 1 | CHAR1 | ||||
RVALF | Result (Type F) | CFRVALF | FLTP | 16(16) | CFFLTP | ||||
FMLTP | Parsed formula type | CFFMLTP | NUMC | 1 | RKE_FMLTYP | ||||
RFFIE | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
CUKY0 | Currency | CGSCUKY | CUKY | 5 | Assigned to domain | WAERS |
Key field | Non-key field |
How do I retrieve data from SAP structure CFFST using ABAP code?
As CFFST 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 CFFST as there is no data to select.How to access SAP table CFFST
Within an ECC or HANA version of SAP you can also view further information about CFFST 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