A_CntrlPurContrHeaderDistr_2

DDL: A_CNTRLPURCONTRHEADERDISTR_2 Type: view_entity CONSUMPTION

CCTR Header Distribution

A_CntrlPurContrHeaderDistr_2 is a Consumption CDS View that provides data about "CCTR Header Distribution" in SAP S/4HANA. It reads from 1 data source (R_CntrlPurContrHdrDistrTP) and exposes 43 fields with key fields CentralPurchaseContract, DistributionKey. It is exposed through 1 OData service (API_CNTRLPURCONTRACT_2).

Data Sources (1)

SourceAliasJoin Type
R_CntrlPurContrHdrDistrTP R_CntrlPurContrHdrDistrTP projection

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label CCTR Header Distribution view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
ObjectModel.modelingPattern #TRANSACTIONAL_INTERFACE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name CentralPurchaseContractHdrDistr_Type view

OData Services (1)

ServiceBindingVersionContractRelease
API_CNTRLPURCONTRACT_2 API_CNTRLPURCONTRACT_2 V4 C2 NOT_RELEASED

Fields (43)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract
KEY DistributionKey DistributionKey
PurchasingDocumentCategory PurchasingDocumentCategory
PurchasingDocumentType PurchasingDocumentType
PurchasingOrganization PurchasingOrganization
CompanyCode CompanyCode
Plant Plant
DocumentCurrency DocumentCurrency
PurchasingGroup PurchasingGroup
StorageLocation StorageLocation
PaymentTerms PaymentTerms
CashDiscount1Days CashDiscount1Days
CashDiscount2Days CashDiscount2Days
NetPaymentDays NetPaymentDays
CashDiscount1Percent CashDiscount1Percent
CashDiscount2Percent CashDiscount2Percent
CntrlPurContrDistributionPct CntrlPurContrDistributionPct
IsDeleted IsDeleted
OrderQuantityUnit OrderQuantityUnit
OrderQuantityUnitISOCode OrderQuantityUnitISOCode
ManualDeliveryAddressID ManualDeliveryAddressID
ProcmtHubDelivAddressTypeCode ProcmtHubDelivAddressTypeCode
ProcurementHubSourceSystem ProcurementHubSourceSystem
SourceListIsUpdated SourceListIsUpdated
SourceListRestriction SourceListRestriction
ProcmtHubCompanyCodeGroupingID ProcmtHubCompanyCodeGroupingID
IncotermsClassification IncotermsClassification
IncotermsLocation1 IncotermsLocation1
ShippingInstruction ShippingInstruction
ProcmtHubSubcontractor ProcmtHubSubcontractor
ProcmtHubSuplrIsSubcontractor ProcmtHubSuplrIsSubcontractor
ReferenceDeliveryAddressID ReferenceDeliveryAddressID
FormOfAddress FormOfAddress
ProcmtHubBusinessPartnerName1 ProcmtHubBusinessPartnerName1
ProcmtHubBusinessPartnerName2 ProcmtHubBusinessPartnerName2
ProcmtHubBusinessPartnerName3 ProcmtHubBusinessPartnerName3
ProcmtHubBusinessPartnerName4 ProcmtHubBusinessPartnerName4
ProcmtHubStreetName ProcmtHubStreetName
ProcmtHubHouseNumber ProcmtHubHouseNumber
ProcmtHubPostalCode ProcmtHubPostalCode
ProcmtHubCityName ProcmtHubCityName
ProcmtHubCountry ProcmtHubCountry
ProcmtHubRegion ProcmtHubRegion
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'CCTR Header Distribution'

@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED

@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #CONSUMPTION

@ObjectModel.supportedCapabilities: [#TRANSACTIONAL_PROVIDER]

@ObjectModel.modelingPattern: #TRANSACTIONAL_INTERFACE

@ObjectModel.semanticKey: ['CentralPurchaseContract','DistributionKey' ]

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED

@Metadata.ignorePropagatedAnnotations: true

@OData.entityType.name: 'CentralPurchaseContractHdrDistr_Type'
define view entity A_CntrlPurContrHeaderDistr_2
  as projection on R_CntrlPurContrHdrDistrTP as CentralPurchaseContrHdrDistr
{

  key CentralPurchaseContract,
  key DistributionKey,
      PurchasingDocumentCategory,
      PurchasingDocumentType,
      PurchasingOrganization,
      CompanyCode,
      Plant,
      DocumentCurrency,
      PurchasingGroup,
      StorageLocation,
      PaymentTerms,
      CashDiscount1Days,
      CashDiscount2Days,
      NetPaymentDays,
      CashDiscount1Percent,
      CashDiscount2Percent,
      CntrlPurContrDistributionPct,
      IsDeleted,
      OrderQuantityUnit,
      OrderQuantityUnitISOCode,
      ManualDeliveryAddressID,
      ProcmtHubDelivAddressTypeCode,
      ProcurementHubSourceSystem,
      @Semantics.booleanIndicator: true
      SourceListIsUpdated,
      SourceListRestriction,
      ProcmtHubCompanyCodeGroupingID,
      IncotermsClassification,
      IncotermsLocation1,
      ShippingInstruction,
      ProcmtHubSubcontractor,
      ProcmtHubSuplrIsSubcontractor,
      ReferenceDeliveryAddressID,
      FormOfAddress,
      ProcmtHubBusinessPartnerName1,
      ProcmtHubBusinessPartnerName2,
      ProcmtHubBusinessPartnerName3,
      ProcmtHubBusinessPartnerName4,
      ProcmtHubStreetName,
      ProcmtHubHouseNumber,
      ProcmtHubPostalCode,
      ProcmtHubCityName,
      ProcmtHubCountry,
      ProcmtHubRegion,

      /* Associations */
      _CntrlPurchaseContract      : redirected to parent A_CentralPurchaseContract_2,
      _CentralPurchaseContHdrPart : redirected to composition child A_CntrlPurContrHdrDistrPart_2


}