P_TASK_CATEGORY

DDL: P_TASK_CATEGORY SQL: PTASKCATE Type: view BASIC

P_TASK_CATEGORY is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, CnsldtnTaskType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PTASKCATE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #AUTOMATED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY CnsldtnTaskType domvalue_l
CnsldtnTaskTypeT ddtext
_Language _Language
@AbapCatalog.sqlViewName: 'PTASKCATE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED 
@ClientHandling.algorithm: #AUTOMATED
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@Metadata.ignorePropagatedAnnotations: true
@VDM.private: true 
@VDM.viewType: #BASIC
define view P_TASK_CATEGORY as select from dd07t
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language
  key cast(ddlanguage as spras)      as Language,
  key domvalue_l                as CnsldtnTaskType,
      @Semantics.text    
      ddtext                    as CnsldtnTaskTypeT,
      _Language
      
      

}
where
// for more refernces see FC00_C_CACTT

      domname  = 'FC_CACTT'
      //1 data collection

  and as4local = 'A' and domvalue_l = '02' 
     or domname  = 'FC_CACTT'
      //2 validation of reported financial data

  and as4local = 'A' and domvalue_l = '03'
    or domname  = 'FC_CACTT'
      //3 manual posting

  and as4local = 'A' and domvalue_l = '04'
       or domname  = 'FC_CACTT'
      //4 currency translation

  and as4local = 'A' and domvalue_l = '05'  
       or domname  = 'FC_CACTT'
      //5 validation of standard financial data

  and as4local = 'A' and domvalue_l = '06'
       or domname  = 'FC_CACTT'
      //6 reclasssification

  and as4local = 'A' and domvalue_l = '50'
       or domname  = 'FC_CACTT'
      //7 validation of consolidation values

  and as4local = 'A' and domvalue_l = '70'
       or domname  = 'FC_CACTT'
      //8 validation of consolidation values

  and as4local = 'A' and domvalue_l = '0B'
      or domname  = 'FC_CACTT'
      //9 release of uni journal

  and as4local = 'A' and domvalue_l = '0D'
  ;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/