R_UnivAllocationCycleUpload

DDL: R_UNIVALLOCATIONCYCLEUPLOAD Type: view_entity COMPOSITE Package: ODATA_MANAGE_ALLOCATION_V2_XLS

Cycle data from Allocation Excel upload

R_UnivAllocationCycleUpload is a Composite CDS View that provides data about "Cycle data from Allocation Excel upload" in SAP S/4HANA. It reads from 1 data source (I_UnivAllocationCycleUpload) and exposes 30 fields with key fields UploadUUID, AllocationUploadRowUUID. It has 8 associations to related views. Part of development package ODATA_MANAGE_ALLOCATION_V2_XLS.

Data Sources (1)

SourceAliasJoin Type
I_UnivAllocationCycleUpload I_UnivAllocationCycleUpload from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_UnivAllocationFileUpload _Upload $projection.UploadUUID = _Upload.UploadUUID
[0..1] I_AllocationContextType _Context $projection.AllocationType = _Context.AllocationType
[0..*] I_LedgerText _LedgerText $projection.Ledger = _LedgerText.Ledger
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_AllocationPostingTypeText _AllocationPostingTypeText _AllocationPostingTypeText.AllocationPostingType = $projection.AllocationPostingType
[1..1] I_AllocActualPlanVariant _ActualPlanVariant $projection.AllocationActualPlanVariant = _ActualPlanVariant.AllocationActualPlanVariant
[1] I_CycleRunGroup _CycleRunGroup $projection.AllocationType = _CycleRunGroup.AllocationType and $projection.Ledger = _CycleRunGroup.Ledger and $projection.AllocationPostingType = _CycleRunGroup.AllocationPostingType and $projection.AllocationActualPlanVariant = _CycleRunGroup.AllocationActualPlanVariant and $projection.AllocationCycleRunGroup = _CycleRunGroup.AllocationCycleRunGroup

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Cycle data from Allocation Excel upload view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY UploadUUID UploadUUID Upload GUID
KEY AllocationUploadRowUUID AllocationUploadRowUUID Row GUID
RowIndex RowIndex Row index
AllocationCycle AllocationCycle Cycle
AllocationCycleName AllocationCycleName Allocation Cycle
AllocationType AllocationType Table
Ledger Ledger Ledger
AllocationCycleStartDate AllocationCycleStartDate Valid From
AllocationCycleEndDate AllocationCycleEndDate Valid To
AllocationCycleDescription AllocationCycleDescription Cycle Description
CompanyCode CompanyCode Receiver Company Code
ControllingArea ControllingArea Controlling Area
AllocationPostingType AllocationPostingType Posting Type
AllocationActualPlanVariant AllocationActualPlanVariant Actual/Plan
AllocationCycleCategory AllocationCycleCategory Plan Category
AllocationCycleIsIterative AllocationCycleIsIterative Iteration
CycleIsParallelLedgerEnabled CycleIsParallelLedgerEnabled Flex. Ledger
AllocationIsCumulative AllocationIsCumulative Cumulative
AllocationIsVariableQuantity AllocationIsVariableQuantity Quantities
AllocationIsInTransactionCrcy AllocationIsInTransactionCrcy Trans. Currency
AllocationCycleRunGroup AllocationCycleRunGroup Cycle Run Group
UploadedByUser _Upload UploadedByUser Uploaded By
UploadCreationDateTime _Upload UploadCreationDateTime Time Stamp
_Context _Context
_LedgerText _LedgerText
_CompanyCode _CompanyCode
_AllocationPostingTypeText _AllocationPostingTypeText
_ActualPlanVariant _ActualPlanVariant
_CycleRunGroup _CycleRunGroup
_ControllingArea _ControllingArea

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_UnivAllocationCycleUpload.
-- 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_UnivAllocationCycleUpload AS
SELECT
  UploadUUID,
  AllocationUploadRowUUID,
  RowIndex,
  AllocationCycle,
  AllocationCycleName,
  AllocationType,
  Ledger,
  AllocationCycleStartDate,
  AllocationCycleEndDate,
  AllocationCycleDescription,
  CompanyCode,
  ControllingArea,
  AllocationPostingType,
  AllocationActualPlanVariant,
  AllocationCycleCategory,
  AllocationCycleIsIterative,
  CycleIsParallelLedgerEnabled,
  AllocationIsCumulative,
  AllocationIsVariableQuantity,
  AllocationIsInTransactionCrcy,
  AllocationCycleRunGroup,
  _Upload.UploadedByUser AS UploadedByUser,
  _Upload.UploadCreationDateTime AS UploadCreationDateTime
FROM I_UnivAllocationCycleUpload
LEFT OUTER JOIN I_UnivAllocationFileUpload AS _Upload ON UploadUUID = _Upload.UploadUUID  -- association [0..1]
LEFT OUTER JOIN I_AllocationContextType AS _Context ON AllocationType = _Context.AllocationType  -- association [0..1]
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_AllocationPostingTypeText AS _AllocationPostingTypeText ON _AllocationPostingTypeText.AllocationPostingType = AllocationPostingType  -- association [0..*]
LEFT OUTER JOIN I_AllocActualPlanVariant AS _ActualPlanVariant ON AllocationActualPlanVariant = _ActualPlanVariant.AllocationActualPlanVariant  -- association [1..1]
LEFT OUTER JOIN I_CycleRunGroup AS _CycleRunGroup ON AllocationType = _CycleRunGroup.AllocationType AND Ledger = _CycleRunGroup.Ledger AND AllocationPostingType = _CycleRunGroup.AllocationPostingType AND AllocationActualPlanVariant = _CycleRunGroup.AllocationActualPlanVariant AND AllocationCycleRunGroup = _CycleRunGroup.AllocationCycleRunGroup  -- association [1]
;