I_LastMilePartnerSalesArea
LMD Business Partner Sales Area
I_LastMilePartnerSalesArea is a Composite CDS View that provides data about "LMD Business Partner Sales Area" in SAP S/4HANA. It reads from 1 data source (I_CustomerSalesArea) and exposes 12 fields with key fields SalesOrganization, DistributionChannel, Division, BusinessPartner. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerSalesArea | CustomerSalesArea | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_CustomerToBusinessPartner | _ToPartner | $projection.Customer = _ToPartner.Customer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | LMD Business Partner Sales Area | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrganization | SalesArea | SalesOrganization | |
| KEY | DistributionChannel | SalesArea | DistributionChannel | |
| KEY | Division | SalesArea | Division | |
| KEY | BusinessPartner | |||
| Customer | I_CustomerSalesArea | Customer | ||
| SupplyingPlant | I_CustomerSalesArea | SupplyingPlant | ||
| AuthorizationGroup | I_CustomerSalesArea | AuthorizationGroup | ||
| IsBusinessPurposeCompleted | I_CustomerSalesArea | IsBusinessPurposeCompleted | ||
| _Customer | I_CustomerSalesArea | _Customer | ||
| _SalesOrganization | SalesArea | _SalesOrganization | ||
| _DistributionChannel | SalesArea | _DistributionChannel | ||
| _Division | SalesArea | _Division |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'LMD Business Partner Sales Area'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #XL,
dataClass: #MASTER
}
@VDM.viewType: #COMPOSITE
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
define view entity I_LastMilePartnerSalesArea
as select from I_CustomerSalesArea as CustomerSalesArea
join I_SalesArea as SalesArea on CustomerSalesArea.SalesOrganization = SalesArea.SalesOrganization
and CustomerSalesArea.DistributionChannel = SalesArea.ReferenceDistributionChannel
and CustomerSalesArea.Division = SalesArea.ReferenceDivision
association [1] to I_CustomerToBusinessPartner as _ToPartner on $projection.Customer = _ToPartner.Customer
{
@ObjectModel.foreignKey.association: '_SalesOrganization'
key SalesArea.SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
key SalesArea.DistributionChannel,
@ObjectModel.foreignKey.association: '_Division'
key SalesArea.Division,
@Semantics.personalData.fieldSemantics:#DATA_SUBJECT_ID
key _ToPartner._BusinessPartner.BusinessPartner,
@Semantics.personalData.fieldSemantics:#DATA_SUBJECT_ID
CustomerSalesArea.Customer,
CustomerSalesArea.SupplyingPlant,
CustomerSalesArea.AuthorizationGroup,
@Semantics.booleanIndicator
CustomerSalesArea.IsBusinessPurposeCompleted,
//associations
CustomerSalesArea._Customer,
SalesArea._SalesOrganization,
SalesArea._DistributionChannel,
SalesArea._Division
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_CUSTOMERSALESAREA",
"I_CUSTOMERTOBUSINESSPARTNER",
"I_SALESAREA"
],
"ASSOCIATED":
[
"I_CUSTOMER",
"I_DISTRIBUTIONCHANNEL",
"I_DIVISION",
"I_SALESORGANIZATION"
],
"BASE":
[
"I_CUSTOMERSALESAREA",
"I_SALESAREA"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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