P_BOPRevnCostItemToFormItemU

DDL: P_BOPREVNCOSTITEMTOFORMITEMU Type: view_entity COMPOSITE Package: GLO_FIN_IS_BOP_GEN

BOP: Revenue/Cost Item Union

P_BOPRevnCostItemToFormItemU is a Composite CDS View that provides data about "BOP: Revenue/Cost Item Union" in SAP S/4HANA. It reads from 3 data sources (P_BOPFICA_GL_RESULT, P_BOPRevnCostItemToFormItem10, P_BOPRevnCostItemToFormItem25) and exposes 124 fields with key fields Ledger, SourceLedger, CompanyCode, AccountingDocument, FiscalYear. Part of development package GLO_FIN_IS_BOP_GEN.

Data Sources (3)

SourceAliasJoin Type
P_BOPFICA_GL_RESULT P_BOPFICA_GL_RESULT union_all
P_BOPRevnCostItemToFormItem10 P_BOPRevnCostItemToFormItem10 from
P_BOPRevnCostItemToFormItem25 P_BOPRevnCostItemToFormItem25 union_all

Annotations (4)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (124)

KeyFieldSource TableSource FieldDescription
KEY Ledger P_BOPRevnCostItemToFormItem10 Ledger Ledger
KEY SourceLedger P_BOPRevnCostItemToFormItem10 SourceLedger Source Ledger
KEY CompanyCode P_BOPRevnCostItemToFormItem10 CompanyCode Receiver Company Code
KEY AccountingDocument P_BOPRevnCostItemToFormItem10 AccountingDocument Journal Entry
KEY FiscalYear P_BOPRevnCostItemToFormItem10 FiscalYear G/L Fiscal Year
KEY LedgerGLLineItem P_BOPRevnCostItemToFormItem10 LedgerGLLineItem Journal Entry Item
KEY CADocument Document Number
KEY CAGLItemNumber Item
KEY BOPForm P_BOPRevnCostItemToFormItem10 BOPForm Form
KEY BOPRptgCntry P_BOPRevnCostItemToFormItem10 BOPRptgCntry Reporting Ctry/Reg.
KEY BOPFormItem P_BOPRevnCostItemToFormItem10 BOPFormItem Form Item
KEY CompanyCodeCountry P_BOPRevnCostItemToFormItem10 CompanyCodeCountry Reporting Ctry/Reg.
KEY StatryRptgEntity P_BOPRevnCostItemToFormItem10 StatryRptgEntity Reporting Entity
KEY StatryRptCategory P_BOPRevnCostItemToFormItem10 StatryRptCategory Report ID
KEY StatryRptRunID P_BOPRevnCostItemToFormItem10 StatryRptRunID Report Run ID
AccountingDocumentItem P_BOPRevnCostItemToFormItem10 AccountingDocumentItem Posting View Item
CAReconciliationKey Reconcil. Key
BusinessPartner Issuing Authority
PostingDate P_BOPRevnCostItemToFormItem10 PostingDate Posting Date for GR
ClearingDate P_BOPRevnCostItemToFormItem10 ClearingDate Clearing Date
ChartOfAccounts P_BOPRevnCostItemToFormItem10 ChartOfAccounts Node Class
GLAccount P_BOPRevnCostItemToFormItem10 GLAccount General Ledger
TaxCode P_BOPRevnCostItemToFormItem10 TaxCode Tax Code
AccountingDocumentType P_BOPRevnCostItemToFormItem10 AccountingDocumentType Journal Entry Type
IsEUTriangularDeal P_BOPRevnCostItemToFormItem10 IsEUTriangularDeal Is EU Triangular Deal
SpecialGLCode P_BOPRevnCostItemToFormItem10 SpecialGLCode Special G/L Ind
DebitCreditCode P_BOPRevnCostItemToFormItem10 DebitCreditCode Single-Character Flag
TransactionCurrency P_BOPRevnCostItemToFormItem10 TransactionCurrency Transaction Currency
AmountInTransactionCurrency P_BOPRevnCostItemToFormItem10 AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency P_BOPRevnCostItemToFormItem10 CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency P_BOPRevnCostItemToFormItem10 AmountInCompanyCodeCurrency Local Crcy Amt
ClearingJournalEntry P_BOPRevnCostItemToFormItem10 ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear P_BOPRevnCostItemToFormItem10 ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
CAClearingAccountingDocument Clearing Doc.
FinancialAccountType P_BOPRevnCostItemToFormItem10 FinancialAccountType Fin. Account Type
ImportExportFinancialAccType P_BOPRevnCostItemToFormItem10 ImportExportFinancialAccType
OffsettingAccountType P_BOPRevnCostItemToFormItem10 OffsettingAccountType Offset Acct Type
OffsettingAccount P_BOPRevnCostItemToFormItem10 OffsettingAccount Offsetting Acct
PartnerCompany P_BOPRevnCostItemToFormItem10 PartnerCompany Trading Partner
Customer P_BOPRevnCostItemToFormItem10 Customer Sold-to Party
Supplier P_BOPRevnCostItemToFormItem10 Supplier Supplier
Ledger Ledger
KEY SourceLedger P_BOPRevnCostItemToFormItem25 SourceLedger Source Ledger
KEY CompanyCode P_BOPRevnCostItemToFormItem25 CompanyCode Receiver Company Code
KEY AccountingDocument P_BOPRevnCostItemToFormItem25 AccountingDocument Journal Entry
KEY FiscalYear P_BOPRevnCostItemToFormItem25 FiscalYear G/L Fiscal Year
KEY LedgerGLLineItem P_BOPRevnCostItemToFormItem25 LedgerGLLineItem Journal Entry Item
KEY CADocument Document Number
KEY CAGLItemNumber Item
KEY BOPForm P_BOPRevnCostItemToFormItem25 BOPForm Form
KEY BOPRptgCntry P_BOPRevnCostItemToFormItem25 BOPRptgCntry Reporting Ctry/Reg.
KEY BOPFormItem P_BOPRevnCostItemToFormItem25 BOPFormItem Form Item
KEY CompanyCodeCountry P_BOPRevnCostItemToFormItem25 CompanyCodeCountry Reporting Ctry/Reg.
KEY StatryRptgEntity P_BOPRevnCostItemToFormItem25 StatryRptgEntity Reporting Entity
KEY StatryRptCategory P_BOPRevnCostItemToFormItem25 StatryRptCategory Report ID
KEY StatryRptRunID P_BOPRevnCostItemToFormItem25 StatryRptRunID Report Run ID
AccountingDocumentItem P_BOPRevnCostItemToFormItem25 AccountingDocumentItem Posting View Item
CAReconciliationKey Reconcil. Key
BusinessPartner Issuing Authority
PostingDate P_BOPRevnCostItemToFormItem25 PostingDate Posting Date for GR
ClearingDate P_BOPRevnCostItemToFormItem25 ClearingDate Clearing Date
ChartOfAccounts P_BOPRevnCostItemToFormItem25 ChartOfAccounts Node Class
GLAccount P_BOPRevnCostItemToFormItem25 GLAccount General Ledger
TaxCode P_BOPRevnCostItemToFormItem25 TaxCode Tax Code
AccountingDocumentType P_BOPRevnCostItemToFormItem25 AccountingDocumentType Journal Entry Type
IsEUTriangularDeal P_BOPRevnCostItemToFormItem25 IsEUTriangularDeal Is EU Triangular Deal
SpecialGLCode P_BOPRevnCostItemToFormItem25 SpecialGLCode Special G/L Ind
DebitCreditCode P_BOPRevnCostItemToFormItem25 DebitCreditCode Single-Character Flag
TransactionCurrency P_BOPRevnCostItemToFormItem25 TransactionCurrency Transaction Currency
AmountInTransactionCurrency P_BOPRevnCostItemToFormItem25 AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency P_BOPRevnCostItemToFormItem25 CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency P_BOPRevnCostItemToFormItem25 AmountInCompanyCodeCurrency Local Crcy Amt
ClearingJournalEntry P_BOPRevnCostItemToFormItem25 ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear P_BOPRevnCostItemToFormItem25 ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
CAClearingAccountingDocument Clearing Doc.
FinancialAccountType P_BOPRevnCostItemToFormItem25 FinancialAccountType Fin. Account Type
ImportExportFinancialAccType P_BOPRevnCostItemToFormItem25 ImportExportFinancialAccType
OffsettingAccountType P_BOPRevnCostItemToFormItem25 OffsettingAccountType Offset Acct Type
OffsettingAccount P_BOPRevnCostItemToFormItem25 OffsettingAccount Offsetting Acct
PartnerCompany P_BOPRevnCostItemToFormItem25 PartnerCompany Trading Partner
Customer P_BOPRevnCostItemToFormItem25 Customer Sold-to Party
Supplier P_BOPRevnCostItemToFormItem25 Supplier Supplier
KEY SourceLedger Source Ledger
KEY CompanyCode P_BOPFICA_GL_RESULT CompanyCode Receiver Company Code
KEY AccountingDocument P_BOPFICA_GL_RESULT AccountingDocument Journal Entry
KEY FiscalYear P_BOPFICA_GL_RESULT FiscalYear G/L Fiscal Year
KEY LedgerGLLineItem Journal Entry Item
KEY CADocument P_BOPFICA_GL_RESULT CADocumentNumber Document Number
KEY CAGLItemNumber P_BOPFICA_GL_RESULT CAGLItemNumber Item
KEY BOPForm P_BOPFICA_GL_RESULT BOPForm Form
KEY BOPRptgCntry P_BOPFICA_GL_RESULT BOPRptgCntry Reporting Ctry/Reg.
KEY BOPFormItem P_BOPFICA_GL_RESULT BOPFormItem Form Item
KEY CompanyCodeCountry P_BOPFICA_GL_RESULT CompanyCodeCountry Reporting Ctry/Reg.
KEY StatryRptgEntity P_BOPFICA_GL_RESULT StatryRptgEntity Reporting Entity
KEY StatryRptCategory P_BOPFICA_GL_RESULT StatryRptCategory Report ID
KEY StatryRptRunID P_BOPFICA_GL_RESULT StatryRptRunID Report Run ID
AccountingDocumentItem Posting View Item
CAReconciliationKey P_BOPFICA_GL_RESULT CAReconciliationKey Reconcil. Key
BusinessPartner P_BOPFICA_GL_RESULT BusinessPartner Issuing Authority
CADocumentType P_BOPFICA_GL_RESULT CADocumentType Document Type
PostingDate P_BOPFICA_GL_RESULT PostingDate Posting Date for GR
ClearingDate P_BOPFICA_GL_RESULT ClearingDate Clearing Date
ChartOfAccounts P_BOPFICA_GL_RESULT ChartOfAccounts Node Class
GLAccount P_BOPFICA_GL_RESULT GLAccount General Ledger
TaxCode P_BOPFICA_GL_RESULT TaxCode Tax Code
AccountingDocumentType P_BOPFICA_GL_RESULT AccountingDocumentType Journal Entry Type
IsEUTriangularDeal Is EU Triangular Deal
SpecialGLCode P_BOPFICA_GL_RESULT SpecialGLCode Special G/L Ind
DebitCreditCode P_BOPFICA_GL_RESULT DebitCreditCode Single-Character Flag
TransactionCurrency P_BOPFICA_GL_RESULT TransactionCurrency Transaction Currency
AmountInTransactionCurrency P_BOPFICA_GL_RESULT AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency P_BOPFICA_GL_RESULT CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency P_BOPFICA_GL_RESULT AmountInCompanyCodeCurrency Local Crcy Amt
ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
CAClearingAccountingDocument P_BOPFICA_GL_RESULT CAClearingAccountingDocument Clearing Doc.
FinancialAccountType P_BOPFICA_GL_RESULT FinancialAccountType Fin. Account Type
ImportExportFinancialAccType ImportExportFinancialAccType
OffsettingAccountType P_BOPFICA_GL_RESULT OffsettingAccountType Offset Acct Type
OffsettingAccount Offsetting Acct
PartnerCompany P_BOPFICA_GL_RESULT PartnerCompany Trading Partner
Customer Sold-to Party
Supplier Supplier
BOPPartnerCntry P_BOPFICA_GL_RESULT BOPPartnerCntry Country/Reg.

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_BOPRevnCostItemToFormItemU.
-- 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_BOPRevnCostItemToFormItemU AS
SELECT
  P_BOPRevnCostItemToFormItem10.Ledger AS Ledger,
  P_BOPRevnCostItemToFormItem10.SourceLedger AS SourceLedger,
  P_BOPRevnCostItemToFormItem10.CompanyCode AS CompanyCode,
  P_BOPRevnCostItemToFormItem10.AccountingDocument AS AccountingDocument,
  P_BOPRevnCostItemToFormItem10.FiscalYear AS FiscalYear,
  P_BOPRevnCostItemToFormItem10.LedgerGLLineItem AS LedgerGLLineItem,
  cast( '' as fica_opbel ) AS CADocument,
  cast( '0000' as fica_gl_item preserving type ) AS CAGLItemNumber,
  P_BOPRevnCostItemToFormItem10.BOPForm AS BOPForm,
  P_BOPRevnCostItemToFormItem10.BOPRptgCntry AS BOPRptgCntry,
  P_BOPRevnCostItemToFormItem10.BOPFormItem AS BOPFormItem,
  P_BOPRevnCostItemToFormItem10.CompanyCodeCountry AS CompanyCodeCountry,
  P_BOPRevnCostItemToFormItem10.StatryRptgEntity AS StatryRptgEntity,
  P_BOPRevnCostItemToFormItem10.StatryRptCategory AS StatryRptCategory,
  P_BOPRevnCostItemToFormItem10.StatryRptRunID AS StatryRptRunID,
  P_BOPRevnCostItemToFormItem10.AccountingDocumentItem AS AccountingDocumentItem,
  cast( '' as fikey_kk ) AS CAReconciliationKey,
  cast( '' as bu_partner ) AS BusinessPartner,
  P_BOPRevnCostItemToFormItem10.PostingDate AS PostingDate,
  P_BOPRevnCostItemToFormItem10.ClearingDate AS ClearingDate,
  P_BOPRevnCostItemToFormItem10.ChartOfAccounts AS ChartOfAccounts,
  P_BOPRevnCostItemToFormItem10.GLAccount AS GLAccount,
  P_BOPRevnCostItemToFormItem10.TaxCode AS TaxCode,
  P_BOPRevnCostItemToFormItem10.AccountingDocumentType AS AccountingDocumentType,
  P_BOPRevnCostItemToFormItem10.IsEUTriangularDeal AS IsEUTriangularDeal,
  P_BOPRevnCostItemToFormItem10.SpecialGLCode AS SpecialGLCode,
  P_BOPRevnCostItemToFormItem10.DebitCreditCode AS DebitCreditCode,
  P_BOPRevnCostItemToFormItem10.TransactionCurrency AS TransactionCurrency,
  P_BOPRevnCostItemToFormItem10.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  P_BOPRevnCostItemToFormItem10.CompanyCodeCurrency AS CompanyCodeCurrency,
  P_BOPRevnCostItemToFormItem10.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  P_BOPRevnCostItemToFormItem10.ClearingJournalEntry AS ClearingJournalEntry,
  P_BOPRevnCostItemToFormItem10.ClearingJournalEntryFiscalYear AS ClearingJournalEntryFiscalYear,
  cast( '' as augbl_kk ) AS CAClearingAccountingDocument,
  P_BOPRevnCostItemToFormItem10.FinancialAccountType AS FinancialAccountType,
  P_BOPRevnCostItemToFormItem10.ImportExportFinancialAccType AS ImportExportFinancialAccType,
  P_BOPRevnCostItemToFormItem10.OffsettingAccountType AS OffsettingAccountType,
  P_BOPRevnCostItemToFormItem10.OffsettingAccount AS OffsettingAccount,
  P_BOPRevnCostItemToFormItem10.PartnerCompany AS PartnerCompany,
  P_BOPRevnCostItemToFormItem10.Customer AS Customer,
  P_BOPRevnCostItemToFormItem10.Supplier AS Supplier,
  P_BOPFICA_GL_RESULT.CADocumentType AS CADocumentType,
  P_BOPFICA_GL_RESULT.BOPPartnerCntry AS BOPPartnerCntry
FROM P_BOPRevnCostItemToFormItem10
-- UNION ALL with additional select branch(es): P_BOPRevnCostItemToFormItem25, P_BOPFICA_GL_RESULT
;