I_AllocFieldDerivationUpload

DDL: I_ALLOCFIELDDERIVATIONUPLOAD SQL: ALLOFLDDERU Type: view BASIC

Allocation Field Derivation for Excel

I_AllocFieldDerivationUpload is a Basic CDS View that provides data about "Allocation Field Derivation for Excel" in SAP S/4HANA. It reads from 1 data source (alloderrulesxlsx) and exposes 13 fields with key fields UploadUUID, AllocationUploadRowUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
alloderrulesxlsx alloderrulesxlsx from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_AllocationFileUpload _Upload $projection.UploadUUID = _Upload.UploadUUID
[0..1] I_UploadErrorCount _ErrorCount $projection.UploadUUID = _ErrorCount.UploadUUID and $projection.RowIndex = _ErrorCount.RowIndex and _ErrorCount.AllocationTableName = 'FieldDerivation'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ALLOFLDDERU view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Allocation Field Derivation for Excel view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY UploadUUID alloderrulesxlsx upload_guid Upload GUID
KEY AllocationUploadRowUUID alloderrulesxlsx row_guid Row GUID
RowIndex alloderrulesxlsx row_index Row index
AllocationCycle alloderrulesxlsx allocationcycle Cycle
AllocationType alloderrulesxlsx allocationtype Table
Ledger alloderrulesxlsx ledger Ledger
AllocationCycleStartDate alloderrulesxlsx allocationcyclestartdate Valid From
AllocationFieldName alloderrulesxlsx allocationfieldname Field
AllocationFieldLabel alloderrulesxlsx allocationfieldlabel Long Text
AllocationFieldIsDerived alloderrulesxlsx allocationfieldisderived Derive Value
UploadedByUser _Upload UploadedByUser Uploaded By
UploadCreationDateTime _Upload UploadCreationDateTime Time Stamp
_ErrorCount _ErrorCount

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_AllocFieldDerivationUpload.
-- 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: ALLOFLDDERU

CREATE VIEW I_AllocFieldDerivationUpload AS
SELECT
  alloderrulesxlsx.upload_guid AS UploadUUID,
  alloderrulesxlsx.row_guid AS AllocationUploadRowUUID,
  alloderrulesxlsx.row_index AS RowIndex,
  alloderrulesxlsx.allocationcycle AS AllocationCycle,
  alloderrulesxlsx.allocationtype AS AllocationType,
  alloderrulesxlsx.ledger AS Ledger,
  alloderrulesxlsx.allocationcyclestartdate AS AllocationCycleStartDate,
  alloderrulesxlsx.allocationfieldname AS AllocationFieldName,
  alloderrulesxlsx.allocationfieldlabel AS AllocationFieldLabel,
  alloderrulesxlsx.allocationfieldisderived AS AllocationFieldIsDerived,
  _Upload.UploadedByUser AS UploadedByUser,
  _Upload.UploadCreationDateTime AS UploadCreationDateTime
FROM alloderrulesxlsx
LEFT OUTER JOIN I_AllocationFileUpload AS _Upload ON UploadUUID = _Upload.UploadUUID  -- association [0..1]
LEFT OUTER JOIN I_UploadErrorCount AS _ErrorCount ON UploadUUID = _ErrorCount.UploadUUID AND RowIndex = _ErrorCount.RowIndex AND _ErrorCount.AllocationTableName = 'FieldDerivation'  -- association [0..1]
;