VKAEN SAP (Data for Updating Retail Value of Stock) Structure details
Description: Data for Updating Retail Value of Stock
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 |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
VKSAL_OLD | Value of Total Valuated Stock at Sales Price | VKSAL | CURR | 13(2) | WERT13N | ||||
VKSALN_OLD | Value of Total Valuated Stock at Sales Price | VKSAL | CURR | 13(2) | WERT13N | ||||
VKLABN | Stock value of a value-only material at sales price | VKLAB | CURR | 13(2) | WERT13N | ||||
VKSALN | Value of Total Valuated Stock at Sales Price | VKSAL | CURR | 13(2) | WERT13N | ||||
VKSALNN | Value of Total Valuated Stock at Sales Price | VKSAL | CURR | 13(2) | WERT13N | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
LBKUM | Total Valuated Stock | LBKUM | QUAN | 13(3) | MENG13V | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PV_GRUND | Reason for retail price change | PV_GRUND | CHAR | 4 | Assigned to domain | ALPHA | PV_GRUND | PVGRD | |
SPANN | Flag: not affecting margins | SPANN | CHAR | 1 | XFELD | ||||
EKPA | Old cost price | EKPA_D | CURR | 11(2) | WERT11 | ||||
EKPN | New price | NPREI | CURR | 11(2) | WERT11 | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
SALK3 | Value of Total Valuated Stock | SALK3 | CURR | 13(2) | WERT13N | ||||
WRBTR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
SELKZ_SOLL | Indicator: debit posting | XSELS | CHAR | 1 | XRADI | ||||
SELKZ_HABE | Indicator: credit posting | XSELH | CHAR | 1 | XRADI | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
WAART | Indicates that material is a value-only material | WAART | CHAR | 1 | XFELD | ||||
ATTYP | Material Category | ATTYP | CHAR | 2 | ATTYP | MTY | |||
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
KALN1 | Cost Estimate Number - Product Costing | CK_KALNR1 | NUMC | 12 | Assigned to domain | CK_KALNR | KNE | ||
PRBLNR | Number of a Material Ledger Document/Price Change Document | CK_BELNR | CHAR | 10 | ALPHA | BELNR | MLN | ML_BELNR | |
KJAHR | Material Ledger Document/Price Change Document: Storage Year | CK_KJAHR | NUMC | 4 | GJAHR | GJAHR | MLJ | ||
VKLAB_OLD | Stock value of a value-only material at sales price | VKLAB | CURR | 13(2) | WERT13N | ||||
.INCLU--AP | 0 | ||||||||
PROF_COST_VAL | Cost Value Change Profile | PROF_COST_VAL | CHAR | 4 | Assigned to domain | ALPHA | PROF_COST_VAL | ||
PR_ORIG_VPNEU | Origin and Type of Sales Price | PRICE_ORIGIN | CHAR | 1 | PRICE_ORIGIN | ||||
PR_ORIG_VPALT | Origin and Type of Sales Price | PRICE_ORIGIN | CHAR | 1 | PRICE_ORIGIN | ||||
PR_ORIG_DET_NEW | Origin and Type of Sales Price | PRICE_ORIGIN | CHAR | 1 | PRICE_ORIGIN | ||||
PR_ORIG_DET_OLD | Origin and Type of Sales Price | PRICE_ORIGIN | CHAR | 1 | PRICE_ORIGIN | ||||
UAKT | Change Category of Sales Price Origin from Old to New Price | UAKT | CHAR | 2 | PRICE_ORIG_CHG_TYPE | ||||
SALES_VAL_SIGN | Sign of Sales Value Change | VALUE_CHANGE_SIGN | CHAR | 1 | VALUE_CHANGE_SIGN | ||||
AFFECT_COST_VAL | Adjust Cost Value (Result) | AFFECT_COST_VAL_RESULT | CHAR | 1 | AFFECT_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 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