C_AllocationFieldGroupVH

DDL: C_ALLOCATIONFIELDGROUPVH SQL: CALLOCFDGRVH Type: view CONSUMPTION

Allocation Field Group Value Help

C_AllocationFieldGroupVH is a Consumption CDS View that provides data about "Allocation Field Group Value Help" in SAP S/4HANA. It reads from 2 data sources (I_AllocationContextType, I_AllocationFieldGroup) and exposes 14 fields with key fields AllocationType, AllocationPostingType, AllocationActualPlanVariant, AllocationFieldGroup. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_AllocationContextType Context inner
I_AllocationFieldGroup I_AllocationFieldGroup from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_AllocationFieldGroupText _Text $projection.AllocationType = _Text.AllocationType and $projection.AllocationFieldGroup = _Text.AllocationFieldGroup and _Text.Language = $session.system_language
[0..*] I_AllocActualPlanVariantText _ActualPlanText $projection.AllocFldActlPlnVarValue = _ActualPlanText.AllocationActualPlanVariant
[0..1] C_AllocFieldGroupInformation _AllocFieldGroupInfo $projection.AllocationType = _AllocFieldGroupInfo.AllocationType and $projection.AllocationPostingType = _AllocFieldGroupInfo.AllocationPostingType and $projection.AllocationActualPlanVariant = _AllocFieldGroupInfo.AllocationActualPlanVariant and $projection.AllocationFieldGroup = _AllocFieldGroupInfo.AllocationFieldGroup
[0..*] C_AllocFldGrpExtnDataField _ExtnAllocFieldGroupInfo $projection.AllocationType = _ExtnAllocFieldGroupInfo.AllocationType and $projection.AllocationPostingType = _ExtnAllocFieldGroupInfo.AllocationPostingType and $projection.AllocationActualPlanVariant = _ExtnAllocFieldGroupInfo.AllocationActualPlanVariant

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CALLOCFDGRVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Allocation Field Group Value Help view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
ObjectModel.representativeKey AllocationFieldGroup view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY AllocationType I_AllocationFieldGroup AllocationType
KEY AllocationPostingType AllocationPostingType
KEY AllocationActualPlanVariant AllocationActualPlanVariant
KEY AllocationFieldGroup AllocationFieldGroup
AllocVariablePortingType AllocVariablePortingType
AllocFldActlPlnVarValue AllocFldActlPlnVarValue
CompanyCode
Ledger
TopDwnDistrTmplName
AllocFieldGroupRowText
AllocFieldGroupColumnText
AllocActualPlanVariantText
_AllocFieldGroupInfo _AllocFieldGroupInfo
_ExtnAllocFieldGroupInfo _ExtnAllocFieldGroupInfo
@AbapCatalog.sqlViewName: 'CALLOCFDGRVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Allocation Field Group Value Help'

@VDM.viewType: #CONSUMPTION

@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE
//@ObjectModel.dataCategory: #VALUE_HELP



@Search.searchable: true

@ObjectModel.representativeKey: 'AllocationFieldGroup'
define view C_AllocationFieldGroupVH
  as select from I_AllocationFieldGroup
    inner join   I_AllocationContextType as Context on Context.AllocationType = I_AllocationFieldGroup.AllocationType

  association [1..1] to I_AllocationFieldGroupText   as _Text                    on  $projection.AllocationType       = _Text.AllocationType
                                                                                 and $projection.AllocationFieldGroup = _Text.AllocationFieldGroup
                                                                                 and _Text.Language                   = $session.system_language

  association [0..*] to I_AllocActualPlanVariantText as _ActualPlanText          on  $projection.AllocFldActlPlnVarValue = _ActualPlanText.AllocationActualPlanVariant

  association [0..1] to C_AllocFieldGroupInformation as _AllocFieldGroupInfo     on  $projection.AllocationType              = _AllocFieldGroupInfo.AllocationType
                                                                                 and $projection.AllocationPostingType       = _AllocFieldGroupInfo.AllocationPostingType
                                                                                 and $projection.AllocationActualPlanVariant = _AllocFieldGroupInfo.AllocationActualPlanVariant
                                                                                 and $projection.AllocationFieldGroup        = _AllocFieldGroupInfo.AllocationFieldGroup

  association [0..*] to C_AllocFldGrpExtnDataField   as _ExtnAllocFieldGroupInfo on  $projection.AllocationType              = _ExtnAllocFieldGroupInfo.AllocationType
                                                                                 and $projection.AllocationPostingType       = _ExtnAllocFieldGroupInfo.AllocationPostingType
                                                                                 and $projection.AllocationActualPlanVariant = _ExtnAllocFieldGroupInfo.AllocationActualPlanVariant

{
//      @UI.hidden: true

  key I_AllocationFieldGroup.AllocationType,
//      @UI.hidden: true

  key AllocationPostingType,
//      @UI.hidden: true

  key AllocationActualPlanVariant,
      @ObjectModel.text.element: ['AllocFieldGroupRowText']
      @Consumption.labelElement: 'AllocFieldGroupRowText'
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.6 }
  key AllocationFieldGroup,
      AllocVariablePortingType,
      @ObjectModel.text.element: ['AllocActualPlanVariantText']
      @Consumption.labelElement: 'AllocActualPlanVariantText'
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_AllocActlPlnVarVH', element: 'AllocFldActlPlnVarValue'  } } ]
      AllocFldActlPlnVarValue,

      cast('' as fis_bukrs)          as CompanyCode,

      cast('' as fis_rldnr)          as Ledger,

      cast('' as fco_alloc_template) as TopDwnDistrTmplName,

      //    AllocVariablePortingType,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
      _Text[1:Language = $session.system_language].AllocFieldGroupRowText,
      //@UI.hidden: true

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
      _Text[1:Language = $session.system_language].AllocFieldGroupColumnText,

      @ObjectModel.readOnly: true
      _ActualPlanText[1:Language = $session.system_language].AllocActualPlanVariantText,

      @Consumption.filter.hidden: true
      @UI.selectionField: [{exclude: true}]  
      _AllocFieldGroupInfo,
      @Consumption.filter.hidden: true
      @UI.selectionField: [{exclude: true}]
      _ExtnAllocFieldGroupInfo
}
//where _Text.Language = $session.system_language

//where AllocationType = 'ACDOCA'

where
     AllocVariablePortingType is not null
  or AllocVariablePortingType <> '999'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCACTUALPLANVARIANTTEXT",
"I_ALLOCATIONCONTEXTTYPE",
"I_ALLOCATIONFIELDGROUP",
"I_ALLOCATIONFIELDGROUPTEXT"
],
"ASSOCIATED":
[
"C_ALLOCFIELDGROUPINFORMATION",
"C_ALLOCFLDGRPEXTNDATAFIELD",
"I_ALLOCACTUALPLANVARIANTTEXT",
"I_ALLOCATIONFIELDGROUPTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/