P_BOPFICA_GL_ITEM
FI-CA GL Item
P_BOPFICA_GL_ITEM is a Composite CDS View that provides data about "FI-CA GL Item" in SAP S/4HANA. It reads from 2 data sources (P_BOPFICA_BP_ITEM_2, I_CADocumentGLItem) and exposes 28 fields with key fields CompanyCode, FiscalYear, CADocumentNumber, CAGLItemNumber, CASubItemNumber.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_BOPFICA_BP_ITEM_2 | fica_itm_bp | from |
| I_CADocumentGLItem | fica_itm_gl | inner |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | FI-CA GL Item | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CADocumentGLItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | P_BOPFICA_BP_ITEM_2 | FiscalYear | G/L Fiscal Year |
| KEY | CADocumentNumber | P_BOPFICA_BP_ITEM_2 | CADocumentNumber | Document Number |
| KEY | CAGLItemNumber | |||
| KEY | CASubItemNumber | |||
| KEY | CABPItemNumber | |||
| KEY | BOPRptgCntry | P_BOPFICA_BP_ITEM_2 | BOPRptgCntry | Reporting Ctry/Reg. |
| KEY | BOPForm | P_BOPFICA_BP_ITEM_2 | BOPForm | Form |
| CompanyCodeCountry | P_BOPFICA_BP_ITEM_2 | CompanyCodeCountry | Reporting Ctry/Reg. | |
| CAPostingDate | P_BOPFICA_BP_ITEM_2 | CAPostingDate | Posting Date | |
| CAReversedDocumentNumber | P_BOPFICA_BP_ITEM_2 | CAReversedDocumentNumber | Rev. Doc. For | |
| CAReconciliationKey | P_BOPFICA_BP_ITEM_2 | CAReconciliationKey | Reconcil. Key | |
| ChartOfAccounts | I_CADocumentGLItem | ChartOfAccounts | Node Class | |
| GLAccount | I_CADocumentGLItem | GLAccount | General Ledger | |
| TaxCode | I_CADocumentGLItem | TaxCode | Tax Code | |
| CADocumentType | P_BOPFICA_BP_ITEM_2 | CADocumentType | Document Type | |
| CAAmountInTransactionCurrency | I_CADocumentGLItem | CAAmountInTransactionCurrency | Amount | |
| TransactionCurrency | I_CADocumentGLItem | TransactionCurrency | Transaction Currency | |
| CompanyCodeCurrency | P_BOPFICA_BP_ITEM_2 | CompanyCodeCurrency | Local Currency | |
| CAAmountInLocalCurrency | I_CADocumentGLItem | CAAmountInLocalCurrency | Local Crcy Amt | |
| CAClearingDate | P_BOPFICA_BP_ITEM_2 | CAClearingDate | Clearing | |
| CAClearingDocumentNumber | ||||
| CAReversalDocumentNumber | P_BOPFICA_BP_ITEM_2 | CAReversalDocumentNumber | Revers.document | |
| BusinessPartner | P_BOPFICA_BP_ITEM_2 | BusinessPartner | Issuing Authority | |
| BOPPartnerCntry | P_BOPFICA_BP_ITEM_2 | BOPPartnerCntry | Country/Reg. | |
| PartnerCompany | I_CADocumentGLItem | PartnerCompany | Trading Partner | |
| FinancialAccountType | ||||
| LedgerGroup | I_CADocumentGLItem | LedgerGroup | Ledger Group |
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_ITEM.
-- 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_ITEM AS
SELECT
fica_itm_gl.CompanyCode AS CompanyCode,
fica_itm_bp.FiscalYear AS FiscalYear,
fica_itm_bp.CADocumentNumber AS CADocumentNumber,
cast( fica_itm_gl.CAGLItemNumber as fica_gl_item) AS CAGLItemNumber,
cast( '' as fica_opupz) AS CASubItemNumber,
cast( '' as fica_opupk) AS CABPItemNumber,
fica_itm_bp.BOPRptgCntry AS BOPRptgCntry,
fica_itm_bp.BOPForm AS BOPForm,
fica_itm_bp.CompanyCodeCountry AS CompanyCodeCountry,
fica_itm_bp.CAPostingDate AS CAPostingDate,
fica_itm_bp.CAReversedDocumentNumber AS CAReversedDocumentNumber,
fica_itm_bp.CAReconciliationKey AS CAReconciliationKey,
fica_itm_gl.ChartOfAccounts AS ChartOfAccounts,
fica_itm_gl.GLAccount AS GLAccount,
fica_itm_gl.TaxCode AS TaxCode,
fica_itm_bp.CADocumentType AS CADocumentType,
fica_itm_gl.CAAmountInTransactionCurrency AS CAAmountInTransactionCurrency,
fica_itm_gl.TransactionCurrency AS TransactionCurrency,
fica_itm_bp.CompanyCodeCurrency AS CompanyCodeCurrency,
fica_itm_gl.CAAmountInLocalCurrency AS CAAmountInLocalCurrency,
fica_itm_bp.CAClearingDate AS CAClearingDate,
fica_itm_bp.CAReversalDocumentNumber AS CAReversalDocumentNumber,
fica_itm_bp.BusinessPartner AS BusinessPartner,
fica_itm_bp.BOPPartnerCntry AS BOPPartnerCntry,
fica_itm_gl.PartnerCompany AS PartnerCompany,
cast('S' as farp_koart ) AS FinancialAccountType,
fica_itm_gl.LedgerGroup AS LedgerGroup
FROM P_BOPFICA_BP_ITEM_2 AS fica_itm_bp
INNER JOIN I_CADocumentGLItem AS fica_itm_gl 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