C_SDDocumentShipToParty
SD Document Complete Ship to Party
C_SDDocumentShipToParty is a Consumption CDS View that provides data about "SD Document Complete Ship to Party" in SAP S/4HANA. It reads from 2 data sources (I_BillingDocument, I_SalesOrder) and exposes 5 fields with key field ReferenceDocument. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocument | BillingDocument | union_all |
| I_SalesOrder | SalesOrder | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.ShipToParty = _Customer.Customer |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSDDOCSHIPTOPTY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | SD Document Complete Ship to Party | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ReferenceDocument | I_SalesOrder | SalesOrder | |
| ShipToParty | ||||
| BillingDocumentasReferenceDocument | ||||
| ShipToParty | ||||
| _Customer | _Customer |
@AbapCatalog.sqlViewName: 'CSDDOCSHIPTOPTY'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'SD Document Complete Ship to Party'
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
define view C_SDDocumentShipToParty
as select from I_SalesOrder as SalesOrder
association [0..1] to I_Customer as _Customer on $projection.ShipToParty = _Customer.Customer
{
key SalesOrder.SalesOrder as ReferenceDocument,
SalesOrder._Partner[PartnerFunction = 'WE'].Customer as ShipToParty,
_Customer
}
union all
select from I_BillingDocument as BillingDocument
association [0..1] to I_Customer as _Customer on $projection.ShipToParty = _Customer.Customer
{
key BillingDocument.BillingDocument as ReferenceDocument,
BillingDocument._Partner[PartnerFunction = 'WE'].Customer as ShipToParty,
_Customer
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENT",
"I_BILLINGDOCUMENTPARTNER",
"I_SALESORDER",
"I_SALESORDERPARTNER"
],
"ASSOCIATED":
[
"I_CUSTOMER"
],
"BASE":
[],
"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