WSAM_SALES SAP (Sales Data) Structure details
Description: Sales Data
Structure field list including key, data, relationships and ABAP select examples
WSAM_SALES 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 "Sales Data" 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_WSAM_SALES TYPE WSAM_SALES.
The WSAM_SALES table consists of various fields, each holding specific information or linking keys about Sales Data data available in SAP. These include DISTR_CHAN (Distribution Channel), SALES_UNIT (Sales unit), SALES_PRICE (Net sales price), SALES_PRICE_C (SAP Retail Store: Quantity Field CHAR 17).. 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 WSAM_SALES 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 |
SALESORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
DISTR_CHAN | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SALES_UNIT | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SALES_PRICE | Net sales price | NTPRS | CURR | 11(2) | WERTV6 | ||||
SALES_PRICE_C | SAP Retail Store: Quantity Field CHAR 17 | WSRS_QTY_CHAR | CHAR | 17 | |||||
SALES_CURRENCY | Sales currency | VWAER | CUKY | 5 | Assigned to domain | WAERS | |||
SALES_PRICE_VALID_FR | Validity start date of the condition record | KODATAB | DATS | 8 | DATUM | ||||
SALES_PRICE_VALID_TO | Validity end date of the condition record | KODATBI | DATS | 8 | DATUM | ||||
SELL_ST_FR | Date from which sold in the store | VDVFL | DATS | 8 | DATS | ||||
SELL_ST_FR_C | SAP Retail Store: Output Format of a Date | WSRS_DATE_CHAR | CHAR | 10 | |||||
SELL_ST_TO | Date to which sold in the store | VDBFL | DATS | 8 | DATS | ||||
SELL_ST_TO_C | SAP Retail Store: Output Format of a Date | WSRS_DATE_CHAR | CHAR | 10 | |||||
PRICE_FIXING | Indicator for price fixing | PBIND | CHAR | 1 | PBIND | ||||
CASH_DISC | Cash discount indicator | SKTOF | CHAR | 1 | XFELD | ||||
SAL_STATUS | Distribution-chain-specific material status | VMSTA | CHAR | 2 | Assigned to domain | VMSTA | |||
SCALES_GRP | Scales group | SCAGR | CHAR | 4 | Assigned to domain | SCAGR | |||
MIN_DELY | Minimum delivery quantity in delivery note processing | MINLF | QUAN | 13(3) | MENG13 | ||||
MAX_DELY | Maximum delivery quantity in store order processing | MAXLF | QUAN | 13(3) | MENG13 | ||||
MIN_ORDER | Minimum order quantity in base unit of measure | MINAU | QUAN | 13(3) | MENG13 | ||||
BASE_UOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DUMMY_FIELD | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY |
Key field | Non-key field |
How do I retrieve data from SAP structure WSAM_SALES using ABAP code?
As WSAM_SALES 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 WSAM_SALES as there is no data to select.How to access SAP table WSAM_SALES
Within an ECC or HANA version of SAP you can also view further information about WSAM_SALES 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