A_OIL_ExchPurchaseContract

DDL: A_OIL_EXCHPURCHASECONTRACT Type: view_entity CONSUMPTION

Exchange Purchase Contract

A_OIL_ExchPurchaseContract is a Consumption CDS View that provides data about "Exchange Purchase Contract" in SAP S/4HANA. It reads from 1 data source (R_OIL_ExchPurchaseContractTP) and exposes 15 fields with key fields ExchangeAgreement, PurchasingDocument.

Data Sources (1)

SourceAliasJoin Type
R_OIL_ExchPurchaseContractTP R_OIL_ExchPurchaseContractTP projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Exchange Purchase Contract view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name A_OIL_ExchPurchaseContract_Type view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ExchangeAgreement ExchangeAgreement Exchange no.
KEY PurchasingDocument PurchasingDocument Purchasing Document
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentType PurchasingDocumentType RFQ Type
ReorganizationProgramDate ReorganizationProgramDate Reorg.date
IndicatorIsRecordDeleted IndicatorIsRecordDeleted Deletion Ind.
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchaseContractText PurchaseContractText Text
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
ChangedTime ChangedTime Changed at
LastChangeByUser LastChangeByUser User Name
PrmtHbSchedDtaAgingFltrDte PrmtHbSchedDtaAgingFltrDte Data Aging

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_OIL_ExchPurchaseContract.
-- 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_OIL_ExchPurchaseContract AS
SELECT
  ExchangeAgreement,
  PurchasingDocument,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  ReorganizationProgramDate,
  IndicatorIsRecordDeleted,
  PurchasingOrganization,
  PurchaseContractText,
  CreationDate,
  CreationTime,
  CreatedByUser,
  LastChangeDate,
  ChangedTime,
  LastChangeByUser,
  PrmtHbSchedDtaAgingFltrDte
FROM R_OIL_ExchPurchaseContractTP
;