C_BPCustSlsAreaAddrDepdntInfo
Consumption view for sales are adrdep
C_BPCustSlsAreaAddrDepdntInfo is a Consumption CDS View that provides data about "Consumption view for sales are adrdep" in SAP S/4HANA. It reads from 1 data source (I_BPCustSalesAreaAddrDepdntTP) and exposes 42 fields with key fields SalesOrganization, DistributionChannel, Division, AddressID, BusinessPartner. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustSalesAreaAddrDepdntTP | CustSlsAreaAddrDepdntInfo | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [1..1] | C_BusinessPartnerCustomer | _BusinessPartnerCustomer | $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner |
| [1..1] | C_BusinessPartnerSalesArea | _BusinessPartnerSalesArea | $projection.BusinessPartner = _BusinessPartnerSalesArea.BusinessPartner and $projection.SalesOrganization = _BusinessPartnerSalesArea.SalesOrganization and $projection.DistributionChannel = _BusinessPartnerSalesArea.DistributionChannel and $projection.Division = _BusinessPartnerSalesArea.Division |
| [0..*] | I_ShippingConditionText | _ShippingConditionText | $projection.ShippingCondition = _ShippingConditionText.ShippingCondition |
| [0..1] | C_DeliveryPlantTextVHTEMP | _DeliveryPlantText | $projection.SupplyingPlant = _DeliveryPlantText.Plant and $projection.SalesOrganization = _DeliveryPlantText.SalesOrganization and $projection.DistributionChannel = _DeliveryPlantText.DistributionChannel |
| [0..*] | I_DeliveryBlockReasonText | _DeliveryBlockReasonText | $projection.DeliveryIsBlocked = _DeliveryBlockReasonText.DeliveryBlockReason |
| [0..*] | C_IncotermsClassfctnTextVHTemp | _IncotermsText | $projection.IncotermsClassification = _IncotermsText.IncotermsClassification |
| [0..*] | I_SalesOfficeText | _SalesOfficeText | $projection.SalesOffice = _SalesOfficeText.SalesOffice |
| [0..*] | I_SalesGroupText | _SalesGroupText | $projection.SalesGroup = _SalesGroupText.SalesGroup |
| [0..1] | I_TransportationLocation | _TransportLocationText | $projection.IncotermsSupChnDvtgLocAddlUUID = _TransportLocationText.LocationAdditionalUUID |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCUSSLSADDRDEPTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.type | #CONSUMPTION | view | |
| ObjectModel.writeEnabled | true | view | |
| ObjectModel.text.control | #ASSOCIATED_TEXT_UI_HIDDEN | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| UI.headerInfo.typeName | Address-Dependent Information | view | |
| UI.headerInfo.typeNamePlural | Address-Dependent Information | view | |
| Search.searchable | true | view | |
| EndUserText.label | Consumption view for sales are adrdep | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrganization | SalesOrganization | Sales Organization | |
| KEY | DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | |
| KEY | Division | Division | Internal Division ID | |
| KEY | AddressID | AddressID | Ship-to address | |
| KEY | BusinessPartner | BusinessPartner | Issuing Authority | |
| Customer | Customer | Sold-to Party | ||
| CustomerForEdit | CustomerForEdit | Customer | ||
| AddressIDForEdit | AddressIDForEdit | Address Number | ||
| BusinessPartnerForEdit | BusinessPartnerForEdit | Busn. Partner | ||
| BusinessPartnerUUID | BusinessPartnerUUID | UUID | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| DeliveryIsBlocked | DeliveryIsBlocked | Delivery block | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| FormattedAddress | FormattedAddress | |||
| IncotermsLocation1Identifier | IncotermsLocation1Identifier | Location | ||
| IncotermsLocation2Identifier | IncotermsLocation2Identifier | Location | ||
| IncotermsDvtgLocDescription | ||||
| IncotermsDvtgLocIdentifier | IncotermsDvtgLocIdentifier | Location | ||
| IncotermsSupChnDvtgLocAddlUUID | IncotermsSupChnDvtgLocAddlUUID | Location UUID | ||
| IncotermsSupChnLoc2AddlUUID | IncotermsSupChnLoc2AddlUUID | Location UUID | ||
| IncotermsSupChnLoc1AddlUUID | IncotermsSupChnLoc1AddlUUID | Location UUID | ||
| _BusinessPartner | _BusinessPartner | |||
| _BusinessPartnerCustomer | _BusinessPartnerCustomer | |||
| _BusinessPartnerSalesArea | _BusinessPartnerSalesArea | |||
| _Customer | _Customer | |||
| _CustomerSalesArea | _CustomerSalesArea | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _SalesOrganization | _SalesOrganization | |||
| _ShippingConditionText | _ShippingConditionText | |||
| _DeliveryPlantText | _DeliveryPlantText | |||
| _DeliveryBlockReasonText | _DeliveryBlockReasonText | |||
| _IncotermsText | _IncotermsText | |||
| _SalesOfficeText | _SalesOfficeText | |||
| _SalesGroupText | _SalesGroupText | |||
| _TransportLocationText | _TransportLocationText |
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_BPCustSlsAreaAddrDepdntInfo.
-- 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: CCUSSLSADDRDEPTP
CREATE VIEW C_BPCustSlsAreaAddrDepdntInfo AS
SELECT
SalesOrganization,
DistributionChannel,
Division,
AddressID,
BusinessPartner,
Customer,
CustomerForEdit,
AddressIDForEdit,
BusinessPartnerForEdit,
BusinessPartnerUUID,
IncotermsClassification,
IncotermsLocation1,
IncotermsLocation2,
SalesOffice,
SalesGroup,
ShippingCondition,
SupplyingPlant,
DeliveryIsBlocked,
IncotermsVersion,
FormattedAddress,
IncotermsLocation1Identifier,
IncotermsLocation2Identifier,
_TransportLocationText._Text[1:Language= $session.system_language].LocationDescription AS IncotermsDvtgLocDescription,
IncotermsDvtgLocIdentifier,
IncotermsSupChnDvtgLocAddlUUID,
IncotermsSupChnLoc2AddlUUID,
IncotermsSupChnLoc1AddlUUID
FROM I_BPCustSalesAreaAddrDepdntTP AS CustSlsAreaAddrDepdntInfo
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSalesArea AS _BusinessPartnerSalesArea ON BusinessPartner = _BusinessPartnerSalesArea.BusinessPartner AND SalesOrganization = _BusinessPartnerSalesArea.SalesOrganization AND DistributionChannel = _BusinessPartnerSalesArea.DistributionChannel AND Division = _BusinessPartnerSalesArea.Division -- association [1..1]
LEFT OUTER JOIN I_ShippingConditionText AS _ShippingConditionText ON ShippingCondition = _ShippingConditionText.ShippingCondition -- association [0..*]
LEFT OUTER JOIN C_DeliveryPlantTextVHTEMP AS _DeliveryPlantText ON SupplyingPlant = _DeliveryPlantText.Plant AND SalesOrganization = _DeliveryPlantText.SalesOrganization AND DistributionChannel = _DeliveryPlantText.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_DeliveryBlockReasonText AS _DeliveryBlockReasonText ON DeliveryIsBlocked = _DeliveryBlockReasonText.DeliveryBlockReason -- association [0..*]
LEFT OUTER JOIN C_IncotermsClassfctnTextVHTemp AS _IncotermsText ON IncotermsClassification = _IncotermsText.IncotermsClassification -- association [0..*]
LEFT OUTER JOIN I_SalesOfficeText AS _SalesOfficeText ON SalesOffice = _SalesOfficeText.SalesOffice -- association [0..*]
LEFT OUTER JOIN I_SalesGroupText AS _SalesGroupText ON SalesGroup = _SalesGroupText.SalesGroup -- association [0..*]
LEFT OUTER JOIN I_TransportationLocation AS _TransportLocationText ON IncotermsSupChnDvtgLocAddlUUID = _TransportLocationText.LocationAdditionalUUID -- 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