I_DELIVERYDOCUMENTPARTNER

CDS View

Delivery Document Partner

I_DELIVERYDOCUMENTPARTNER is a CDS View in S/4HANA. Delivery Document Partner. It contains 7 fields. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
R_CustRetDelivPartnerTP view_entity from TRANSACTIONAL Customer Returns Delivery Partner - TP
R_InbDeliveryPartnerTP view_entity from TRANSACTIONAL Inbound Delivery Partner - TP
R_OutboundDeliveryPartnerTP view_entity from TRANSACTIONAL Outbound Delivery Partner - TP

Fields (7)

KeyField CDS FieldsUsed in Views
KEY PartnerFunction PartnerFunction 1
AddressID AddressID 1
AddressPersonID AddressPersonID 1
ContactPerson ContactPerson 1
Customer Customer 1
Personnel Personnel 1
Supplier Supplier 1
@EndUserText.label: 'Delivery Document Partner'

@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #BLOCKED_DATA_EXCLUDED
}

@VDM.viewType: #COMPOSITE

@ObjectModel: {
  usageType.dataClass: #TRANSACTIONAL,
  usageType.serviceQuality: #B,
  usageType.sizeCategory: #XL
}
@Metadata.ignorePropagatedAnnotations: true
define view entity I_DeliveryDocumentPartner
  as select from I_SDDocumentPartner as DeliveryDocumentPartner
  association [0..1] to I_DeliveryDocument as _DeliveryDocument on _DeliveryDocument.DeliveryDocument = DeliveryDocumentPartner.SDDocument
  association [0..1] to I_Supplier         as _AuthSupplier     on $projection.Supplier = _AuthSupplier.Supplier
  association [0..1] to I_Customer         as _AuthCustomer     on $projection.Customer = _AuthCustomer.Customer
{
  key SDDocument                                          as DeliveryDocument,
  key cast(PartnerFunction as parvw_unv preserving type ) as PartnerFunction,
      Customer,
      Supplier,
      Personnel,
      ContactPerson,
      AddressID,
      AddressPersonID,

      //only for DCL

      @Consumption.hidden: true
      _DeliveryDocument.ShippingPoint,
      _AuthSupplier,
      _AuthCustomer
}
where
     _DeliveryDocument.SDDocumentCategory = 'J'
  or _DeliveryDocument.SDDocumentCategory = '7'
  or _DeliveryDocument.SDDocumentCategory = 'T'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DELIVERYDOCUMENT",
"I_SDDOCUMENTPARTNER"
],
"ASSOCIATED":
[
"I_CUSTOMER",
"I_SUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/