C_SitnForContrRdyToUse

DDL: C_SITNFORCONTRRDYTOUSE SQL: CSITNCTRRDYTOUSE Type: view CONSUMPTION Package: ODATA_MM_PUR_REQ_MAINTAIN_PROF

Sitn Contract ready to use

C_SitnForContrRdyToUse is a Consumption CDS View that provides data about "Sitn Contract ready to use" in SAP S/4HANA. It reads from 1 data source (I_PurchaseContractItem) and exposes 15 fields with key fields PurchaseContract, PurchaseContractItem. Part of development package ODATA_MM_PUR_REQ_MAINTAIN_PROF.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseContractItem TriggerObject from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CSITNCTRRDYTOUSE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Sitn Contract ready to use view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract I_PurchaseContractItem PurchaseContract Purchasing Doc.
KEY PurchaseContractItem I_PurchaseContractItem PurchaseContractItem Item
PurchaseContractItemUniqueID PurchaseContractItemUniqueID Document Item
PurchaseContractType I_PurchaseContractItem PurchaseContractType Order Type
Supplier
SupplierName
TargetQuantity I_PurchaseContractItem TargetQuantity Target Quantity
PurgDocReleaseOrderQuantity I_PurchaseContractItem PurgDocReleaseOrderQuantity Rel. order qty.
TargetAmount I_PurchaseContractItem TargetAmount Target Value
PaymentTerms
PaymentTermsName
ContractNetPriceAmount I_PurchaseContractItem ContractNetPriceAmount Net Price
OrderPriceUnit I_PurchaseContractItem OrderPriceUnit Order Price Un.
OrderQuantityUnit I_PurchaseContractItem OrderQuantityUnit Sales Unit
DocumentCurrency I_PurchaseContractItem DocumentCurrency Document Currency

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 C_SitnForContrRdyToUse.
-- 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.
-- SQL view name: CSITNCTRRDYTOUSE

CREATE VIEW C_SitnForContrRdyToUse AS
SELECT
  TriggerObject.PurchaseContract AS PurchaseContract,
  TriggerObject.PurchaseContractItem AS PurchaseContractItem,
  PurchaseContractItemUniqueID,
  TriggerObject.PurchaseContractType AS PurchaseContractType,
  TriggerObject._PurchaseContract.Supplier AS Supplier,
  TriggerObject._PurchaseContract._Supplier.SupplierName AS SupplierName,
  TriggerObject.TargetQuantity AS TargetQuantity,
  TriggerObject.PurgDocReleaseOrderQuantity AS PurgDocReleaseOrderQuantity,
  TriggerObject.TargetAmount AS TargetAmount,
  TriggerObject._PurchaseContract.PaymentTerms AS PaymentTerms,
  TriggerObject._PurchaseContract._PaymentTerms._Text[1: Language = $session.system_language].PaymentTermsName AS PaymentTermsName,
  TriggerObject.ContractNetPriceAmount AS ContractNetPriceAmount,
  TriggerObject.OrderPriceUnit AS OrderPriceUnit,
  TriggerObject.OrderQuantityUnit AS OrderQuantityUnit,
  TriggerObject.DocumentCurrency AS DocumentCurrency
FROM I_PurchaseContractItem AS TriggerObject
;