P_RlvtMaterialDocRecord_F4674

DDL: P_RLVTMATERIALDOCRECORD_F4674 SQL: PRELMATDOCF4674 Type: view COMPOSITE

P_RlvtMaterialDocRecord_F4674 is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (P_MonthToDateOfYstd_F4674, I_MaterialDocumentRecord, I_RetailStoreUserAssignment, P_StorePOSMovementTypes_F4674) and exposes 6 fields with key fields MaterialDocumentYear, MaterialDocument, MaterialDocumentItem.

Data Sources (4)

SourceAliasJoin Type
P_MonthToDateOfYstd_F4674 Dates cross
I_MaterialDocumentRecord MatDocItem inner
I_RetailStoreUserAssignment StoreAssignment from
P_StorePOSMovementTypes_F4674 StoreMovementTypes inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRELMATDOCF4674 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocument MaterialDocument Material Doc.
KEY MaterialDocumentItem MaterialDocumentItem Material Document Item
Store Plant Valuation Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PostingDate PostingDate Posting Date for GR

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 P_RlvtMaterialDocRecord_F4674.
-- 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: PRELMATDOCF4674

CREATE VIEW P_RlvtMaterialDocRecord_F4674 AS
SELECT
  MaterialDocumentYear,
  MaterialDocument,
  MaterialDocumentItem,
  Plant AS Store,
  CompanyCodeCurrency,
  PostingDate
FROM I_RetailStoreUserAssignment AS StoreAssignment
CROSS JOIN P_MonthToDateOfYstd_F4674 AS Dates
INNER JOIN P_StorePOSMovementTypes_F4674 AS StoreMovementTypes ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaterialDocumentRecord AS MatDocItem ON /* join condition not captured in parsed metadata */
;