A_CAProviderContract

DDL: A_CAPROVIDERCONTRACT Type: view_entity CONSUMPTION

Contract Accounting Provider Contract

A_CAProviderContract is a Consumption CDS View that provides data about "Contract Accounting Provider Contract" in SAP S/4HANA. It reads from 1 data source (R_CAProviderContractTP) and exposes 22 fields with key field CAProviderContract. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_CAProviderContractTP R_CAProviderContractTP projection

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] A_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCode

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Contract Accounting Provider Contract view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name CAPrvdrContr_Type view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY CAProviderContract CAProviderContract
BusinessPartner BusinessPartner Issuing Authority
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
CreatedByUser CreatedByUser User Name
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
LastChangedByUser LastChangedByUser User Name
CAProviderContractName CAProviderContractName
CAProviderContractExtReference CAProviderContractExtReference
CAPrvdrContrStartDateTime CAPrvdrContrStartDateTime
CAPrvdrContrEndDateTime CAPrvdrContrEndDateTime
CAAuthorizationGroup CAAuthorizationGroup AuthorizGroup
CompanyCode CompanyCode Receiver Company Code
TimeZoneID TimeZoneID Time Zone
CAProviderContractCategory CAProviderContractCategory
CAProviderContractMigrtnStatus CAProviderContractMigrtnStatus
CAProviderContractType CAProviderContractType
CAProviderContractStatus CAProviderContractStatus
_BusinessPartner _BusinessPartner
_CompCode _CompCode

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view A_CAProviderContract.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW A_CAProviderContract AS
SELECT
  CAProviderContract,
  BusinessPartner,
  CreationDate,
  CreationTime,
  CreatedByUser,
  IsMarkedForDeletion,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  CAProviderContractName,
  CAProviderContractExtReference,
  CAPrvdrContrStartDateTime,
  CAPrvdrContrEndDateTime,
  CAAuthorizationGroup,
  CompanyCode,
  TimeZoneID,
  CAProviderContractCategory,
  CAProviderContractMigrtnStatus,
  CAProviderContractType,
  CAProviderContractStatus
FROM R_CAProviderContractTP
LEFT OUTER JOIN A_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN A_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode  -- association [1..1]
;