P_PROJECTSTOCKACCTSEMANTICTAG

CDS View

Project stock account semantic tag

P_PROJECTSTOCKACCTSEMANTICTAG is a CDS View in S/4HANA. Project stock account semantic tag. It contains 2 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_ProjectStockCostLineItem view inner COMPOSITE Project Stock Cost line item

Fields (2)

KeyField CDS FieldsUsed in Views
GLAccountHierarchy GLAccountHierarchy 1
SemanticTag SemanticTag 1
@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' 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CONTROLLINGAREA",
"R_PROJECTSEMTAGGLACCOUNT"
],
"ASSOCIATED":
[
"I_GLACCOUNTHIERARCHY"
],
"BASE":
[
"R_PROJECTSEMTAGGLACCOUNT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/