P_BOPFICA_GL_RESULT

DDL: P_BOPFICA_GL_RESULT Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_BOPContractAccountFormRule fir inner
P_BOPFICA_GL_ITEM gl_item from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;