R_UnivAllocationCycleUpload
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)
| Source | Alias | Join Type |
|---|---|---|
| I_UnivAllocationCycleUpload | I_UnivAllocationCycleUpload | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA