P_DistinctAllocPostingType

DDL: P_DISTINCTALLOCPOSTINGTYPE SQL: ALOPOSTYPDIST Type: view CONSUMPTION

P_DistinctAllocPostingType is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (C_AllocationContextVH) and exposes 2 fields with key field AllocationPostingType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
C_AllocationContextVH _AllocContext inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_AllocationPostingType _AllocPostingType _AllocPostingType.AllocationPostingType = _DistinctValues.AllocationPostingType

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName ALOPOSTYPDIST view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY AllocationPostingType _AllocPostingType AllocationPostingType
AllocationPostingTypeText
@AbapCatalog.sqlViewName: 'ALOPOSTYPDIST'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
//@EndUserText.label: 'Distinct Allocation Posting Type'

@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_DistinctAllocPostingType as  
  select distinct from P_AllocationFieldGroupDistc as _DistinctValues

    inner join         C_AllocationContextVH       as _AllocContext on _DistinctValues.AllocationType = _AllocContext.AllocationType

  association [1..1] to I_AllocationPostingType as _AllocPostingType on _AllocPostingType.AllocationPostingType = _DistinctValues.AllocationPostingType

{
      @ObjectModel.text.element: ['AllocationPostingTypeText']
  key _AllocPostingType.AllocationPostingType as AllocationPostingType, 
      _AllocPostingType._Text[1:Language = $session.system_language].AllocationPostingTypeText     
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_ALLOCATIONCONTEXTVH",
"I_ALLOCATIONPOSTINGTYPE",
"I_ALLOCATIONPOSTINGTYPETEXT",
"P_ALLOCATIONFIELDGROUPDISTC"
],
"ASSOCIATED":
[
"I_ALLOCATIONPOSTINGTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/