C_SDDocumentShipToParty

DDL: C_SDDOCUMENTSHIPTOPARTY SQL: CSDDOCSHIPTOPTY Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_BillingDocument BillingDocument union_all
I_SalesOrder SalesOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Customer _Customer $projection.ShipToParty = _Customer.Customer

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/