R_DisputeCaseNote

DDL: R_DISPUTECASENOTE Type: view COMPOSITE Package: ODATA_DISPUTE

Dispute Case Notes

R_DisputeCaseNote is a Composite CDS View that provides data about "Dispute Case Notes" in SAP S/4HANA. It reads from 1 data source (R_DisputeCase) and exposes 8 fields with key fields DisputeCaseUUID, ObjectKey. It has 2 associations to related views. Part of development package ODATA_DISPUTE.

Data Sources (1)

SourceAliasJoin Type
R_DisputeCase R_DisputeCase from

Associations (2)

CardinalityTargetAliasCondition
[0..1] Sgbt_Nte_Cds_Cont _NoteContent $projection.DisputeCaseUUID = _NoteContent.objectid
[0..1] R_DisputeCase _DisputeCase $projection.DisputeCaseUUID = _DisputeCase.DisputeCaseUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName RDSPCSNOTE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Dispute Case Notes view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.query.implementedBy ABAP:CL_DISPUTE_NOTE_QUERY view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY DisputeCaseUUID DisputeCaseUUID UUID
KEY ObjectKey
DocumentTitle
CreatedByUser
CreatedByUserDescription
CreationDateTime
NoteText _NoteContent content Trusted Site Content
_DisputeCase _DisputeCase

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 R_DisputeCaseNote.
-- 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 R_DisputeCaseNote AS
SELECT
  DisputeCaseUUID,
  cast ( '' as tdobname ) AS ObjectKey,
  cast( '' as sdok_titel ) AS DocumentTitle,
  cast( '' as tdfuser ) AS CreatedByUser,
  cast( '' as vdm_createdbyuserdescription ) AS CreatedByUserDescription,
  cast( 0 as udmo_create_time ) AS CreationDateTime,
  _NoteContent.content AS NoteText
FROM R_DisputeCase
LEFT OUTER JOIN Sgbt_Nte_Cds_Cont AS _NoteContent ON DisputeCaseUUID = _NoteContent.objectid  -- association [0..1]
LEFT OUTER JOIN R_DisputeCase AS _DisputeCase ON DisputeCaseUUID = _DisputeCase.DisputeCaseUUID  -- association [0..1]
;