V_USCOMPA SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




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

V_USCOMPA 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 V_USCOMPA table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include COMPANY (Company address, cross-system key), NAME1 (Name 1), NAME2 (Name 2), CITY1 (City).. 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 V_USCOMPA 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
COMPANYCompany address, cross-system key USCOMPCHAR42USCOMPUSCOMPANY_ADDR
NAME1Name 1 AD_NAME1CHAR40TEXT40
NAME2Name 2 AD_NAME2CHAR40TEXT40
CITY1City AD_CITY1CHAR40TEXT40CLCITYNAME
ADDRNUMBERAddress number AD_ADDRNUMCHAR10ADRCALPHAAD_ADDRNUMADR
SORT1Search Term 1 AD_SORT1CHAR20CHAR20
SORT2Search Term 2 AD_SORT2CHAR20CHAR20
POST_CODE1City postal code AD_PSTCD1CHAR10CHAR10
STREETStreet AD_STREETCHAR60TEXT60CLSTRTNAME
HOUSE_NUM1House Number AD_HSNM1CHAR10TEXT10

Key field Non-key field



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

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

SELECT SINGLE *
FROM V_USCOMPA
INTO CORRESPONDING FIELDS OF WA_V_USCOMPA
WHERE...

How to access SAP table V_USCOMPA

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