P_BOPFICA_GL_RESULT
FI-CA GL Result
P_BOPFICA_GL_RESULT is a Composite CDS View that provides data about "FI-CA GL Result" in SAP S/4HANA. It reads from 2 data sources (I_BOPContractAccountFormRule, P_BOPFICA_GL_ITEM) and exposes 32 fields with key fields CompanyCode, CADocumentNumber, FiscalYear, CAGLItemNumber, BOPRptgCntry.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BOPContractAccountFormRule | fir | inner |
| P_BOPFICA_GL_ITEM | gl_item | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | FI-CA GL Result | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.private | true | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_BOPFICA_GL_ITEM | CompanyCode | Receiver Company Code |
| KEY | CADocumentNumber | P_BOPFICA_GL_ITEM | CADocumentNumber | Document Number |
| KEY | FiscalYear | P_BOPFICA_GL_ITEM | FiscalYear | G/L Fiscal Year |
| KEY | CAGLItemNumber | P_BOPFICA_GL_ITEM | CAGLItemNumber | Item |
| KEY | BOPRptgCntry | P_BOPFICA_GL_ITEM | BOPRptgCntry | Reporting Ctry/Reg. |
| KEY | BOPForm | P_BOPFICA_GL_ITEM | BOPForm | Form |
| KEY | BOPFormItem | I_BOPContractAccountFormRule | BOPFormItem | Form Item |
| KEY | StatryRptCategory | log | StatryRptCategory | Report ID |
| KEY | StatryRptgEntity | log | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptRunID | log | StatryRptRunID | Report Run ID |
| CAReconciliationKey | P_BOPFICA_GL_ITEM | CAReconciliationKey | Reconcil. Key | |
| SpecialGLCode | ||||
| CompanyCodeCountry | P_BOPFICA_GL_ITEM | CompanyCodeCountry | Reporting Ctry/Reg. | |
| BOPPartnerCntry | P_BOPFICA_GL_ITEM | BOPPartnerCntry | Country/Reg. | |
| FinancialAccountType | P_BOPFICA_GL_ITEM | FinancialAccountType | Fin. Account Type | |
| PostingDate | P_BOPFICA_GL_ITEM | CAPostingDate | Posting Date | |
| ChartOfAccounts | P_BOPFICA_GL_ITEM | ChartOfAccounts | Node Class | |
| GLAccount | P_BOPFICA_GL_ITEM | GLAccount | General Ledger | |
| TaxCode | P_BOPFICA_GL_ITEM | TaxCode | Tax Code | |
| CADocumentType | P_BOPFICA_GL_ITEM | CADocumentType | Document Type | |
| AccountingDocument | ||||
| AccountingDocumentType | ||||
| TransactionCurrency | P_BOPFICA_GL_ITEM | TransactionCurrency | Transaction Currency | |
| AmountInTransactionCurrency | P_BOPFICA_GL_ITEM | CAAmountInTransactionCurrency | Amount | |
| CompanyCodeCurrency | P_BOPFICA_GL_ITEM | CompanyCodeCurrency | Local Currency | |
| AmountInCompanyCodeCurrency | P_BOPFICA_GL_ITEM | CAAmountInLocalCurrency | Local Crcy Amt | |
| ClearingDate | P_BOPFICA_GL_ITEM | CAClearingDate | Clearing | |
| CAClearingAccountingDocument | P_BOPFICA_GL_ITEM | CAClearingDocumentNumber | Clearing Doc. | |
| BusinessPartner | P_BOPFICA_GL_ITEM | BusinessPartner | Issuing Authority | |
| ImportExportFinancialAccType | ||||
| OffsettingAccountType | P_BOPFICA_GL_ITEM | FinancialAccountType | Fin. Account Type | |
| PartnerCompany | P_BOPFICA_GL_ITEM | PartnerCompany | Trading Partner |
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_BOPFICA_GL_RESULT.
-- 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_BOPFICA_GL_RESULT AS
SELECT
gl_item.CompanyCode AS CompanyCode,
gl_item.CADocumentNumber AS CADocumentNumber,
gl_item.FiscalYear AS FiscalYear,
gl_item.CAGLItemNumber AS CAGLItemNumber,
gl_item.BOPRptgCntry AS BOPRptgCntry,
gl_item.BOPForm AS BOPForm,
fir.BOPFormItem AS BOPFormItem,
log.StatryRptCategory AS StatryRptCategory,
log.StatryRptgEntity AS StatryRptgEntity,
log.StatryRptRunID AS StatryRptRunID,
gl_item.CAReconciliationKey AS CAReconciliationKey,
cast('' as umskz) AS SpecialGLCode,
gl_item.CompanyCodeCountry AS CompanyCodeCountry,
gl_item.BOPPartnerCntry AS BOPPartnerCntry,
gl_item.FinancialAccountType AS FinancialAccountType,
gl_item.CAPostingDate AS PostingDate,
gl_item.ChartOfAccounts AS ChartOfAccounts,
gl_item.GLAccount AS GLAccount,
gl_item.TaxCode AS TaxCode,
gl_item.CADocumentType AS CADocumentType,
cast('' as belnr_d) AS AccountingDocument,
cast('' as blart) AS AccountingDocumentType,
gl_item.TransactionCurrency AS TransactionCurrency,
gl_item.CAAmountInTransactionCurrency AS AmountInTransactionCurrency,
gl_item.CompanyCodeCurrency AS CompanyCodeCurrency,
gl_item.CAAmountInLocalCurrency AS AmountInCompanyCodeCurrency,
gl_item.CAClearingDate AS ClearingDate,
gl_item.CAClearingDocumentNumber AS CAClearingAccountingDocument,
gl_item.BusinessPartner AS BusinessPartner,
cast( 'D' as farp_koart ) AS ImportExportFinancialAccType,
gl_item.FinancialAccountType AS OffsettingAccountType,
gl_item.PartnerCompany AS PartnerCompany
FROM P_BOPFICA_GL_ITEM AS gl_item
INNER JOIN I_BOPContractAccountFormRule AS fir ON /* join condition not captured in parsed metadata */
;
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