P_BOPRevnCostItemToFormItem20

DDL: P_BOPREVNCOSTITEMTOFORMITEM20 Type: view_entity COMPOSITE

P_BOPRevnCostItemToFormItem20 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_BOPRevnCostItemToFormItem00) and exposes 42 fields with key fields Ledger, SourceLedger, CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
P_BOPRevnCostItemToFormItem00 P_BOPRevnCostItemToFormItem00 from

Annotations (3)

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

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY Ledger P_BOPRevnCostItemToFormItem00 Ledger Ledger
KEY SourceLedger P_BOPRevnCostItemToFormItem00 SourceLedger Source Ledger
KEY CompanyCode P_BOPRevnCostItemToFormItem00 CompanyCode Receiver Company Code
KEY AccountingDocument P_BOPRevnCostItemToFormItem00 AccountingDocument Journal Entry
KEY FiscalYear P_BOPRevnCostItemToFormItem00 FiscalYear G/L Fiscal Year
KEY LedgerGLLineItem P_BOPRevnCostItemToFormItem00 LedgerGLLineItem Journal Entry Item
KEY BOPForm P_BOPRevnCostItemToFormItem00 BOPForm Form
KEY BOPRptgCntry P_BOPRevnCostItemToFormItem00 BOPRptgCntry Reporting Ctry/Reg.
KEY CompanyCodeCountry P_BOPRevnCostItemToFormItem00 CompanyCodeCountry Reporting Ctry/Reg.
KEY StatryRptgEntity P_BOPRevnCostItemToFormItem00 StatryRptgEntity Reporting Entity
KEY StatryRptCategory P_BOPRevnCostItemToFormItem00 StatryRptCategory Report ID
KEY StatryRptRunID P_BOPRevnCostItemToFormItem00 StatryRptRunID Report Run ID
AccountingDocumentItem P_BOPRevnCostItemToFormItem00 AccountingDocumentItem Posting View Item
PostingDate P_BOPRevnCostItemToFormItem00 PostingDate Posting Date for GR
ClearingDate P_BOPRevnCostItemToFormItem00 ClearingDate Clearing Date
ChartOfAccounts P_BOPRevnCostItemToFormItem00 ChartOfAccounts Node Class
GLAccount P_BOPRevnCostItemToFormItem00 GLAccount General Ledger
PurchasingOrderGLAccount I_PurOrdAccountAssignment GLAccount General Ledger
GoodsReceiptGLAccount GoodsReceipt GLAccount General Ledger
TaxCode P_BOPRevnCostItemToFormItem00 TaxCode Tax Code
AccountingDocumentType P_BOPRevnCostItemToFormItem00 AccountingDocumentType Journal Entry Type
IsEUTriangularDeal P_BOPRevnCostItemToFormItem00 IsEUTriangularDeal Is EU Triangular Deal
SpecialGLCode P_BOPRevnCostItemToFormItem00 SpecialGLCode Special G/L Ind
DebitCreditCode P_BOPRevnCostItemToFormItem00 DebitCreditCode Single-Character Flag
TransactionCurrency P_BOPRevnCostItemToFormItem00 TransactionCurrency Transaction Currency
AmountInTransactionCurrency P_BOPRevnCostItemToFormItem00 AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency P_BOPRevnCostItemToFormItem00 CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency P_BOPRevnCostItemToFormItem00 AmountInCompanyCodeCurrency Local Crcy Amt
ClearingJournalEntry P_BOPRevnCostItemToFormItem00 ClearingJournalEntry Clrng doc.
ClearingJournalEntryFiscalYear P_BOPRevnCostItemToFormItem00 ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
FinancialAccountType P_BOPRevnCostItemToFormItem00 FinancialAccountType Fin. Account Type
ImportExportFinancialAccType P_BOPRevnCostItemToFormItem00 ImportExportFinancialAccType
OffsettingAccountType P_BOPRevnCostItemToFormItem00 OffsettingAccountType Offset Acct Type
OffsettingAccount P_BOPRevnCostItemToFormItem00 OffsettingAccount Offsetting Acct
PartnerCompany P_BOPRevnCostItemToFormItem00 PartnerCompany Trading Partner
Customer P_BOPRevnCostItemToFormItem00 Customer Sold-to Party
Supplier P_BOPRevnCostItemToFormItem00 Supplier Supplier
BOPCustomerIsOneTimeAccount P_BOPRevnCostItemToFormItem00 BOPCustomerIsOneTimeAccount
BOPCustomerCountry P_BOPRevnCostItemToFormItem00 BOPCustomerCountry
BOPSupplierIsOneTimeAccount P_BOPRevnCostItemToFormItem00 BOPSupplierIsOneTimeAccount
BOPSupplierCountry P_BOPRevnCostItemToFormItem00 BOPSupplierCountry
BOPOneTimeAccountBPCountry P_BOPRevnCostItemToFormItem00 BOPOneTimeAccountBPCountry

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_BOPRevnCostItemToFormItem20.
-- 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_BOPRevnCostItemToFormItem20 AS
SELECT
  P_BOPRevnCostItemToFormItem00.Ledger AS Ledger,
  P_BOPRevnCostItemToFormItem00.SourceLedger AS SourceLedger,
  P_BOPRevnCostItemToFormItem00.CompanyCode AS CompanyCode,
  P_BOPRevnCostItemToFormItem00.AccountingDocument AS AccountingDocument,
  P_BOPRevnCostItemToFormItem00.FiscalYear AS FiscalYear,
  P_BOPRevnCostItemToFormItem00.LedgerGLLineItem AS LedgerGLLineItem,
  P_BOPRevnCostItemToFormItem00.BOPForm AS BOPForm,
  P_BOPRevnCostItemToFormItem00.BOPRptgCntry AS BOPRptgCntry,
  P_BOPRevnCostItemToFormItem00.CompanyCodeCountry AS CompanyCodeCountry,
  P_BOPRevnCostItemToFormItem00.StatryRptgEntity AS StatryRptgEntity,
  P_BOPRevnCostItemToFormItem00.StatryRptCategory AS StatryRptCategory,
  P_BOPRevnCostItemToFormItem00.StatryRptRunID AS StatryRptRunID,
  P_BOPRevnCostItemToFormItem00.AccountingDocumentItem AS AccountingDocumentItem,
  P_BOPRevnCostItemToFormItem00.PostingDate AS PostingDate,
  P_BOPRevnCostItemToFormItem00.ClearingDate AS ClearingDate,
  P_BOPRevnCostItemToFormItem00.ChartOfAccounts AS ChartOfAccounts,
  P_BOPRevnCostItemToFormItem00.GLAccount AS GLAccount,
  I_PurOrdAccountAssignment.GLAccount AS PurchasingOrderGLAccount,
  GoodsReceipt.GLAccount AS GoodsReceiptGLAccount,
  P_BOPRevnCostItemToFormItem00.TaxCode AS TaxCode,
  P_BOPRevnCostItemToFormItem00.AccountingDocumentType AS AccountingDocumentType,
  P_BOPRevnCostItemToFormItem00.IsEUTriangularDeal AS IsEUTriangularDeal,
  P_BOPRevnCostItemToFormItem00.SpecialGLCode AS SpecialGLCode,
  P_BOPRevnCostItemToFormItem00.DebitCreditCode AS DebitCreditCode,
  P_BOPRevnCostItemToFormItem00.TransactionCurrency AS TransactionCurrency,
  P_BOPRevnCostItemToFormItem00.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  P_BOPRevnCostItemToFormItem00.CompanyCodeCurrency AS CompanyCodeCurrency,
  P_BOPRevnCostItemToFormItem00.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  P_BOPRevnCostItemToFormItem00.ClearingJournalEntry AS ClearingJournalEntry,
  P_BOPRevnCostItemToFormItem00.ClearingJournalEntryFiscalYear AS ClearingJournalEntryFiscalYear,
  P_BOPRevnCostItemToFormItem00.FinancialAccountType AS FinancialAccountType,
  P_BOPRevnCostItemToFormItem00.ImportExportFinancialAccType AS ImportExportFinancialAccType,
  P_BOPRevnCostItemToFormItem00.OffsettingAccountType AS OffsettingAccountType,
  P_BOPRevnCostItemToFormItem00.OffsettingAccount AS OffsettingAccount,
  P_BOPRevnCostItemToFormItem00.PartnerCompany AS PartnerCompany,
  P_BOPRevnCostItemToFormItem00.Customer AS Customer,
  P_BOPRevnCostItemToFormItem00.Supplier AS Supplier,
  P_BOPRevnCostItemToFormItem00.BOPCustomerIsOneTimeAccount AS BOPCustomerIsOneTimeAccount,
  P_BOPRevnCostItemToFormItem00.BOPCustomerCountry AS BOPCustomerCountry,
  P_BOPRevnCostItemToFormItem00.BOPSupplierIsOneTimeAccount AS BOPSupplierIsOneTimeAccount,
  P_BOPRevnCostItemToFormItem00.BOPSupplierCountry AS BOPSupplierCountry,
  P_BOPRevnCostItemToFormItem00.BOPOneTimeAccountBPCountry AS BOPOneTimeAccountBPCountry
FROM P_BOPRevnCostItemToFormItem00
;