C_Q2CCustomerQuickView

DDL: C_Q2CCUSTOMERQUICKVIEW Type: view_entity CONSUMPTION

Customer

C_Q2CCustomerQuickView is a Consumption CDS View that provides data about "Customer" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 23 fields with key field Customer.

Data Sources (1)

SourceAliasJoin Type
I_Customer customer from

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey Customer view
UI.headerInfo.imageUrl BusinessPartnerImageURL view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value CustomerName view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value Customer view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Customer view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Customer I_Customer Customer Customer
AddressID I_Customer AddressID Ship-to address
CustomerName I_Customer CustomerName Name
sstring500asBusinessPartnerImageURL
PostalCode
CityName
Country
OrganizationBPName1 I_Customer OrganizationBPName1 Name 1
OrganizationBPName2 I_Customer OrganizationBPName2 Name 2
CustomerAccountGroup I_Customer CustomerAccountGroup Account group
AuthorizationGroup I_Customer AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted I_Customer IsBusinessPurposeCompleted Purpose Completed
DataControllerSet I_Customer DataControllerSet Data Ctrlr. Set
DataController1 I_Customer DataController1 Data Controller
DataController2 I_Customer DataController2 Data Controller
DataController3 I_Customer DataController3 Data Controller
DataController4 I_Customer DataController4 Data Controller
DataController5 I_Customer DataController5 Data Controller
DataController6 I_Customer DataController6 Data Controller
DataController7 I_Customer DataController7 Data Controller
DataController8 I_Customer DataController8 Data Controller
DataController9 I_Customer DataController9 Data Controller
DataController10 I_Customer DataController10 Data Controller

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_Q2CCustomerQuickView.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_Q2CCustomerQuickView AS
SELECT
  customer.Customer AS Customer,
  customer.AddressID AS AddressID,
  customer.CustomerName AS CustomerName,
  cast ( case when _CustomerToBusinessPartner._BusinessPartner.BusinessPartnerCategory = '1' then 'sap-icon: else 'sap-icon: end as abap.sstring( 500 ) ) as BusinessPartnerImageURL AS sstring500asBusinessPartnerImageURL,
  customer._AddressDefaultRepresentation.PostalCode AS PostalCode,
  customer._AddressDefaultRepresentation.CityName AS CityName,
  customer._AddressDefaultRepresentation.Country AS Country,
  customer.OrganizationBPName1 AS OrganizationBPName1,
  customer.OrganizationBPName2 AS OrganizationBPName2,
  customer.CustomerAccountGroup AS CustomerAccountGroup,
  customer.AuthorizationGroup AS AuthorizationGroup,
  customer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  customer.DataControllerSet AS DataControllerSet,
  customer.DataController1 AS DataController1,
  customer.DataController2 AS DataController2,
  customer.DataController3 AS DataController3,
  customer.DataController4 AS DataController4,
  customer.DataController5 AS DataController5,
  customer.DataController6 AS DataController6,
  customer.DataController7 AS DataController7,
  customer.DataController8 AS DataController8,
  customer.DataController9 AS DataController9,
  customer.DataController10 AS DataController10
FROM I_Customer AS customer
;