KKS07 SAP (Variance Calculation: Key Figures) Structure details

Dictionary Type: Structure
Description: Variance Calculation: Key Figures




ABAP Code to SELECT data from KKS07
Related tables to KKS07
Access table KKS07




Structure field list including key, data, relationships and ABAP select examples

KKS07 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 "Variance Calculation: Key Figures" 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_KKS07 TYPE KKS07.

The KKS07 table consists of various fields, each holding specific information or linking keys about Variance Calculation: Key Figures data available in SAP. These include ORDFT (Number of Orders/Order Items with Errors), ORDCH (Number of Orders/Order Items Changed), ANZOR (Number of Relevant Orders/Order Items), ANZVS (Number of Target Cost Versions).. 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 KKS07 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
ORDFTNumber of Orders/Order Items with Errors KVORDFTINT410SYST_LONG
ORDCHNumber of Orders/Order Items Changed KVORDCHINT410SYST_LONG
ANZORNumber of Relevant Orders/Order Items KVANZORINT410SYST_LONG
ANZVSNumber of Target Cost Versions KVANZVSINT410SYST_LONG
ANZVLNumber of Records Read (View) KVANZVLINT410SYST_LONG
WLCNTNumber of Entries for Storing Worklist in Clipboard STANOINT410INT4
ORDRENumber of Orders/Order Items Read KVORDREINT410SYST_LONG
ORDBENumber of Orders or Order Items Processed KVORDBEINT410SYST_LONG
ORDOKNumber of Orders/Order Items Without Errors KVORDOKINT410SYST_LONG
ANZFSNumber of Orders/Order Items with Wrong Status KVANZFSINT410SYST_LONG
ANZPNNumber of Orders/Order Items for Collective Order KVANZPNINT410SYST_LONG
ANZKDNumber of Orders/Order Items for Sales Order KVANZKDINT410SYST_LONG
ANZKENumber of Orders/Order Items for Valuated Sales Order Stock KVANZKEINT410SYST_LONG
ANZPJNumber of Orders/Order Items for Project KVANZPJINT410SYST_LONG
ANZPENumber of Orders/Order Items for Valuated Project Stock KVANZPEINT410SYST_LONG
ANZPINumber of Process Orders (Order Items) KVANZPIINT410SYST_LONG
ANZPKNumber of Product Cost Collectors (Items) KVANZPKINT410SYST_LONG
ANZFANumber of Production Orders/Order Items KVANZFAINT410SYST_LONG
ANZMPNumber of Orders/Order Items for Joint Production KVANZMPINT410SYST_LONG
ANZFKNumber of Order Items for a Fixed-Price Co-Product KVANZFKINT410SYST_LONG
ANZKTNumber of Orders/Order Items Assigned to Cost Object KVANZKTINT410SYST_LONG
ANZASNumber of Orders Without Variance Key KVANZASINT410SYST_LONG
ANZLKNumber of Orders with Active Deletion Indicator KVANZLKINT410SYST_LONG
ANZKBNumber of Orders/Order Items Without Suitable Posting Rule KVANZKBINT410SYST_LONG
ANZFPNumber of Orders/Order Items with Parallel Processing Errors KVANZFPINT410SYST_LONG
ANZPCNumber of Orders/Order Items on Product Cost Collector KVANZPCINT410SYST_LONG
ANZAPNumber of Orders/Order Items with Periodic Processing KVANZAPINT410SYST_LONG
ANZAKNumber of Orders/Order Items with Cumulative Processing KVANZAKINT410SYST_LONG
NOTARNumber of Orders/Order Items Without Saving Target Costs KVNOTARINT410SYST_LONG
NOVARNumber of Orders/Order Items Without Saving Variances KVNOVARINT410SYST_LONG
NOSCPNumber of Orders/Order Items Without Saving Scrap KVNOSCPINT410SYST_LONG
NOCTLNumber of Orders/Items Without Saved Control Costs KVNOCTLINT410SYST_LONG
ERTARNumber of Errors When Saving Target Costs (Target Cost Vers) KVERRTARINT410SYST_LONG
ERVARNumber of Errors When Saving Variances (Target Cost Version) KVERRVARINT410SYST_LONG
ERSCPNumber of Errors When Saving Scrap (Target Cost Version) KVERRSCPINT410SYST_LONG
ERCTLNumber of Errors When Saving Control Costs (Tgt Cost Vers.) KVERRCTLINT410SYST_LONG
MAXFSMaximum Error Gravity of Messages KVMAXFSINT410SYST_LONG
MAXMTMaximum Category of Message CO_ERRMXCHAR20CHAR20
ANZMSNumber of messages KGAL_CNTERINT410INT4
SUBRCReturn Value When Reading Messages KVSUBRCINT410SYST_LONG
CMFNRError Management Number CMF_NRNUMC12NUMC12
IMESSNumber of messages KGAL_CNTERINT410INT4
WMESSNumber of messages KGAL_CNTERINT410INT4
EMESSNumber of messages KGAL_CNTERINT410INT4
AMESSNumber of messages KGAL_CNTERINT410INT4
WLERRNumber of Orders/Items with Status 'Error' KVWLERRINT410SYST_LONG
WLFERNumber of Orders/Items with Status 'Followup Error' KVWLFERINT410SYST_LONG
WLMERNumber of Orders/Items with Status 'Minor error' KVWLMERINT410SYST_LONG
WLHERNumber of Orders/Items with Status 'Hierarchy error' KVWLHERINT410SYST_LONG
WLNRENumber of Orders/Items with Status 'Not relevant' KVWLNREINT410SYST_LONG
WLOKYNumber of Orders/Items in Worklist with Status 'OK' KVWLOKYINT410SYST_LONG
FLERRWorklist: Object Has Errors KVERRORCHAR1XFELD
FLMERWorklist: Object Has Minor Errors KVMINERRORCHAR1XFELD
FLNREWorklist: Object Not Relevant KVNOTRELCHAR1XFELD
FLGOKWorklist: Object Is OK KVOKCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP structure KKS07 using ABAP code?

As KKS07 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 KKS07 as there is no data to select.

How to access SAP table KKS07

Within an ECC or HANA version of SAP you can also view further information about KKS07 and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!