P_WhereUsedAllocationContext

DDL: P_WHEREUSEDALLOCATIONCONTEXT Type: view_entity COMPOSITE

P_WhereUsedAllocationContext is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_AllocationContextType, I_AllocationInformation).

Data Sources (2)

SourceAliasJoin Type
I_AllocationContextType I_AllocationContextType union
I_AllocationInformation I_AllocationInformation from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #COMPOSITE view
VDM.private true view
@AbapCatalog.viewEnhancementCategory: [#NONE]

@AccessControl.authorizationCheck: #NOT_REQUIRED

@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #META

@VDM.viewType: #COMPOSITE
@VDM.private: true

define view entity P_WhereUsedAllocationContext
  as select from I_AllocationInformation
{
  key cast( AllocationType as fco_wucc_allocation_context preserving type ) as AllocationType 
}
where
  (
       AllocationFieldName =  'KOSTL'
    or AllocationFieldName =  'RCNTR'
  )
  and(
       SenderFieldGroup    <> ''
    or SenderFieldGroup    <> ''
  )

union select from I_AllocationContextType
{
  key cast( AllocationType as fco_wucc_allocation_context preserving type ) as AllocationType
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCATIONCONTEXTTYPE",
"I_ALLOCATIONINFORMATION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/