P_GetBudgetSemanticTag
Fetches Budget Semantic Tag
P_GetBudgetSemanticTag is a Composite CDS View that provides data about "Fetches Budget Semantic Tag" in SAP S/4HANA. It reads from 1 data source (R_ProjectSemTagGLAccount) and exposes 6 fields with key fields ProjectInternalID, SemanticTag. Part of development package ODATA_PS_COS_PROJBDGT_DET.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ProjectSemTagGLAccount | _FSVItem | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGETBDGTTAG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectInternalID | _ParTag | ProjectInternalID | |
| KEY | SemanticTag | R_ProjectSemTagGLAccount | SemanticTag | |
| NodeValue | R_ProjectSemTagGLAccount | HierarchyNode | ||
| SemanticTagIsBudgetRelevant | _ParTag | SemanticTagIsBudgetRelevant | ||
| FinancialStatementVariant | R_ProjectSemTagGLAccount | GLAccountHierarchy | ||
| ProjectIsBudgetRelevant | _ParTag | ProjectIsBudgetRelevant |
@AbapCatalog.sqlViewName: 'PGETBDGTTAG'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MIXED
//@EndUserText.label: 'Fetches Budget Semantic Tag'
define view P_GetBudgetSemanticTag
//CE2308: Begin of change: Inclusion of Global Hierarchy
//as select from I_FSItemBySemanticTag as _FSVItem //P_SemTagFAGL2HRRP
as select from R_ProjectSemTagGLAccount as _FSVItem //P_SemTagFAGL2HRRP
//CE2308: End of change: Inclusion of Global Hierarchy
association to P_GetParSemanticTagForProj as _ParTag on $projection.SemanticTag = _ParTag.ParentSemanticTag
{
key _ParTag.ProjectInternalID,
key _FSVItem.SemanticTag as SemanticTag,
_FSVItem.HierarchyNode as NodeValue,
_ParTag.SemanticTagIsBudgetRelevant,
//CE2308: Begin of change: Inclusion of Global Hierarchy
// _FSVItem.FinancialStatementVariant,
_FSVItem.GLAccountHierarchy as FinancialStatementVariant,
//CE2308: End of change: Inclusion of Global Hierarchy
_ParTag.ProjectIsBudgetRelevant
}
where _ParTag.SemanticTagIsBudgetRelevant = 'X'
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