P_ProjectStockAcctSemanticTag
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ControllingArea | _ContArea | from |
| R_ProjectSemTagGLAccount | _SemTagGL | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA