C_Customer360_Salesarea
Customer360 Sales Area
C_Customer360_Salesarea is a Consumption CDS View that provides data about "Customer360 Sales Area" in SAP S/4HANA. It reads from 1 data source (I_CustomerSalesArea) and exposes 28 fields with key fields Customer, SalesOrganization, DistributionChannel, Division. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerSalesArea | SalesArea | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CustomerGroup | _CustomerGroup | $projection.CustomerGroup = _CustomerGroup.CustomerGroup |
| [0..1] | I_CustomerPriceGroup | _CustomerPriceGroup | $projection.CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup |
| [0..1] | I_PriceListType | _PriceListType | $projection.PriceListType = _PriceListType.PriceListType |
| [0..1] | C_Customer360_F2187 | _Customer360 | $projection.Customer = _Customer360.Customer |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCUST360SAREA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Customer360 Sales Area | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| UI.headerInfo.typeName | Sales Area | view | |
| UI.headerInfo.typeNamePlural | Sales Areas | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | SalesArea | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Customer | Customer | Sold-to Party | |
| KEY | SalesOrganization | SalesOrganization | Sales Organization | |
| KEY | DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | |
| KEY | Division | Division | Internal Division ID | |
| DivisionName1astxt_vtrberasSalesArea | ||||
| CustomerName | ||||
| AuthorizationGroup | I_CustomerSalesArea | AuthorizationGroup | AuthorizGroup | |
| CustomerAccountGroup | ||||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerPriceGroup | I_CustomerSalesArea | CustomerPriceGroup | CustPrice Group | |
| PriceListType | PriceListType | Price List Tp. | ||
| DeliveryPriority | DeliveryPriority | Delivery Priority | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| OrderCombinationIsAllowed | OrderCombinationIsAllowed | Order Combinat. | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Location 1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Location 2 | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Terms of Payment | ||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _CustomerGroup | _CustomerGroup | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _PriceListType | _PriceListType | |||
| _DeliveryPriority | _DeliveryPriority | |||
| _ShippingCondition | _ShippingCondition | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _Customer360 | _Customer360 |
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_Customer360_Salesarea.
-- 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.
-- SQL view name: CCUST360SAREA
CREATE VIEW C_Customer360_Salesarea AS
SELECT
Customer,
SalesOrganization,
DistributionChannel,
Division,
cast(concat_with_space( concat( concat( SalesArea._SalesOrganization._Text[1: Language=$session.system_language].SalesOrganizationName, concat_with_space(',',SalesArea._DistributionChannel._Text[1: Language=$session.system_language].DistributionChannelName,1) ), ',' ), SalesArea._Division._Text[1: Language=$session.system_language].DivisionName ,1) as txt_vtrber) as SalesArea AS DivisionName1astxt_vtrberasSalesArea,
SalesArea._Customer.CustomerName AS CustomerName,
SalesArea.AuthorizationGroup AS AuthorizationGroup,
SalesArea._Customer.CustomerAccountGroup AS CustomerAccountGroup,
CustomerGroup,
SalesArea.CustomerPriceGroup AS CustomerPriceGroup,
PriceListType,
DeliveryPriority,
ShippingCondition,
OrderCombinationIsAllowed,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation2,
CustomerPaymentTerms
FROM I_CustomerSalesArea AS SalesArea
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerPriceGroup AS _CustomerPriceGroup ON CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup -- association [0..1]
LEFT OUTER JOIN I_PriceListType AS _PriceListType ON PriceListType = _PriceListType.PriceListType -- association [0..1]
LEFT OUTER JOIN C_Customer360_F2187 AS _Customer360 ON Customer = _Customer360.Customer -- association [0..1]
;
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