A_BillgDocRequestPartner_2

DDL: A_BILLGDOCREQUESTPARTNER_2 Type: view_entity CONSUMPTION Package: ODATA_SD_BIL_BDR_API

Header Partners

A_BillgDocRequestPartner_2 is a Consumption CDS View that provides data about "Header Partners" in SAP S/4HANA. It reads from 1 data source (R_BillgDocRequestPartnerTP) and exposes 8 fields with key fields BillingDocumentRequest, PartnerFunction. It is exposed through 1 OData service (API_BILLINGDOCUMENTREQUEST). Part of development package ODATA_SD_BIL_BDR_API.

Data Sources (1)

SourceAliasJoin Type
R_BillgDocRequestPartnerTP R_BillgDocRequestPartnerTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Header Partners view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
OData.entityType.name BillingDocumentRequestPartner_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_BILLINGDOCUMENTREQUEST API_BILLINGDOCUMENTREQUEST V4 C2 C1

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentRequest Partner BillingDocumentRequest
KEY PartnerFunction Partner PartnerFunction
Customer Partner Customer
Supplier Partner Supplier
Personnel Partner Personnel
ContactPerson Partner ContactPerson
ReferenceBusinessPartner Partner ReferenceBusinessPartner
BusinessPartnerAddressUUID Partner BusinessPartnerAddressUUID
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}

@EndUserText.label: 'Header Partners'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
   semanticKey: [ 'BillingDocumentRequest', 'PartnerFunction'],
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}

@OData: {
  entityType.name: 'BillingDocumentRequestPartner_Type'
}

@VDM: {
  lifecycle.contract.type: #PUBLIC_REMOTE_API,
  viewType: #CONSUMPTION,
  usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
}

define view entity A_BillgDocRequestPartner_2
  as projection on R_BillgDocRequestPartnerTP as Partner
{
  key     Partner.BillingDocumentRequest,
          @ObjectModel.sapObjectNodeTypeReference:'PartnerFunction'
  key     Partner.PartnerFunction,

          Partner.Customer,

          @Consumption.hidden: true
          @Semantics.nullValueIndicatorFor: 'Customer'
          @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SDBIL_CALC_EXIT_PARTNER'
  virtual Customer_H      : rap_null_value_indicator,

          Partner.Supplier,

          @Consumption.hidden: true
          @Semantics.nullValueIndicatorFor: 'Supplier'
          @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SDBIL_CALC_EXIT_PARTNER'
  virtual Supplier_H      : rap_null_value_indicator,

          Partner.Personnel,

          @Consumption.hidden: true
          @Semantics.nullValueIndicatorFor: 'Personnel'
          @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SDBIL_CALC_EXIT_PARTNER'
  virtual Personnel_H     : rap_null_value_indicator,

          Partner.ContactPerson,

          @Consumption.hidden: true
          @Semantics.nullValueIndicatorFor: 'ContactPerson'
          @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SDBIL_CALC_EXIT_PARTNER'
  virtual ContactPerson_H : rap_null_value_indicator,

          Partner.ReferenceBusinessPartner,
          Partner.BusinessPartnerAddressUUID,

          //Composition

          _BillingDocumentRequest as _BillingDocumentRequest : redirected to parent A_BillingDocumentRequest_2
}