I_AllocationSegmentUpload
Segment data from Alloc. Excel Upload
I_AllocationSegmentUpload is a Basic CDS View that provides data about "Segment data from Alloc. Excel Upload" in SAP S/4HANA. It reads from 1 data source (allosegmentxlsx) and exposes 31 fields with key fields UploadUUID, AllocationUploadRowUUID. It has 2 associations to related views. Part of development package MANAGE_ALLOCATION_EXCEL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| allosegmentxlsx | allosegmentxlsx | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 = 'segment' |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ALLOSEGMENTUPLD | 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 | Segment data from Alloc. Excel Upload | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UploadUUID | upload_guid | Upload GUID | |
| KEY | AllocationUploadRowUUID | row_guid | Row GUID | |
| RowIndex | row_index | Row index | ||
| AllocationCycle | allocationcycle | Cycle | ||
| AllocationType | allocationtype | Table | ||
| Ledger | ledger | Ledger | ||
| AllocationCycleStartDate | allocationcyclestartdate | Valid From | ||
| AllocationCycleSegment | allocationcyclesegment | Segment Number | ||
| SegmentName | segmentname | Segment Name | ||
| SegmentNameDescription | segmentnamedescription | Segment Description | ||
| AssessmentCostElement | assessmentcostelement | Overhead Allocation Account | ||
| AllocationStructure | allocationstructure | Alloc.Structure | ||
| AllocationCurrency | allocationcurrency | Currency | ||
| AllocationSenderRule | allocationsenderrule | Sender Rule | ||
| AllocSegmentShareInPercent | allocsegmentshareinpercent | Share in % | ||
| ManipulationRuleForCyclicMaint | manipulationruleforcyclicmaint | Manipulation Rule | ||
| AllocationReceiverRule | Receiver Rule | |||
| AllocationFieldGroup | allocationfieldgroup | Var. Portion Type | ||
| AllocScNgtvTracingFctr | allocscngtvtracingfctr | Scale Neg. Factors | ||
| PlanningCategory | planningcategory | Plan Category | ||
| UnitOfMeasure | unitofmeasure | Unit Protected Qty | ||
| StatisticalKeyFigure | Statistical Key Figure | |||
| AllocStatisticalKeyFigureGroup | allocstatisticalkeyfiguregroup | Stat. key fig. Group | ||
| ReceiverGLAccount | racct | GL Account From | ||
| ReceiverGeneralLedgerAccountTo | receivergeneralledgeraccountto | GL Account To | ||
| ReceiverGLAccountGroup | receiverglaccountgroup | GL Account Group | ||
| BalanceTransactionCurrency | rtcur | Currency | ||
| AllocationSegmentIsLocked | allocationsegmentislocked | Lock indicator | ||
| 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_AllocationSegmentUpload.
-- 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: ALLOSEGMENTUPLD
CREATE VIEW I_AllocationSegmentUpload AS
SELECT
upload_guid AS UploadUUID,
row_guid AS AllocationUploadRowUUID,
row_index AS RowIndex,
AllocationCycle,
AllocationType,
Ledger,
AllocationCycleStartDate,
AllocationCycleSegment,
SegmentName,
SegmentNameDescription,
AssessmentCostElement,
AllocationStructure,
AllocationCurrency,
AllocationSenderRule,
AllocSegmentShareInPercent,
ManipulationRuleForCyclicMaint,
cast( allocationreceiverrule as fco_rrule ) AS AllocationReceiverRule,
AllocationFieldGroup,
AllocScNgtvTracingFctr,
PlanningCategory,
UnitOfMeasure,
cast(stagr as fis_stagr) AS StatisticalKeyFigure,
AllocStatisticalKeyFigureGroup,
racct AS ReceiverGLAccount,
ReceiverGeneralLedgerAccountTo,
ReceiverGLAccountGroup,
rtcur AS BalanceTransactionCurrency,
AllocationSegmentIsLocked,
_Upload.UploadedByUser AS UploadedByUser,
_Upload.UploadCreationDateTime AS UploadCreationDateTime
FROM allosegmentxlsx
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 = 'segment' -- association [0..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