SDCUSTVIEW_O2C SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




Table View field list including key, data, relationships and ABAP select examples

SDCUSTVIEW_O2C is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.

The SDCUSTVIEW_O2C table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include KUNNR (Customer Numbers), VKORG (Sales Organization), VTWEG (Distribution Channel), SPART (Division).. 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: Not classified


SAP SDCUSTVIEW_O2C table view 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
MANDTClient MANDTCLNT3T000MANDT
KUNNRCustomer Numbers KUNNRCHAR10ALPHAKUNNRKUNC_KUNNR
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
DATE_FROMValid-from date - in current Release only 00010101 possible AD_DATE_FRDATS8DATUM
NATIONVersion ID for International Addresses AD_NATIONCHAR1TSADVAD_NATIONADDRESS_NATION
VKBURSales Office VKBURCHAR4TVBURVKBURVKB
VKGRPSales Group VKGRPCHAR3TVBVKVKGRPVKG
MCOD1Search term for matchcode search MCDD1CHAR25CHAR25
MCOD2Search Term for Matchcode Search MCDD2CHAR25CHAR25
MCOD3Search term for matchcode search MCDD3CHAR25CHAR25
SORTLSort field SORTLCHAR10CHAR10
NAMEName 1 NAME1_GPCHAR35NAME
NAME2Name 2 NAME2_GPCHAR35NAME
STREETStreet AD_STREETCHAR60TEXT60CLSTRTNAME
MC_STREETStreet name in upper case for search help AD_MC_STRTCHAR25CHAR25
STREET_NOHouse Number AD_HSNM1CHAR10TEXT10
PCODEPostal Code PSTLZCHAR10PSTLZ
CITYCity ORT01_GPCHAR35TEXT35
COUNTRYCountry Key LAND1_GPCHAR3T005LAND1C_LAND1
REGIONSTATE (State, Province, County) REGIOCHAR3T005SREGIO
TELF1First telephone number TELF1CHAR16TEXT16
TELFXFax Number TELFXCHAR31TEXT31
BEGRUAuthorization Group BRGRUCHAR4BRGRU
KTOKDCustomer Account Group KTOKDCHAR4T077DKTOKDKGD
KUKLACustomer classification KUKLACHAR2TKUKLKUKLA
KDGRPCustomer group KDGRPCHAR2T151KDGRPVKD
KLABCCustomer classification (ABC analysis) KLABCCHAR2KLABC
AUFSDZCentral order block for customer AUFSD_XCHAR2TVASTKAUFS
AUFSDVCustomer order block (sales area) AUFSD_VCHAR2TVASTKAUFS
LIFSDZCentral delivery block for the customer LIFSD_XCHAR2TVLSLIFSP
LIFSDVCustomer delivery block (sales area) LIFSD_VCHAR2TVLSLIFSP
FAKSDZCentral billing block for customer FAKSD_XCHAR2TVFSFAKSP
FAKSDVBilling block for customer (sales and distribution) FAKSD_VCHAR2TVFSFAKSP
LOEVMZCentral Deletion Flag for Master Record LOEVM_XCHAR1XFELD
LOEVMVDeletion flag for customer (sales level) LOEVM_VCHAR1XFELD
NODELCentral deletion block for master record NODEL_XCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP table SDCUSTVIEW_O2C using ABAP code

The following ABAP code Example will allow you to do a basic selection on SDCUSTVIEW_O2C to SELECT all data from the table
DATA: WA_SDCUSTVIEW_O2C TYPE SDCUSTVIEW_O2C.

SELECT SINGLE *
FROM SDCUSTVIEW_O2C
INTO CORRESPONDING FIELDS OF WA_SDCUSTVIEW_O2C
WHERE...

How to access SAP table SDCUSTVIEW_O2C

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