C_Contractnotes

DDL: C_CONTRACTNOTES SQL: CCTRNOTES Type: view CONSUMPTION

Contract Header Notes

C_Contractnotes is a Consumption CDS View that provides data about "Contract Header Notes" in SAP S/4HANA. It reads from 1 data source (I_PurCtrNotesWD) and exposes 11 fields with key fields Language, DocumentText, TechnicalObjectType, ArchObjectNumber. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurCtrNotesWD Document from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_ContractMaintain _PurchaseContractWD _PurchaseContractWD.PurchaseContract = $projection.PurchaseContract

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CCTRNOTES view
VDM.viewType #CONSUMPTION view
EndUserText.label Contract Header Notes view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Language I_PurCtrNotesWD Language Report Text Language
KEY DocumentText I_PurCtrNotesWD DocumentText Text ID
KEY TechnicalObjectType I_PurCtrNotesWD TechnicalObjectType Text object
KEY ArchObjectNumber I_PurCtrNotesWD ArchObjectNumber Text Name
PurchaseContract I_PurCtrNotesWD PurchaseContract Purchasing Doc.
ArchObjectNumberForEdit I_PurCtrNotesWD ArchObjectNumberForEdit
TechnicalObjectTypeForEdit I_PurCtrNotesWD TechnicalObjectTypeForEdit Text object
DocumentTextForEdit I_PurCtrNotesWD DocumentTextForEdit Text ID
LanguageForEdit I_PurCtrNotesWD LanguageForEdit Original Language
NoteDescription I_PurCtrNotesWD NoteDescription Long Text
_PurchaseContractWD _PurchaseContractWD

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_Contractnotes.
-- 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: CCTRNOTES

CREATE VIEW C_Contractnotes AS
SELECT
  Document.Language AS Language,
  Document.DocumentText AS DocumentText,
  Document.TechnicalObjectType AS TechnicalObjectType,
  Document.ArchObjectNumber AS ArchObjectNumber,
  Document.PurchaseContract AS PurchaseContract,
  Document.ArchObjectNumberForEdit AS ArchObjectNumberForEdit,
  Document.TechnicalObjectTypeForEdit AS TechnicalObjectTypeForEdit,
  Document.DocumentTextForEdit AS DocumentTextForEdit,
  Document.LanguageForEdit AS LanguageForEdit,
  Document.NoteDescription AS NoteDescription
FROM I_PurCtrNotesWD AS Document
LEFT OUTER JOIN C_ContractMaintain AS _PurchaseContractWD ON _PurchaseContractWD.PurchaseContract = PurchaseContract  -- association [1..1]
;