P_ProjectStockAcctSemanticTag

DDL: P_PROJECTSTOCKACCTSEMANTICTAG SQL: PRJCSTSEMTAGACC Type: view COMPOSITE

Project stock account semantic tag

P_ProjectStockAcctSemanticTag is a Composite CDS View that provides data about "Project stock account semantic tag" in SAP S/4HANA. It reads from 2 data sources (I_ControllingArea, R_ProjectSemTagGLAccount) and exposes 8 fields.

Data Sources (2)

SourceAliasJoin Type
I_ControllingArea _ContArea from
R_ProjectSemTagGLAccount _SemTagGL inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRJCSTSEMTAGACC view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
EndUserText.label Project stock account semantic tag view

Fields (8)

KeyFieldSource TableSource FieldDescription
ControllingArea I_ControllingArea ControllingArea
GLAccountHierarchy GLAccountHierarchy
SemanticTag R_ProjectSemTagGLAccount SemanticTag
ValidityEndDate ValidityEndDate
ValidityStartDate R_ProjectSemTagGLAccount ValidityStartDate
HierarchyNodeClass R_ProjectSemTagGLAccount HierarchyNodeClass
HierarchyNodeVal R_ProjectSemTagGLAccount HierarchyNodeVal
_Hierarchy _Hierarchy
@AbapCatalog.sqlViewName: 'PRJCSTSEMTAGACC'
@AbapCatalog.compiler.compareFilter:true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.dataClass: #MIXED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private:true
@EndUserText.label: 'Project stock account semantic tag'
define view P_ProjectStockAcctSemanticTag as select from I_ControllingArea        as _ContArea
    inner join   R_ProjectSemTagGLAccount as _SemTagGL on _ContArea.CtrlgStdFinStatementVersion = _SemTagGL.GLAccountHierarchy
{
  _ContArea.ControllingArea,
  @ObjectModel.foreignKey.association: '_Hierarchy'
  GLAccountHierarchy,
  _SemTagGL.SemanticTag,
  @Semantics.businessDate.to: true
  ValidityEndDate,
  @Semantics.businessDate.from: true
  _SemTagGL.ValidityStartDate,
  _SemTagGL.HierarchyNodeClass,
  _SemTagGL.HierarchyNodeVal,
  _Hierarchy
}

where
        _ContArea.CtrlgStdFinStatementVersion is not initial
  and(
        ValidityStartDate                     <= $session.system_date
    and ValidityEndDate                       >= $session.system_date
  ) and  _SemTagGL.SemanticTag = 'PRSLS_STCK'