R_UnivAllocTagSgmtAssignmentTP
Tag to Segment Assignment
R_UnivAllocTagSgmtAssignmentTP is a Transactional CDS View that provides data about "Tag to Segment Assignment" in SAP S/4HANA. It reads from 1 data source (I_UnivAllocTagObjectAssignment) and exposes 12 fields with key fields AllocationTagID, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. It has 1 association to related views. Part of development package ODATA_MANAGE_ALLOCATION_V2_RAP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_UnivAllocTagObjectAssignment | I_UnivAllocTagObjectAssignment | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_UniversalAllocationCycleTP | _Cycle | $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Tag to Segment Assignment | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationTagID | AllocationTagID | ||
| KEY | AllocationType | AllocationType | ||
| KEY | AllocationCycle | AllocationCycle | ||
| KEY | AllocationCycleStartDate | AllocationCycleStartDate | ||
| KEY | AllocationCycleSegment | AllocationCycleSegment | ||
| AllocationTagCreatedByUser | AllocationTagCreatedByUser | |||
| CreationDateTime | CreationDateTime | |||
| AllocationTagChangedByUser | AllocationTagChangedByUser | |||
| LastChangeDateTime | LastChangeDateTime | |||
| AllocationTagIdentifierForEdit | AllocationTagID | |||
| _Segment | _Segment | |||
| _Cycle | _Cycle |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Tag to Segment Assignment'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #M,
dataClass: #CUSTOMIZING }
@VDM: { viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API }
define view entity R_UnivAllocTagSgmtAssignmentTP
as select from I_UnivAllocTagObjectAssignment
association to parent R_UniversalAllocationSegmentTP as _Segment on $projection.AllocationType = _Segment.AllocationType
and $projection.AllocationCycle = _Segment.AllocationCycle
and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate
and $projection.AllocationCycleSegment = _Segment.AllocationCycleSegment
association [1..1] to R_UniversalAllocationCycleTP as _Cycle on $projection.AllocationType = _Cycle.AllocationType
and $projection.AllocationCycle = _Cycle.AllocationCycle
and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
{
key AllocationTagID,
key AllocationType,
key AllocationCycle,
key AllocationCycleStartDate,
key AllocationCycleSegment,
AllocationTagCreatedByUser,
CreationDateTime,
AllocationTagChangedByUser,
LastChangeDateTime,
@ObjectModel.editableFieldFor: 'AllocationTagID'
AllocationTagID as AllocationTagIdentifierForEdit,
_Segment,
_Cycle
}
where
AllocationCycleSegment <> '0000'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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