P_FR_BOPECO10

DDL: P_FR_BOPECO10 SQL: PFRBOPECO10 Type: view CONSUMPTION

P_FR_BOPECO10 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_BOPRblsPyblsItmToFormItemC) and exposes 42 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem, BOPRptgCntry.

Data Sources (1)

SourceAliasJoin Type
I_BOPRblsPyblsItmToFormItemC I_BOPRblsPyblsItmToFormItemC from

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PFRBOPECO10 view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
KEY BOPRptgCntry BOPRptgCntry Reporting Ctry/Reg.
KEY BOPForm BOPForm Form
KEY BOPFormItem BOPFormItem Form Item
KEY BOPPartnerCntry BOPPartnerCntry Country/Reg.
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY CADocument CADocument CA Document No.
KEY CASubItemNumber CASubItemNumber Subitem
KEY CABPItemNumber CABPItemNumber Item
KEY CARepetitionItemNumber I_BOPRblsPyblsItmToFormItemC CARepetitionItemNumber Repetition Item
KEY CAItemIsOffsetting I_BOPRblsPyblsItmToFormItemC CAItemIsOffsetting CA Item Offset.
KEY CAItemIsDoubtful I_BOPRblsPyblsItmToFormItemC CAItemIsDoubtful CA Item Doubt.
KEY CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
KEY PostingDate PostingDate Posting Date for GR
CAReconciliationKey CAReconciliationKey Reconcil. Key
BusinessPartner BusinessPartner Issuing Authority
CADocumentType CADocumentType Document Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency
ChartOfAccounts ChartOfAccounts Node Class
GLAccount GLAccount General Ledger
TaxCode TaxCode Tax Code
AccountingDocumentType AccountingDocumentType Journal Entry Type
SpecialGLCode SpecialGLCode Special G/L Ind
DebitCreditCode DebitCreditCode Single-Character Flag
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
ClearingDate ClearingDate Clearing Date
ClearingJournalEntry ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
CAClearingAccountingDocument CAClearingAccountingDocument Clearing Doc.
FinancialAccountType FinancialAccountType Fin. Account Type
Customer Customer Sold-to Party
Supplier Supplier Supplier
OffsettingAccountType OffsettingAccountType Offset Acct Type
OffsettingAccount OffsettingAccount Offsetting Acct
PartnerCompany 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_FR_BOPECO10.
-- 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: PFRBOPECO10
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_FR_BOPECO10 AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  AccountingDocumentItem,
  BOPRptgCntry,
  BOPForm,
  BOPFormItem,
  BOPPartnerCntry,
  StatryRptCategory,
  StatryRptgEntity,
  StatryRptRunID,
  CADocument,
  CASubItemNumber,
  CABPItemNumber,
  I_BOPRblsPyblsItmToFormItemC.CARepetitionItemNumber AS CARepetitionItemNumber,
  I_BOPRblsPyblsItmToFormItemC.CAItemIsOffsetting AS CAItemIsOffsetting,
  I_BOPRblsPyblsItmToFormItemC.CAItemIsDoubtful AS CAItemIsDoubtful,
  CompanyCodeCountry,
  PostingDate,
  CAReconciliationKey,
  BusinessPartner,
  CADocumentType,
  CompanyCodeCurrency,
  ChartOfAccounts,
  GLAccount,
  TaxCode,
  AccountingDocumentType,
  SpecialGLCode,
  DebitCreditCode,
  TransactionCurrency,
  AmountInTransactionCurrency,
  AmountInCompanyCodeCurrency,
  ClearingDate,
  ClearingJournalEntry,
  ClearingJournalEntryFiscalYear,
  CAClearingAccountingDocument,
  FinancialAccountType,
  Customer,
  Supplier,
  OffsettingAccountType,
  OffsettingAccount,
  PartnerCompany
FROM I_BOPRblsPyblsItmToFormItemC
;