I_AllocationSegmentUpload

DDL: I_ALLOCATIONSEGMENTUPLOAD SQL: ALLOSEGMENTUPLD Type: view BASIC Package: MANAGE_ALLOCATION_EXCEL

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)

SourceAliasJoin Type
allosegmentxlsx allosegmentxlsx 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 = 'segment'

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;