I_ActualPlanStatKeyFigSemTag

DDL: I_ACTUALPLANSTATKEYFIGSEMTAG SQL: IFIACTPLNSEMTAG Type: view COMPOSITE Package: FINS_FIS_FICO

Semantic Tag with Statistical Key Figure

I_ActualPlanStatKeyFigSemTag (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_ActualPlanStatKeyFigSemTag is a Composite CDS View (Cube) that provides data about "Semantic Tag with Statistical Key Figure" in SAP S/4HANA. It reads from 1 data source (P_ACTPLNSTATKEYFIGITEMSEMTAG) and exposes 101 fields with key fields Ledger, CompanyCode, FiscalYear, FiscalPeriod, StatisticalKeyFigure. It has 26 associations to related views. Part of development package FINS_FIS_FICO.

SAP Help Documentation

CategoryCDS Views for Overhead Accounting
Data CategoryCube
Purpose
This CDS view is designed to provide a comprehensive analytical framework for financial planning and actuals data, specifically focusing on statistical key figures and their association with semantic tags. It integrates various financial dimensions such as ledger, company code, fiscal year, and period, along with statistical key figures and semantic tags, to enable detailed analysis and reporting. This CDS view provides the data to answer the following business questions: How do actual and planned financial figures compare across different fiscal periods and company codes? What are the statistical key figures associated with specific semantic tags, and how do they impact financial planning? How can financial data be analyzed in terms of cost centers, profit centers, and controlling areas? What is the distribution of financial amounts across different currencies and units of measure? How do financial planning categories and semantic tags correlate with actual financial outcomes? What are the detailed ledger and accounting document entries related to specific financial planning and statistical key figures? How can financial data be aggregated and analyzed using various dimensions such as GL account hierarchies and functional areas? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: Restriction Type ID Restriction Type A_B_ANLKL Asset Postings: Company Code/Asset Class BEGRU_BKPF_BEK Authorization Group for Supplier-Related Journal Entries BEGRU_BKPF_BED Authorization Group for Customer Related Journal Entries BUKRS_GLRLDNR_CATEGORY_P Company Code/Ledger/Category SEGMENT_GLRRCTY Segment for Segmental Reporting/Record Type BUKRS_GLRLDNR_GLRRCTY_GLRVERS Company Code/Ledger/Record Type/Version BUKRS_PRCTR_KSTAR Company Code/ Profit Center / Cost Element SALES_AREA_OFFICE_GROUP Sales Area / Sales Office / Sales Group BEGRU_BKPF_BLA Authorization Groups for Journal Entry Document Type KOART Account Type RESPAREA_IO_AUFART_AUTH_KSTAR Responsibility Area for Internal Orders COMPANYCODE_HIERARCHY Company Code Hierarchies BWKEY Valuation Area AUART Sales Document Type DATE Due Date for Authority Check KOSTL_KSTAR Cost Center/Cost Element FKBER Functional Area F_BKPF_ORD Order Category / Order Type for Journal Entries SALES_AREA Sales Area BUKRS Company Code BUKRS Company Code Users must have the following business catalogs assigned: SAP_FIN_BC_OH_REP_PLR_PC SAP_FIN_BC_OH_REP_GEN_PC

Structure
Important Fields Important fields in this view include the following: Field name Label Measure or Attribute Ledger Ledger Attribute CompanyCode Company Code Attribute FiscalYear Fiscal Year Attribute FiscalPeriod Fiscal Period Attribute StatisticalKeyFigure Statistical Key Figure Attribute SemanticTag Semantic Tag Attribute StatisticalKeyFigureItem Statistical Key Figure Item Attribute ValidityStartDate Valid From Attribute ValidityEndDate Valid From Attribute GLAccountHierarchy FSV Attribute LedgerGLLineItem Journal Entry Item Attribute FinancialPlanningReqTransSqnc FP Request TSN Attribute FinancialPlanningDataPacket FP Data Packet Attribute FinancialPlanningEntryItem FP Entry Item Measure SourceLedger Source Ledger Attribute AccountingDocument Journal Entry Attribute StatisticalKeyFigureCategory Stat. Key Fig. Cat. Attribute FunctionalArea Functional Area Attribute PartnerFunctionalArea Partner Func. Area Attribute PostingDate Posting Date Attribute CostCenter Cost Center Attribute ProfitCenter Profit Center Attribu

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-IS-2CL
CapabilitiesData Provider for Analytical Queries,Association Target for Defining CDS Entities
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view is designed to provide a comprehensive analytical framework for financial planning and actuals data, specifically focusing on statistical key figures and their association with semantic tags. It integrates various financial dimensions such as ledger, company code, fiscal year, and period, along with statistical key figures and semantic tags, to enable detailed analysis and reporting.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>How do actual and planned financial figures compare across different fiscal periods and company codes?</p></li> <li><p>What are the statistical key figures associated with specific semantic tags, and how do they impact financial planning?</p></li> <li><p>How can financial data be analyzed in terms of cost centers, profit centers, and controlling areas?</p></li> <li><p>What is the distribution of financial amounts across different currencies and units of measure?</p></li> <li><p>How do financial planning categories and semantic tags correlate with actual financial outcomes?</p></li> <li><p>What are the detailed ledger and accounting document entries related to specific financial planning and statistical key figures?</p></li> <li><p>How can financial data be aggregated and analyzed using various dimensions such as GL account hierarchies and functional areas?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_ACTPLNSTATKEYFIGITEMSEMTAG P_ACTPLNSTATKEYFIGITEMSEMTAG from

Associations (26)

CardinalityTargetAliasCondition
[1..1] E_JournalEntryItem _Extension_acdoca $projection.SourceLedger = _Extension_acdoca.SourceLedger and $projection.CompanyCode = _Extension_acdoca.CompanyCode and $projection.FiscalYear = _Extension_acdoca.FiscalYear and $projection.AccountingDocument = _Extension_acdoca.AccountingDocument and $projection.LedgerGLLineItem = _Extension_acdoca.LedgerGLLineItem
[1..1] E_FinancialPlanningEntryItem _Extension_acdocp $projection.FinancialPlanningReqTransSqnc = _Extension_acdocp.FinancialPlanningReqTransSqnc and $projection.FinancialPlanningDataPacket = _Extension_acdocp.FinancialPlanningDataPacket and $projection.FinancialPlanningEntryItem = _Extension_acdocp.FinancialPlanningEntryItem
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount
[1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.StatisticalKeyFigQtyUnit = _UnitOfMeasure.UnitOfMeasure
[0..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[1..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _FreeDefinedCurrency1 $projection.FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency
[0..1] I_PlanningCategory _PlanningCategory $projection.PlanningCategory = _PlanningCategory.PlanningCategory
[0..1] I_PlanningCategory _StatKeyFigurePlanningCategory $projection.StatKeyFigurePlanningCategory = _StatKeyFigurePlanningCategory.PlanningCategory
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_CostCenter _CostCenter $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter
[0..*] I_ProfitCenter _ProfitCenter $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter
[0..1] I_StatisticalKeyFigure _StatisticalKeyFigure $projection.ControllingArea = _StatisticalKeyFigure.ControllingArea and $projection.StatisticalKeyFigure = _StatisticalKeyFigure.StatisticalKeyFigure
[0..1] I_SemanticTag _SemanticTag $projection.SemanticTag = _SemanticTag.SemanticTag
[0..1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode
[0..1] I_FiscalYearPeriodForCmpnyCode _FiscalPeriod $projection.FiscalYear = _FiscalPeriod.FiscalYear and $projection.FiscalPeriod = _FiscalPeriod.FiscalPeriod and $projection.CompanyCode = _FiscalPeriod.CompanyCode
[0..*] I_GLAccountHierarchy _Hierarchy $projection.GLAccountHierarchy = _Hierarchy.GLAccountHierarchy association[0..1] to I_FinStatisticalKeyFigureItem as _FinStatisticalKeyFigureItem on $projection.Ledger = _FinStatisticalKeyFigureItem.Ledger and $projection.CompanyCode = _FinStatisticalKeyFigureItem.CompanyCode and $projection.FiscalYear = _FinStatisticalKeyFigureItem.FiscalYear and $projection.FiscalPeriod = _FinStatisticalKeyFigureItem.FiscalPeriod and $projection.StatisticalKeyFigureItem = _FinStatisticalKeyFigureItem.StatisticalKeyFigureItem and $projection.StatisticalKeyFigure = _FinStatisticalKeyFigureItem.StatisticalKeyFigure association[0..1] to I_ActlPlnLineItemSemTagGLAcct as _ActlPlnLineItemSemTagGLAcc on $projection.Ledger = _ActlPlnLineItemSemTagGLAcc.Ledger and $projection.CompanyCode = _ActlPlnLineItemSemTagGLAcc.CompanyCode and $projection.SourceLedger = _ActlPlnLineItemSemTagGLAcc.SourceLedger and $projection.FiscalYear = _ActlPlnLineItemSemTagGLAcc.FiscalYear and $projection.FiscalPeriod = _ActlPlnLineItemSemTagGLAcc.FiscalPeriod and $projection.AccountingDocument = _ActlPlnLineItemSemTagGLAcc.AccountingDocument and $projection.LedgerGLLineItem = _ActlPlnLineItemSemTagGLAcc.LedgerGLLineItem and $projection.FinancialPlanningReqTransSqnc = _ActlPlnLineItemSemTagGLAcc.FinancialPlanningReqTransSqnc and $projection.FinancialPlanningDataPacket = _ActlPlnLineItemSemTagGLAcc.FinancialPlanningDataPacket and $projection.FinancialPlanningEntryItem = _ActlPlnLineItemSemTagGLAcc.FinancialPlanningEntryItem and $projection.GLAccountHierarchy = _ActlPlnLineItemSemTagGLAcc.GLAccountHierarchy and $projection.SemanticTag = _ActlPlnLineItemSemTagGLAcc.SemanticTag and $projection.ValidityStartDate = _ActlPlnLineItemSemTagGLAcc.ValidityStartDate and $projection.ValidityEndDate = _ActlPlnLineItemSemTagGLAcc.ValidityEndDate
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_FunctionalArea _PartnerFunctionalArea $projection.PartnerFunctionalArea = _PartnerFunctionalArea.FunctionalArea association[0..1] to I_ProfitCenter as _CurrentProfitCenter on $projection.ControllingArea = _CurrentProfitCenter.ControllingArea and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter and _CurrentProfitCenter.ValidityStartDate <= $session.system_date and _CurrentProfitCenter.ValidityEndDate >= $session.system_date association[0..1] to I_CostCenter as _CurrentCostCenter on $projection.ControllingArea = _CurrentCostCenter.ControllingArea and $projection.CostCenter = _CurrentCostCenter.CostCenter and _CurrentCostCenter.ValidityStartDate <= $session.system_date and _CurrentCostCenter.ValidityEndDate >= $session.system_date
[0..1] I_SrvcDocByDocumentType _ServiceDocument $projection.ServiceDocumentType = _ServiceDocument.ServiceDocumentType and $projection.ServiceDocument = _ServiceDocument.ServiceDocument
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_AccountingDocumentType _AccountingDocumentType $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType association[0..1] to I_GLAccountInCompanyCode as _GLAccountInCompanyCode on $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount association[0..1] to I_Order as _Order on $projection.OrderID = _Order.OrderID association[0..1] to I_SalesDocument as _SalesDocument on $projection.SalesDocument = _SalesDocument.SalesDocument

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IFIACTPLNSEMTAG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #CUBE view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
Analytics.internalName #LOCAL view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Semantic Tag with Statistical Key Figure view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view

Fields (101)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY FiscalPeriod FiscalPeriod Fiscal Period
KEY StatisticalKeyFigure StatisticalKeyFigure Statistical Key Figure
KEY SemanticTag SemanticTag Semantic Tag of a Hierarchy Node
KEY StatisticalKeyFigureItem StatisticalKeyFigureItem Statistical Key Figure Item
KEY ValidityStartDate ValidityStartDate Validity Start Date
KEY ValidityEndDate ValidityEndDate Valid-From Date
KEY GLAccountHierarchy GLAccountHierarchy Financial Statement Version
KEY LedgerGLLineItem LedgerGLLineItem General Ledger Journal Entry Line Item
KEY FinancialPlanningReqTransSqnc FinancialPlanningReqTransSqnc Financial Planning Request Transaction Sequence Number
KEY FinancialPlanningDataPacket FinancialPlanningDataPacket Financial Planning Data Packet Number
KEY FinancialPlanningEntryItem FinancialPlanningEntryItem Financial Planning Entry Item
KEY SourceLedger SourceLedger Source Ledger
KEY AccountingDocument AccountingDocument Journal Entry
StatisticalKeyFigureCategory StatisticalKeyFigureCategory Statistical Key Figure Category
FunctionalArea FunctionalArea Sendr Fctl Area
PartnerFunctionalArea PartnerFunctionalArea Partner Functional Area
PostingDate PostingDate Posting Date for GR
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
StatKeyFigurePlanningCategory Statistical Key Figure Plan Category
FiscalYearPeriod FiscalYearPeriod Fiscal Year + Fiscal Period
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
PlanningCategory PlanningCategory Plan Category
ActualPlanCode ActualPlanCode Actual Plan Code
ActualPlanStatKeyFigureCode ActualPlanStatKeyFigureCode Actual Plan Code
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Amount in Company Code Currency
InvertedAmtInCoCodeCurrency InvertedAmtInCoCodeCurrency Inverted Amount in Company Code Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
InvertedAmountInGlobalCurrency InvertedAmountInGlobalCurrency Inverted Amount in Global Currency
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
StatisticalKeyFigQtyUnit StatisticalKeyFigQtyUnit Statistical Key Figure Quantity Unit
StatisticalKeyFigureQuantity StatisticalKeyFigureQuantity Statistical Key Figure Quantity
ProjectProfileCode ProjectProfileCode Project Profile
PartnerProjectProfileCode PartnerProjectProfileCode Project Profile
AccountingDocumentHeaderText AccountingDocumentHeaderText Document Header Text
SemanticTagGroup SemanticTagGroup Semantic Tag Group
CreationTime CreationTime Time of Change
CreationDate CreationDate Creation Date
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
PersonnelNumber PersonnelNumber Personnel Number
ChartOfAccounts ChartOfAccounts Chart of Accounts
GLAccount GLAccount General Ledger
AccountAssignment AccountAssignment Sender Acct Assgmt
AccountAssignmentType AccountAssignmentType Sndr AcctAssgmt Type
PartnerAccountAssignment PartnerAccountAssignment Partner Account Assignment
PartnerAccountAssignmentType PartnerAccountAssignmentType Partner Account Assignment Type
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_ChartOfAccounts _ChartOfAccounts
_CompanyCode _CompanyCode
_Ledger _Ledger
_UnitOfMeasure _UnitOfMeasure
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_PlanningCategory _PlanningCategory
_ControllingArea _ControllingArea
_CostCenter _CostCenter
_ProfitCenter _ProfitCenter
_StatisticalKeyFigure _StatisticalKeyFigure
_SemanticTag _SemanticTag
_FiscalYear _FiscalYear
_FiscalPeriod _FiscalPeriod
_StatKeyFigurePlanningCategory _StatKeyFigurePlanningCategory
_FreeDefinedCurrency1 _FreeDefinedCurrency1
_Hierarchy _Hierarchy
_FinStatisticalKeyFigureItem _FinStatisticalKeyFigureItem
_ActlPlnLineItemSemTagGLAcc _ActlPlnLineItemSemTagGLAcc
_FunctionalArea _FunctionalArea
_PartnerFunctionalArea _PartnerFunctionalArea
BusinessArea BusinessArea Business Area
Segment Segment Segment for Segmental Reporting
OrderID OrderID Order ID
ControllingBusTransacType ControllingBusTransacType FI-SL Business Transaction
SalesDocument SalesDocument Sales Order Number
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentType ServiceDocumentType Service Document Type
Supplier Supplier Supplier
Customer Customer Customer Number
AccountingDocumentType AccountingDocumentType Journal Entry Type
FinancialAccountType FinancialAccountType Fin. Account Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Organization Division
Plant Plant Valuation Area
AssetClass AssetClass Asset Class
ValuationArea ValuationArea Valuation Area
_GLAccountInCompanyCode _GLAccountInCompanyCode
_Order _Order
_SalesDocument _SalesDocument
_CurrentProfitCenter _CurrentProfitCenter
_CurrentCostCenter _CurrentCostCenter
_ServiceDocument _ServiceDocument
_Supplier _Supplier
_Customer _Customer
_AccountingDocumentType _AccountingDocumentType

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ActualPlanStatKeyFigSemTag.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IFIACTPLNSEMTAG

CREATE VIEW I_ActualPlanStatKeyFigSemTag AS
SELECT
  Ledger,
  CompanyCode,
  FiscalYear,
  FiscalPeriod,
  StatisticalKeyFigure,
  SemanticTag,
  StatisticalKeyFigureItem,
  ValidityStartDate,
  ValidityEndDate,
  GLAccountHierarchy,
  LedgerGLLineItem,
  FinancialPlanningReqTransSqnc,
  FinancialPlanningDataPacket,
  FinancialPlanningEntryItem,
  SourceLedger,
  AccountingDocument,
  StatisticalKeyFigureCategory,
  FunctionalArea,
  PartnerFunctionalArea,
  PostingDate,
  CostCenter,
  ProfitCenter,
  ControllingArea,
  cast (SKFPlanningCategory as fcom_skf_category) AS StatKeyFigurePlanningCategory,
  FiscalYearPeriod,
  FiscalYearVariant,
  PlanningCategory,
  ActualPlanCode,
  ActualPlanStatKeyFigureCode,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  InvertedAmtInCoCodeCurrency,
  GlobalCurrency,
  AmountInGlobalCurrency,
  InvertedAmountInGlobalCurrency,
  FreeDefinedCurrency1,
  AmountInFreeDefinedCurrency1,
  StatisticalKeyFigQtyUnit,
  StatisticalKeyFigureQuantity,
  ProjectProfileCode,
  PartnerProjectProfileCode,
  AccountingDocumentHeaderText,
  SemanticTagGroup,
  CreationTime,
  CreationDate,
  AccountingDocCreatedByUser,
  PersonnelNumber,
  ChartOfAccounts,
  GLAccount,
  AccountAssignment,
  AccountAssignmentType,
  PartnerAccountAssignment,
  PartnerAccountAssignmentType,
  BusinessArea,
  Segment,
  OrderID,
  ControllingBusTransacType,
  SalesDocument,
  ServiceDocument,
  ServiceDocumentType,
  Supplier,
  Customer,
  AccountingDocumentType,
  FinancialAccountType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  Plant,
  AssetClass,
  ValuationArea
FROM P_ACTPLNSTATKEYFIGITEMSEMTAG
LEFT OUTER JOIN E_JournalEntryItem AS _Extension_acdoca ON SourceLedger = _Extension_acdoca.SourceLedger AND CompanyCode = _Extension_acdoca.CompanyCode AND FiscalYear = _Extension_acdoca.FiscalYear AND AccountingDocument = _Extension_acdoca.AccountingDocument AND LedgerGLLineItem = _Extension_acdoca.LedgerGLLineItem  -- association [1..1]
LEFT OUTER JOIN E_FinancialPlanningEntryItem AS _Extension_acdocp ON FinancialPlanningReqTransSqnc = _Extension_acdocp.FinancialPlanningReqTransSqnc AND FinancialPlanningDataPacket = _Extension_acdocp.FinancialPlanningDataPacket AND FinancialPlanningEntryItem = _Extension_acdocp.FinancialPlanningEntryItem  -- association [1..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON StatisticalKeyFigQtyUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON GlobalCurrency = _GlobalCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency1 ON FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency  -- association [0..1]
LEFT OUTER JOIN I_PlanningCategory AS _PlanningCategory ON PlanningCategory = _PlanningCategory.PlanningCategory  -- association [0..1]
LEFT OUTER JOIN I_PlanningCategory AS _StatKeyFigurePlanningCategory ON StatKeyFigurePlanningCategory = _StatKeyFigurePlanningCategory.PlanningCategory  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter  -- association [0..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter  -- association [0..*]
LEFT OUTER JOIN I_StatisticalKeyFigure AS _StatisticalKeyFigure ON ControllingArea = _StatisticalKeyFigure.ControllingArea AND StatisticalKeyFigure = _StatisticalKeyFigure.StatisticalKeyFigure  -- association [0..1]
LEFT OUTER JOIN I_SemanticTag AS _SemanticTag ON SemanticTag = _SemanticTag.SemanticTag  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearPeriodForCmpnyCode AS _FiscalPeriod ON FiscalYear = _FiscalPeriod.FiscalYear AND FiscalPeriod = _FiscalPeriod.FiscalPeriod AND CompanyCode = _FiscalPeriod.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_GLAccountHierarchy AS _Hierarchy ON GLAccountHierarchy = _Hierarchy.GLAccountHierarchy association[0..1] to I_FinStatisticalKeyFigureItem as _FinStatisticalKeyFigureItem on Ledger = _FinStatisticalKeyFigureItem.Ledger AND CompanyCode = _FinStatisticalKeyFigureItem.CompanyCode AND FiscalYear = _FinStatisticalKeyFigureItem.FiscalYear AND FiscalPeriod = _FinStatisticalKeyFigureItem.FiscalPeriod AND StatisticalKeyFigureItem = _FinStatisticalKeyFigureItem.StatisticalKeyFigureItem AND StatisticalKeyFigure = _FinStatisticalKeyFigureItem.StatisticalKeyFigure association[0..1] to I_ActlPlnLineItemSemTagGLAcct as _ActlPlnLineItemSemTagGLAcc on Ledger = _ActlPlnLineItemSemTagGLAcc.Ledger AND CompanyCode = _ActlPlnLineItemSemTagGLAcc.CompanyCode AND SourceLedger = _ActlPlnLineItemSemTagGLAcc.SourceLedger AND FiscalYear = _ActlPlnLineItemSemTagGLAcc.FiscalYear AND FiscalPeriod = _ActlPlnLineItemSemTagGLAcc.FiscalPeriod AND AccountingDocument = _ActlPlnLineItemSemTagGLAcc.AccountingDocument AND LedgerGLLineItem = _ActlPlnLineItemSemTagGLAcc.LedgerGLLineItem AND FinancialPlanningReqTransSqnc = _ActlPlnLineItemSemTagGLAcc.FinancialPlanningReqTransSqnc AND FinancialPlanningDataPacket = _ActlPlnLineItemSemTagGLAcc.FinancialPlanningDataPacket AND FinancialPlanningEntryItem = _ActlPlnLineItemSemTagGLAcc.FinancialPlanningEntryItem AND GLAccountHierarchy = _ActlPlnLineItemSemTagGLAcc.GLAccountHierarchy AND SemanticTag = _ActlPlnLineItemSemTagGLAcc.SemanticTag AND ValidityStartDate = _ActlPlnLineItemSemTagGLAcc.ValidityStartDate AND ValidityEndDate = _ActlPlnLineItemSemTagGLAcc.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _PartnerFunctionalArea ON PartnerFunctionalArea = _PartnerFunctionalArea.FunctionalArea association[0..1] to I_ProfitCenter as _CurrentProfitCenter on ControllingArea = _CurrentProfitCenter.ControllingArea AND ProfitCenter = _CurrentProfitCenter.ProfitCenter AND _CurrentProfitCenter.ValidityStartDate <= $session.system_date AND _CurrentProfitCenter.ValidityEndDate >= $session.system_date association[0..1] to I_CostCenter as _CurrentCostCenter on ControllingArea = _CurrentCostCenter.ControllingArea AND CostCenter = _CurrentCostCenter.CostCenter AND _CurrentCostCenter.ValidityStartDate <= $session.system_date AND _CurrentCostCenter.ValidityEndDate >= $session.system_date  -- association [0..1]
LEFT OUTER JOIN I_SrvcDocByDocumentType AS _ServiceDocument ON ServiceDocumentType = _ServiceDocument.ServiceDocumentType AND ServiceDocument = _ServiceDocument.ServiceDocument  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType association[0..1] to I_GLAccountInCompanyCode as _GLAccountInCompanyCode on CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount association[0..1] to I_Order as _Order on OrderID = _Order.OrderID association[0..1] to I_SalesDocument as _SalesDocument on SalesDocument = _SalesDocument.SalesDocument  -- association [0..1]
;