C_PurCtrItemnotes

DDL: C_PURCTRITEMNOTES SQL: CTRITNOTES Type: view CONSUMPTION Package: ODATA_MM_OA_MAINTAIN

Contract Item Notes

C_PurCtrItemnotes is a Consumption CDS View that provides data about "Contract Item Notes" in SAP S/4HANA. It reads from 1 data source (I_PurctritnotesWD) and exposes 16 fields with key fields Language, DocumentText, ArchObjectNumber, TechnicalObjectType. It has 2 associations to related views. Part of development package ODATA_MM_OA_MAINTAIN.

Data Sources (1)

SourceAliasJoin Type
I_PurctritnotesWD Document from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_ContractMaintainItem _PurchaseContractItemWD _PurchaseContractItemWD.PurchaseContract = $projection.PurchaseContract and _PurchaseContractItemWD.PurchaseContractItem = $projection.PurchaseContractItem
[1..1] C_ContractMaintain _PurchaseContractWD _PurchaseContractWD.PurchaseContract = $projection.PurchaseContract

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CTRITNOTES view
VDM.viewType #CONSUMPTION view
EndUserText.label Contract Item Notes view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Language I_PurctritnotesWD Language Report Text Language
KEY DocumentText I_PurctritnotesWD DocumentText Text ID
KEY ArchObjectNumber I_PurctritnotesWD ArchObjectNumber Text Name
KEY TechnicalObjectType I_PurctritnotesWD TechnicalObjectType Text object
PurchaseContractItem I_PurctritnotesWD PurchaseContractItem Item
PurchaseContract I_PurctritnotesWD PurchaseContract Purchasing Doc.
ArchObjectNumberForEdit I_PurctritnotesWD ArchObjectNumberForEdit
PurchaseContractForEdit I_PurctritnotesWD PurchaseContractForEdit Purchase Contract
PurchaseContractItemForEdit I_PurctritnotesWD PurchaseContractItemForEdit Item
TechnicalObjectTypeForEdit I_PurctritnotesWD TechnicalObjectTypeForEdit Text object
DocumentTextForEdit I_PurctritnotesWD DocumentTextForEdit Text ID
LanguageForEdit I_PurctritnotesWD LanguageForEdit Original Language
NoteDescription I_PurctritnotesWD NoteDescription Long Text
FixedIndicator I_PurctritnotesWD FixedIndicator Fixing
_PurchaseContractWD _PurchaseContractWD
_PurchaseContractItemWD _PurchaseContractItemWD

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_PurCtrItemnotes.
-- 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: CTRITNOTES

CREATE VIEW C_PurCtrItemnotes AS
SELECT
  Document.Language AS Language,
  Document.DocumentText AS DocumentText,
  Document.ArchObjectNumber AS ArchObjectNumber,
  Document.TechnicalObjectType AS TechnicalObjectType,
  Document.PurchaseContractItem AS PurchaseContractItem,
  Document.PurchaseContract AS PurchaseContract,
  Document.ArchObjectNumberForEdit AS ArchObjectNumberForEdit,
  Document.PurchaseContractForEdit AS PurchaseContractForEdit,
  Document.PurchaseContractItemForEdit AS PurchaseContractItemForEdit,
  Document.TechnicalObjectTypeForEdit AS TechnicalObjectTypeForEdit,
  Document.DocumentTextForEdit AS DocumentTextForEdit,
  Document.LanguageForEdit AS LanguageForEdit,
  Document.NoteDescription AS NoteDescription,
  Document.FixedIndicator AS FixedIndicator
FROM I_PurctritnotesWD AS Document
LEFT OUTER JOIN C_ContractMaintainItem AS _PurchaseContractItemWD ON _PurchaseContractItemWD.PurchaseContract = PurchaseContract AND _PurchaseContractItemWD.PurchaseContractItem = PurchaseContractItem  -- association [1..1]
LEFT OUTER JOIN C_ContractMaintain AS _PurchaseContractWD ON _PurchaseContractWD.PurchaseContract = PurchaseContract  -- association [1..1]
;