C_ProdCmplncCustVH
PC Customer
C_ProdCmplncCustVH is a Consumption CDS View that provides data about "PC Customer" in SAP S/4HANA. It reads from 1 data source (I_CustomerSalesArea) and exposes 24 fields with key fields Customer, SalesOrganization. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerSalesArea | CustomerSalesArea | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CountryText | _CountryText | $projection.country = _CountryText.Country |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPCCUSTOMERVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | Customer | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | PC Customer | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Customer | Customer | Customer | Sold-to Party |
| KEY | SalesOrganization | I_CustomerSalesArea | SalesOrganization | Sales Organization |
| BPCustomerName | Customer | BPCustomerName | Name of Customer | |
| BusinessPartnerName1 | Customer | BusinessPartnerName1 | Name | |
| BusinessPartnerName2 | Customer | BusinessPartnerName2 | Name 2 | |
| PostalCode | ||||
| CityName | ||||
| Country | ||||
| StreetName | ||||
| _CountryText | _CountryText | |||
| CustomerAccountGroup | Customer | CustomerAccountGroup | Account group | |
| AuthorizationGroup | Customer | AuthorizationGroup | AuthorizGroup | |
| IsBusinessPurposeCompleted | Customer | IsBusinessPurposeCompleted | Purpose Completed | |
| DataControllerSet | Customer | DataControllerSet | Data Ctrlr. Set | |
| DataController1 | Customer | DataController1 | Data Controller | |
| DataController2 | Customer | DataController2 | Data Controller | |
| DataController3 | Customer | DataController3 | Data Controller | |
| DataController4 | Customer | DataController4 | Data Controller | |
| DataController5 | Customer | DataController5 | Data Controller | |
| DataController6 | Customer | DataController6 | Data Controller | |
| DataController7 | Customer | DataController7 | Data Controller | |
| DataController8 | Customer | DataController8 | Data Controller | |
| DataController9 | Customer | DataController9 | Data Controller | |
| DataController10 | 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_ProdCmplncCustVH.
-- 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_ProdCmplncCustVH AS
SELECT
Customer.Customer AS Customer,
CustomerSalesArea.SalesOrganization AS SalesOrganization,
Customer.BPCustomerName AS BPCustomerName,
Customer.BusinessPartnerName1 AS BusinessPartnerName1,
Customer.BusinessPartnerName2 AS BusinessPartnerName2,
Customer._AddressDefaultRepresentation.PostalCode AS PostalCode,
Customer._AddressDefaultRepresentation.CityName AS CityName,
Customer._AddressDefaultRepresentation.Country AS Country,
Customer._AddressDefaultRepresentation.StreetName AS StreetName,
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
INNER JOIN I_CustomerSalesArea AS CustomerSalesArea ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CountryText AS _CountryText ON country = _CountryText.Country -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA