WSCO2 SAP (ALV Display Structure for Transaction VKP2) Structure details
Description: ALV Display Structure for Transaction VKP2
Structure field list including key, data, relationships and ABAP select examples
WSCO2 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 "ALV Display Structure for Transaction VKP2" 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_WSCO2 TYPE WSCO2.
The WSCO2 table consists of various fields, each holding specific information or linking keys about ALV Display Structure for Transaction VKP2 data available in SAP. These include VRKME (Sales Unit), VKORG (Sales Organization), VTWEG (Distribution Channel), WERKS (Plant).. 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 WSCO2 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 |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
VRKME | Sales Unit | W_VRKME_VKP | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PLTYP | Price list type | PLTYP | CHAR | 2 | Assigned to domain | PLTYP | VPL | ||
WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
DATAB | Start of a Time Interval with the Same Sales Conditions | W_SACO_DATAB | DATS | 8 | DATUM | ||||
DATBI | End of a Time Interval with the Same Sales Conditions | W_SACO_DATBI | DATS | 8 | DATUM | ||||
KBETR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
WAERS_INT | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KPEIN | Condition pricing unit | KPEIN | DEC | 5 | KPEIN | ||||
KMEIN | Condition unit in the document | KVMEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KSCHL | Condition type | KSCHA | CHAR | 4 | Assigned to domain | KSCHL | VKS | ||
KOTABNR | Condition table | KOTABNR | NUMC | 3 | Assigned to domain | KOTABNR | KON | ||
KALEB | Sales Pricing: Pricing level | KALEB | CHAR | 2 | KALEB | ||||
VORGA | Procedure in sales price calculations | W_KVORG | CHAR | 2 | W_VKPVOR | ||||
KBELN | Number of pricing document | KBELN | CHAR | 10 | Assigned to domain | ALPHA | KBELN | ||
KBELP | Item Number of Pricing Document | KBELP | NUMC | 5 | Assigned to domain | KBELP | |||
FRBNR | Ext. Doc. No. of Application Calling Up Sales Price Calc. | W_FRBNR | CHAR | 10 | ALPHA | W_FRBNR | |||
PVGRD | Reason for retail price change | PV_GRUND | CHAR | 4 | Assigned to domain | ALPHA | PV_GRUND | PVGRD | |
KBET2 | Promotion Condition Amount or Percentage | W_SACO_KBETR_PROMO | CURR | 11(2) | WERTV6 | ||||
WAER2 | Promotion Currency | W_SACO_WAERS_PROMO | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KPEI2 | Promotion Condition Price Unit | W_SACO_KPEIN_PROMO | DEC | 5 | KPEIN | ||||
KMEI2 | Promotion Condition Unit of Measure | W_SACO_KMEIN_PROMO | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KSCH2 | Promotion condition type | W_SACO_KSCHL_PROMO | CHAR | 4 | Assigned to domain | KSCHL | VKS | ||
KOTABN2 | Condition Table for Promotion | W_SACO_KOTABNR_PROMO | NUMC | 3 | Assigned to domain | KOTABNR | KON | ||
AKTNR | COUPON | WAKTION | CHAR | 10 | Assigned to domain | ALPHA | WAKTION | WAK | |
KONDID | Condition item number | KPOSN | NUMC | 6 | NUM6 |
Key field | Non-key field |
How do I retrieve data from SAP structure WSCO2 using ABAP code?
As WSCO2 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 WSCO2 as there is no data to select.How to access SAP table WSCO2
Within an ECC or HANA version of SAP you can also view further information about WSCO2 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