KSS04_EXPLAIN SAP (Explanation KSS04 (Target Costs/Variances)) Structure details

Dictionary Type: Structure
Description: Explanation KSS04 (Target Costs/Variances)




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




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

KSS04_EXPLAIN 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 "Explanation KSS04 (Target Costs/Variances)" 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_KSS04_EXPLAIN TYPE KSS04_EXPLAIN.

The KSS04_EXPLAIN table consists of various fields, each holding specific information or linking keys about Explanation KSS04 (Target Costs/Variances) data available in SAP. These include AWVRS (Target Cost Version), VALUTYP (Valuation View), WAFLG (Indicator for CO Area and/or Object Currency), STEP (Processing step).. 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: Can be enhanced (character-type or numeric)


SAP KSS04_EXPLAIN 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
AWVRSTarget Cost Version AWVRSCHAR3Assigned to domainALPHAAWVRSVAV
VALUTYPValuation View VALUTYPNUMC1VALUTYPVTP
WAFLGIndicator for CO Area and/or Object Currency CO_WAFLGCHAR1CHAR1
STEPProcessing step CO_VSTEPNUMC1NUMC01
KSTARCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
PAROBPartner Object PAROBCHAR22Assigned to domainJ_OBJNR
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
AWBELVariances: Debit/Credit AWBELCHAR1AWBEL
CKPOSNRUnit Costing Line Item Number CK_POSNRNUMC5Assigned to domainCK_POSNR
CKMATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
CKWERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
AWLFXVariances: Lot-Size-Independent Quantities/Costs AWLFXCHAR1AWLFX
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
IVORNROperation Responsible for Scrap or WIP IVORNRCHAR4NUMCVVORNR
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
AWTRANSIndicator for Transfer Costs AWTRANSCHAR1CHAR1
SRFLGSenders / Receivers CO_SRFLGCHAR1FLAG
AWPSKVariances: Primary/Secondary Cost Element AWPSKCHAR1AWPSK
SKFORTarget Cost Formula CO_SKFORCHAR1FLAG
AFTEIDistribution Rule CO_AFTEICHAR1FLAG
FIXVO_SPredistribution of fixed costs for acty type/bus. process CO_FIXVOCHAR1XFELD
FIXVO_EPredistribution of fixed costs for acty type/bus. process CO_FIXVOCHAR1XFELD
MVF_PQuantities Incomplete MUVXXCHAR1XFELD
MVF_AQuantities Incomplete MUVXXCHAR1XFELD
KAGRUCost Element Group KAGRUCHAR15GRPNAMEKAG
OBJIDCost Object (Cost Accounting Object) CO_OBJIDCHAR62TEXT62
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
PAROB_PAPartner object PAROB_PACHAR24CHAR24
KSTAR_TXTGeneral Name KTEXTCHAR20TEXT20
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
MEINHUnit of Measure (WIP and Variances) AWMEHUNIT3Assigned to domainCUNITMEINS
WKGPTotal Plan Costs WKGXXXPCURR15(2) WERTV8
WKFPPlan Fixed Costs WKFXXXPCURR15(2) WERTV8
WKVPPlan Variable Costs WKVXXXPCURR15(2) WERTV8
WKLFPLot-size-independent planned costs AWWKLFPCURR15(2) WERTV8
WKLVPLot-size-dependent planned costs AWWKLVPCURR15(2) WERTV8
MEGPTotal Planned Quantity MEGXXXPQUAN15(3) MENGV8
MEFPFixed Planned Quantity MEFXXXPQUAN15(3) MENGV8
MEVPVariable Planned Quantity MEVXXXPQUAN15(3) MENGV8
WKGSTotal Target Costs WKGXXXSCURR15(2) WERTV8
WKFSTarget Fixed Costs WKFXXXSCURR15(2) WERTV8
WKVSVariable Target Costs WKVXXXSCURR15(2) WERTV8
WKLFSLot-Size-Independent Target Costs AWWKLFSCURR15(2) WERTV8
WKLVSLot-Size-Dependent Target Costs AWWKLVSCURR15(2) WERTV8
MEGSTotal Target Quantity MEGXXXSQUAN15(3) MENGV8
MEFSFixed Target Quantity MEFXXXSQUAN15(3) MENGV8
MEVSVariable Target Quantity MEVXXXSQUAN15(3) MENGV8
WKGSMTotal Target Credit from Mixed Cost Estimate WKGXXXSMCURR15(2) WERTV8
WKFSMTarget Credit, Fixed, from Mixed Cost Estimate WKFXXXSMCURR15(2) WERTV8
WKVSMTarget Credit, Variable, from Mixed Cost Estimate WKVXXXSMCURR15(2) WERTV8
WKGIBActual Costs WKGXXXIBCURR15(2) WERTV8
WKFIBActual Fixed Costs WKFXXXIBCURR15(2) WERTV8
WKVIBActual Variable Costs WKVXXXIBCURR15(2) WERTV8
MEGIBTotal Actual Quantity MEGXXXIBQUAN15(3) MENGV8
WKGITotal Control Costs for Variance Calculation WKGXXXICURR15(2) WERTV8
WKFIFixed Control Costs for Variance Calculation WKFXXXICURR15(2) WERTV8
WKFISFixed Portion of Sender Costs WKFXXXISCURR15(2) WERTV8
WKVIVariable Control Costs for Variance Calculation WKVXXXICURR15(2) WERTV8
MEGITotal Control Quantity for Variance Calculation MEGXXXIQUAN15(3) MENGV8
MEFIControl Quantity for Variance Calculation, Fixed MEFXXXIQUAN15(3) MENGV8
MEVIVariable Control Quantity for Variance Calculation MEVXXXIQUAN15(3) MENGV8
WKGIVAllocated Actual Costs CO_WKGIVCURR15(2) WERTV8
WKFIVAllocated Actual Fixed Costs CO_WKFIVCURR15(2) WERTV8
WKVIVAllocated Actual Variable Costs CO_WKVIVCURR15(2) WERTV8
MEGPLAVariances: Planned Quantity of Output Side AWMEGPLAQUAN15(3) MENGV8
MEGACTVariances: Actual Quantity of Output Side AWMEGACTQUAN15(3) MENGV8
MEGDISVariances: Allocated Actual Quantity AWMEGDISQUAN15(3) MENGV8
OMEIHVariances: Output Unit of Measure AWOEHUNIT3Assigned to domainCUNITMEINS
AWBELVVariances: Debit/Credit AWBELCHAR1AWBEL
BSGOperating Rate CO_BSGDEC7(2) DEC5_2
GAGTotal Variances AWGKGCURR15(2) WERTV8
GAFTotal Fixed Variances AWGKFCURR15(2) WERTV8
GAVTotal Variable Variances AWGKVCURR15(2) WERTV8
GAG_PROZTotal of all variances as % of target costs AWGKG_PROZDEC9(2) PRZ72
PAGVariances: Input Price Variances AWPKGCURR15(2) WERTV8
PAFVariances: Fixed Input Price Variance AWPKFCURR15(2) WERTV8
PAVVariances: Variable Input Price Variance AWPKVCURR15(2) WERTV8
MAGVariances: Total Input Quantity Variance AWMKGCURR15(2) WERTV8
MAFVariances: Input Quantity Variance, Fixed AWMKFCURR15(2) WERTV8
MAVVariances: Input Quantity Variance, Variable AWMKVCURR15(2) WERTV8
SAGVariances: Total Resource-Usage Variance AWSKGCURR15(2) WERTV8
SAFVariances: Resource-Usage Variance, Fixed AWSKFCURR15(2) WERTV8
SAVVariances: Resource-Usage Variance, Variable AWSKVCURR15(2) WERTV8
EAGVariances: Total Remaining Input Variance AWEKGCURR15(2) WERTV8
EAFVariances: Remaining Input Variance, Fixed AWEKFCURR15(2) WERTV8
EAVVariances: Remaining Input Variance, Variable AWEKVCURR15(2) WERTV8
VAGVariances: Total Output Price Variances AWVAGCURR15(2) WERTV8
VAFVariances: Output Price Variances, Fixed AWVAFCURR15(2) WERTV8
VAVVariances: Total Output Price Variances AWVAVCURR15(2) WERTV8
MPGVariances: Total Mixed-Price Variance AWMPGCURR15(2) WERTV8
MPFVariances: Mixed-Price Variance, Fixed AWMPFCURR15(2) WERTV8
MPVVariances: Mixed-Price Variance, Variable AWMPVCURR15(2) WERTV8
VGGVariances: Total Output Quantity Variance AWVGGCURR15(2) WERTV8
VGFVariances: Output Quantity Variance, Fixed AWVGFCURR15(2) WERTV8
VGVVariances: Output Quantity Variance, Variable AWVGVCURR15(2) WERTV8
LAGVariances: Total Lot Size Variance AWLKGCURR15(2) WERTV8
LAFVariances: Lot Size Variance, Fixed Costs AMLKFCURR15(2) WERTV8
LAVVariances: Lot Size Variance Variable Costs AMLKVCURR15(2) WERTV8
FAGVariances: Total Fixed-Cost Variance AWFKGCURR15(2) WERTV8
RAGVariances: Total Remaining Variance AWRKGCURR15(2) WERTV8
RAFVariances: Remaining Variance, Fixed AWRKFCURR15(2) WERTV8
RAVVariances: Remaining Variance, Variable AWRKVCURR15(2) WERTV8
AUGTotal Scrap AWAUGCURR15(2) WERTV8
AUFScrap, Fixed AWAUFCURR15(2) WERTV8
AUVScrap, Variable AWAUVCURR15(2) WERTV8
MEGAScrap Quantity AWAUMQUAN15(3) MENGV8
WIGWork in Process AWWIGCURR15(2) WERTV8
WIFFixed Portion of Work in Process AWWIFCURR15(2) WERTV8
WIVVariable Portion of Work in Process AWWIVCURR15(2) WERTV8
MEGWWork in Process Quantity AWWIMQUAN15(3) MENGV8
PAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
MAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
SAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
EAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
VAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
VGKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
MPKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
LAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
FAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
RAKDFVariances: Indicator for Minor Difference AWKDFLCHAR1CHAR1
EXPLAIN1Character field, length 70 CHAR70CHAR70CHAR70
EXPLAIN2Character field, length 70 CHAR70CHAR70CHAR70
EXPLAIN3Character field, length 70 CHAR70CHAR70CHAR70
EXPLAIN4Character field, length 70 CHAR70CHAR70CHAR70
EXPLAIN5Character field, length 70 CHAR70CHAR70CHAR70
EXPLAIN6Character field, length 70 CHAR70CHAR70CHAR70

Key field Non-key field



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

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

How to access SAP table KSS04_EXPLAIN

Within an ECC or HANA version of SAP you can also view further information about KSS04_EXPLAIN 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!