P_AllocationSegmentStatusText
Allocation Segment Stattus Text
P_AllocationSegmentStatusText is a Consumption CDS View that provides data about "Allocation Segment Stattus Text" in SAP S/4HANA. It reads from 1 data source (I_AllocationStatus) and exposes 2 fields with key field AllocationStatus. Part of development package ODATA_MANAGE_ALLOCATION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationStatus | I_AllocationStatus | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PALOSESTTE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationStatus | AllocationStatus | ||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'PALOSESTTE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_AllocationSegmentStatusText
as select from I_AllocationStatus
{
//I_AllocationStatus
key AllocationStatus,
key cast(case when AllocationStatus = 'L'
then 'X'
else ' ' end as active preserving type) as AllocationSegmentIsLocked,
/* Associations */
//I_AllocationStatus
cast ( case when AllocationStatus = 'L'
then 1 //red
else 3 //green
end as eve_tv_criticality ) as CriticalityCode,
_Text
}
where
AllocationStatus = 'L'
or AllocationStatus = 'A'
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