I_FldLogsProcRetDocumentBasic

DDL: I_FLDLOGSPROCRETDOCUMENTBASIC Type: view_entity BASIC

Process Returned Item Documents

I_FldLogsProcRetDocumentBasic is a Basic CDS View that provides data about "Process Returned Item Documents" in SAP S/4HANA. It reads from 1 data source (flog_procret_doc) and exposes 7 fields with key field FldLogsReturnDocumentUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
flog_procret_doc flog_procret_doc from

Associations (1)

CardinalityTargetAliasCondition
[0..1] ekko _PODocument $projection.FldLogsReferenceDocumentNumber = _PODocument.ebeln

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Process Returned Item Documents view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY FldLogsReturnDocumentUUID fldlogsreturndocumentuuid Return Document UUID
FldLogsReturnItemUUID fldlogsreturnitemuuid Return Item UUID
FldLogsReturnHeaderUUID fldlogsreturnheaderuuid Return Header UUID
FldLogsReferenceDocumentNumber doc_id Reference Doc Number
FldLogsReferenceDocCategory doc_type VAT Document Type
IsEndOfPurposeBlocked _PODocument iseopblocked Business Usage Comp.
LastChangeDateTime changed_on Variant Changed on

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 I_FldLogsProcRetDocumentBasic.
-- 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 I_FldLogsProcRetDocumentBasic AS
SELECT
  FldLogsReturnDocumentUUID,
  FldLogsReturnItemUUID,
  FldLogsReturnHeaderUUID,
  doc_id AS FldLogsReferenceDocumentNumber,
  doc_type AS FldLogsReferenceDocCategory,
  _PODocument.iseopblocked AS IsEndOfPurposeBlocked,
  changed_on AS LastChangeDateTime
FROM flog_procret_doc
LEFT OUTER JOIN ekko AS _PODocument ON FldLogsReferenceDocumentNumber = _PODocument.ebeln  -- association [0..1]
;