R_CustRetDelivTextTP

DDL: R_CUSTRETDELIVTEXTTP Type: view_entity TRANSACTIONAL

Customer Returns Delivery - Text TP

R_CustRetDelivTextTP is a Transactional CDS View that provides data about "Customer Returns Delivery - Text TP" in SAP S/4HANA. It reads from 1 data source (P_DeliveryDocumentText) and exposes 5 fields with key fields CustomerReturnDelivery, Language, LongTextID.

Data Sources (1)

SourceAliasJoin Type
P_DeliveryDocumentText CustomerReturnsDeliveryText from

Annotations (10)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey LongTextID view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer Returns Delivery - Text TP view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CustomerReturnDelivery DeliveryDocument
KEY Language Language
KEY LongTextID LongTextID
LongText LongText
_Delivery _Delivery
@VDM: {
  lifecycle.contract.type: #SAP_INTERNAL_API,
  viewType: #TRANSACTIONAL
}

@ObjectModel: {
    usageType: {
        dataClass:      #TRANSACTIONAL,
        serviceQuality: #C,
        sizeCategory:   #L
    },
    dataCategory: #TEXT,
    semanticKey: ['CustomerReturnDelivery', 'Language', 'LongTextID'],
    representativeKey: 'LongTextID'
}
@Metadata.ignorePropagatedAnnotations: true

@AccessControl.authorizationCheck: #MANDATORY

@EndUserText.label: 'Customer Returns Delivery - Text TP'
define view entity R_CustRetDelivTextTP
  as select from P_DeliveryDocumentText as CustomerReturnsDeliveryText
                                         
  association to parent R_CustomerReturnsDeliveryTP as _Delivery on $projection.CustomerReturnDelivery = _Delivery.CustomerReturnDelivery

{
      @ObjectModel.foreignKey.association: '_Delivery'
  key DeliveryDocument as CustomerReturnDelivery,
      @Semantics.language:true
  key Language,
  key LongTextID,
  
      // Text

      @Semantics.text:true
      @ObjectModel.virtualElement:true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_LE_LONGTEXT_SADL_RET_HEAD'
      LongText,
  
      //Associations

      _Delivery
}
where
  _Delivery.SDDocumentCategory = 'T';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_DELIVERYDOCUMENTTEXT",
"R_CUSTOMERRETURNSDELIVERYTP"
],
"ASSOCIATED":
[
"R_CUSTOMERRETURNSDELIVERYTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/