WSCO2 SAP (ALV Display Structure for Transaction VKP2) Structure details

Dictionary Type: Structure
Description: ALV Display Structure for Transaction VKP2




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




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
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
VRKMESales Unit W_VRKME_VKPUNIT3Assigned to domainCUNITMEINS
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PLTYPPrice list type PLTYPCHAR2Assigned to domainPLTYPVPL
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
DATABStart of a Time Interval with the Same Sales Conditions W_SACO_DATABDATS8DATUM
DATBIEnd of a Time Interval with the Same Sales Conditions W_SACO_DATBIDATS8DATUM
KBETRRate (condition amount or percentage) KBETRCURR11(2) WERTV6
WAERS_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
KPEINCondition pricing unit KPEINDEC5KPEIN
KMEINCondition unit in the document KVMEIUNIT3Assigned to domainCUNITMEINS
KSCHLCondition type KSCHACHAR4Assigned to domainKSCHLVKS
KOTABNRCondition table KOTABNRNUMC3Assigned to domainKOTABNRKON
KALEBSales Pricing: Pricing level KALEBCHAR2KALEB
VORGAProcedure in sales price calculations W_KVORGCHAR2W_VKPVOR
KBELNNumber of pricing document KBELNCHAR10Assigned to domainALPHAKBELN
KBELPItem Number of Pricing Document KBELPNUMC5Assigned to domainKBELP
FRBNRExt. Doc. No. of Application Calling Up Sales Price Calc. W_FRBNRCHAR10ALPHAW_FRBNR
PVGRDReason for retail price change PV_GRUNDCHAR4Assigned to domainALPHAPV_GRUNDPVGRD
KBET2Promotion Condition Amount or Percentage W_SACO_KBETR_PROMOCURR11(2) WERTV6
WAER2Promotion Currency W_SACO_WAERS_PROMOCUKY5Assigned to domainWAERSFWS
KPEI2Promotion Condition Price Unit W_SACO_KPEIN_PROMODEC5KPEIN
KMEI2Promotion Condition Unit of Measure W_SACO_KMEIN_PROMOUNIT3Assigned to domainCUNITMEINS
KSCH2Promotion condition type W_SACO_KSCHL_PROMOCHAR4Assigned to domainKSCHLVKS
KOTABN2Condition Table for Promotion W_SACO_KOTABNR_PROMONUMC3Assigned to domainKOTABNRKON
AKTNRCOUPON WAKTIONCHAR10Assigned to domainALPHAWAKTIONWAK
KONDIDCondition item number KPOSNNUMC6NUM6

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 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!