P_AccrEngnRptgSimlnActlUnion
Accrual Engine Simulation and Actual Cost Comparison - Union
P_AccrEngnRptgSimlnActlUnion is a Composite CDS View that provides data about "Accrual Engine Simulation and Actual Cost Comparison - Union" in SAP S/4HANA. It reads from 2 data sources (I_AccrEngnAccrPostingEntryItem, I_AccrEngnAccrSimlnEntryItem) and exposes 200 fields with key fields SourceLedger, CompanyCode, FiscalYear, JournalEntry, LedgerGLLineItem. It has 2 associations to related views. Part of development package FI_GL_ACCRUALS_REPORTING.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AccrEngnAccrPostingEntryItem | I_AccrEngnAccrPostingEntryItem | from |
| I_AccrEngnAccrSimlnEntryItem | I_AccrEngnAccrSimlnEntryItem | union_all |
Associations (2)
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (200)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | JournalEntry | JournalEntry | ||
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | FinancialPlanningReqTransSqnc | Request TSN | ||
| KEY | FinancialPlanningDataPacket | Data packet number | ||
| KEY | FinancialPlanningEntryItem | |||
| PlanningCategory | Plan Category | |||
| AccrualEngineAccrualObjectType | AccrualEngineAccrualObjectType | Component | ||
| AccrualObjectLogicalSystem | AccrualObjectLogicalSystem | Logical System | ||
| AccrualObject | AccrualObject | External Reference of Accrual Object | ||
| AccrualSubobject | AccrualSubobject | External Reference of Accrual Subobject | ||
| AccrualItemType | AccrualItemType | Accrual Item Type | ||
| AccrualReferenceObject | AccrualReferenceObject | Acr. Reference ID | ||
| AccrualValueDate | AccrualValueDate | |||
| AccrualTransactionType | AccrualTransactionType | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| PostdAccrAmtInTransCurrency | PostdAccrAmtInTransCurrency | |||
| PostdAccrAmtInCoCodeCrcy | PostdAccrAmtInCoCodeCrcy | |||
| PostdAccrAmtInGlobalCurrency | PostdAccrAmtInGlobalCurrency | |||
| SmltdAccrAmtInTransCrcy | ||||
| SmltdAccrAmtInCoCodeCrcy | ||||
| SmltdAccrAmtInGlobCrcy | ||||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDateTime | CreationDateTime | |||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | |||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| ReferenceDocumentContext | ReferenceDocumentContext | Reference Document Context | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| DocumentItemText | DocumentItemText | Text | ||
| BusinessArea | BusinessArea | Business Area | ||
| Product | Product | Product Sold | ||
| GLAccount | GLAccount | General Ledger | ||
| OffsettingAccount | OffsettingAccount | Offsetting Acct | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| OffsettingChartOfAccounts | OffsettingChartOfAccounts | Offsetting Chart of Accounts | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| OrderID | OrderID | Order ID | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| ProjectExternalID | ProjectExternalID | Project def. | ||
| WorkPackage | WorkPackage | Plan Item | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| Segment | Segment | Segment number | ||
| Customer | Customer | Sold-to Party | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| _SourceLedger | _SourceLedger | |||
| _Ledger | _Ledger | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _AccrTransactionType | _AccrTransactionType | |||
| _AccrObjectType | _AccrObjectType | |||
| _AccrLogicalSystem | _AccrLogicalSystem | |||
| _AccrItemType | _AccrItemType | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _GlobalCurrency | _GlobalCurrency | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _FiscalYearPeriodForVariant | _FiscalYearPeriodForVariant | |||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _BusinessTransactionType | _BusinessTransactionType | |||
| _SubLedgerAccLineItemType | _SubLedgerAccLineItemType | |||
| _FunctionalArea | _FunctionalArea | |||
| _ControllingArea | _ControllingArea | |||
| _BusinessArea | _BusinessArea | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _OffstgGLAcctInChartOfAccounts | _OffstgGLAcctInChartOfAccounts | |||
| _OffsettingChartOfAccounts | _OffsettingChartOfAccounts | |||
| _CostCenter | _CostCenter | |||
| _ProfitCenter | _ProfitCenter | |||
| _Segment | _Segment | |||
| _SalesDocument | _SalesDocument | |||
| _SalesDocumentItem | _SalesDocumentItem | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _ProjectBasicData | _ProjectBasicData | |||
| _WBSElementByExternalID | _WBSElementByExternalID | |||
| _ProjectByExternalID | _ProjectByExternalID | |||
| _FinancialTransactionType | _FinancialTransactionType | |||
| _Order | _Order | |||
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | JournalEntry | |||
| KEY | LedgerGLLineItem | Journal Entry Item | ||
| KEY | Ledger | Ledger | Ledger | |
| KEY | FinancialPlanningReqTransSqnc | FinancialPlanningReqTransSqnc | Request TSN | |
| KEY | FinancialPlanningDataPacket | FinancialPlanningDataPacket | Data packet number | |
| KEY | FinancialPlanningEntryItem | FinancialPlanningEntryItem | ||
| PlanningCategory | PlanningCategory | Plan Category | ||
| AccrualEngineAccrualObjectType | AccrualEngineAccrualObjectType | Component | ||
| AccrualObjectLogicalSystem | AccrualObjectLogicalSystem | Logical System | ||
| AccrualObject | AccrualObject | External Reference of Accrual Object | ||
| AccrualSubobject | AccrualSubobject | External Reference of Accrual Subobject | ||
| AccrualItemType | AccrualItemType | Accrual Item Type | ||
| AccrualReferenceObject | AccrualReferenceObject | Acr. Reference ID | ||
| AccrualValueDate | AccrualValueDate | |||
| AccrualTransactionType | AccrualTransactionType | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| PostdAccrAmtInTransCurrency | ||||
| PostdAccrAmtInCoCodeCrcy | ||||
| PostdAccrAmtInGlobalCurrency | ||||
| SmltdAccrAmtInTransCrcy | SmltdAccrAmtInTransCrcy | |||
| SmltdAccrAmtInCoCodeCrcy | SmltdAccrAmtInCoCodeCrcy | |||
| SmltdAccrAmtInGlobCrcy | SmltdAccrAmtInGlobCrcy | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDateTime | ||||
| AccountingDocCreatedByUser | ||||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| ReferenceDocumentContext | ReferenceDocumentContext | Reference Document Context | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| DocumentItemText | DocumentItemText | Text | ||
| BusinessArea | BusinessArea | Business Area | ||
| Product | Product | Product Sold | ||
| GLAccount | GLAccount | General Ledger | ||
| OffsettingAccount | OffsettingAccount | Offsetting Acct | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| OffsettingChartOfAccounts | OffsettingChartOfAccounts | Offsetting Chart of Accounts | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| OrderID | OrderID | Order ID | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| ProjectExternalID | ProjectExternalID | Project def. | ||
| WorkPackage | WorkPackage | Plan Item | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| Segment | Segment | Segment number | ||
| Customer | Customer | Sold-to Party | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| _SourceLedger | _SourceLedger | |||
| _Ledger | _Ledger | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _AccrTransactionType | _AccrTransactionType | |||
| _AccrObjectType | _AccrObjectType | |||
| _AccrLogicalSystem | _AccrLogicalSystem | |||
| _AccrItemType | _AccrItemType | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _GlobalCurrency | _GlobalCurrency | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _FiscalYearPeriodForVariant | _FiscalYearPeriodForVariant | |||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _BusinessTransactionType | _BusinessTransactionType | |||
| _SubLedgerAccLineItemType | _SubLedgerAccLineItemType | |||
| _FunctionalArea | _FunctionalArea | |||
| _ControllingArea | _ControllingArea | |||
| _BusinessArea | _BusinessArea | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _OffstgGLAcctInChartOfAccounts | _OffstgGLAcctInChartOfAccounts | |||
| _OffsettingChartOfAccounts | _OffsettingChartOfAccounts | |||
| _CostCenter | _CostCenter | |||
| _ProfitCenter | _ProfitCenter | |||
| _Segment | _Segment | |||
| _SalesDocument | _SalesDocument | |||
| _SalesDocumentItem | _SalesDocumentItem | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _ProjectBasicData | _ProjectBasicData | |||
| _WBSElementByExternalID | _WBSElementByExternalID | |||
| _ProjectByExternalID | _ProjectByExternalID | |||
| _FinancialTransactionType | _FinancialTransactionType | |||
| _Order | _Order | |||
| _ServiceDocument | _ServiceDocument |
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 P_AccrEngnRptgSimlnActlUnion.
-- 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.
CREATE VIEW P_AccrEngnRptgSimlnActlUnion AS
SELECT
SourceLedger,
CompanyCode,
FiscalYear,
JournalEntry,
LedgerGLLineItem,
Ledger,
cast ( abap.numc'00000000000000000000000' as fis_fp_request_tsn preserving type ) AS FinancialPlanningReqTransSqnc,
cast (abap.numc'000000' as rsdatapid preserving type ) AS FinancialPlanningDataPacket,
cast (abap.int1'0' as rsarecord ) AS FinancialPlanningEntryItem,
cast( abap.char' ' as fcom_category ) AS PlanningCategory,
AccrualEngineAccrualObjectType,
AccrualObjectLogicalSystem,
AccrualObject,
AccrualSubobject,
AccrualItemType,
AccrualReferenceObject,
AccrualValueDate,
AccrualTransactionType,
TransactionCurrency,
CompanyCodeCurrency,
GlobalCurrency,
PostdAccrAmtInTransCurrency,
PostdAccrAmtInCoCodeCrcy,
PostdAccrAmtInGlobalCurrency,
cast(abap.curr'0.00' as ace_smltd_accr_amnt_wcurr ) AS SmltdAccrAmtInTransCrcy,
cast(abap.curr'0.00' as ace_smltd_accr_amnt_hcurr ) AS SmltdAccrAmtInCoCodeCrcy,
cast(abap.curr'0.00' as ace_smltd_accr_amnt_kcurr ) AS SmltdAccrAmtInGlobCrcy,
FiscalYearVariant,
FiscalPeriod,
FiscalYearPeriod,
LedgerFiscalYear,
PostingDate,
CreationDateTime,
AccountingDocCreatedByUser,
BusinessTransactionType,
ReferenceDocumentType,
ReferenceDocumentContext,
ReferenceDocument,
FinancialTransactionType,
SubLedgerAcctLineItemType,
FunctionalArea,
ControllingArea,
DocumentItemText,
BusinessArea,
Product,
GLAccount,
OffsettingAccount,
ChartOfAccounts,
OffsettingChartOfAccounts,
CostCenter,
ProfitCenter,
SalesDocument,
SalesDocumentItem,
OrderID,
WBSElementInternalID,
WBSElementExternalID,
ProjectInternalID,
ProjectExternalID,
WorkPackage,
ProjectNetwork,
ServiceDocument,
ServiceDocumentType,
Segment,
Customer,
AssignmentReference
FROM I_AccrEngnAccrPostingEntryItem
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _SourceLedger ON SourceLedger = _SourceLedger.Ledger -- association [0..1]
-- UNION ALL with additional select branch(es): I_AccrEngnAccrSimlnEntryItem
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA