VKAEN SAP (Data for Updating Retail Value of Stock) Structure details

Dictionary Type: Structure
Description: Data for Updating Retail Value of Stock




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




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

VKAEN 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 "Data for Updating Retail Value of Stock" 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_VKAEN TYPE VKAEN.

The VKAEN table consists of various fields, each holding specific information or linking keys about Data for Updating Retail Value of Stock data available in SAP. These include WERKS (Plant), LGORT (Storage Location), BWKEY (Valuation Area), BWTAR (Valuation Type).. 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 VKAEN 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
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
BWKEYValuation Area BWKEYCHAR4Assigned to domainBWKEYBWK
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
BUDATPosting Date in the Document BUDATDATS8DATUM
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
VKSAL_OLDValue of Total Valuated Stock at Sales Price VKSALCURR13(2) WERT13N
VKSALN_OLDValue of Total Valuated Stock at Sales Price VKSALCURR13(2) WERT13N
VKLABNStock value of a value-only material at sales price VKLABCURR13(2) WERT13N
VKSALNValue of Total Valuated Stock at Sales Price VKSALCURR13(2) WERT13N
VKSALNNValue of Total Valuated Stock at Sales Price VKSALCURR13(2) WERT13N
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
MENGEQuantity MENGE_DQUAN13(3) MENG13
LBKUMTotal Valuated Stock LBKUMQUAN13(3) MENG13V
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PV_GRUNDReason for retail price change PV_GRUNDCHAR4Assigned to domainALPHAPV_GRUNDPVGRD
SPANNFlag: not affecting margins SPANNCHAR1XFELD
EKPAOld cost price EKPA_DCURR11(2) WERT11
EKPNNew price NPREICURR11(2) WERT11
PEINHPrice Unit PEINHDEC5PACK3
SALK3Value of Total Valuated Stock SALK3CURR13(2) WERT13N
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
SELKZ_SOLLIndicator: debit posting XSELSCHAR1XRADI
SELKZ_HABEIndicator: credit posting XSELHCHAR1XRADI
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
WAARTIndicates that material is a value-only material WAARTCHAR1XFELD
ATTYPMaterial Category ATTYPCHAR2ATTYPMTY
VPRSVPrice control indicator VPRSVCHAR1VPRSV
KALN1Cost Estimate Number - Product Costing CK_KALNR1NUMC12Assigned to domainCK_KALNRKNE
PRBLNRNumber of a Material Ledger Document/Price Change Document CK_BELNRCHAR10ALPHABELNRMLNML_BELNR
KJAHRMaterial Ledger Document/Price Change Document: Storage Year CK_KJAHRNUMC4GJAHRGJAHRMLJ
VKLAB_OLDStock value of a value-only material at sales price VKLABCURR13(2) WERT13N
.INCLU--AP 0
PROF_COST_VALCost Value Change Profile PROF_COST_VALCHAR4Assigned to domainALPHAPROF_COST_VAL
PR_ORIG_VPNEUOrigin and Type of Sales Price PRICE_ORIGINCHAR1PRICE_ORIGIN
PR_ORIG_VPALTOrigin and Type of Sales Price PRICE_ORIGINCHAR1PRICE_ORIGIN
PR_ORIG_DET_NEWOrigin and Type of Sales Price PRICE_ORIGINCHAR1PRICE_ORIGIN
PR_ORIG_DET_OLDOrigin and Type of Sales Price PRICE_ORIGINCHAR1PRICE_ORIGIN
UAKTChange Category of Sales Price Origin from Old to New Price UAKTCHAR2PRICE_ORIG_CHG_TYPE
SALES_VAL_SIGNSign of Sales Value Change VALUE_CHANGE_SIGNCHAR1VALUE_CHANGE_SIGN
AFFECT_COST_VALAdjust Cost Value (Result) AFFECT_COST_VAL_RESULTCHAR1AFFECT_COST_VAL_RESULT

Key field Non-key field



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

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

How to access SAP table VKAEN

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