P_JrnlEntrItmToBOPFormItm21

DDL: P_JRNLENTRITMTOBOPFORMITM21 SQL: PJEBOPFI21 Type: view COMPOSITE

P_JrnlEntrItmToBOPFormItm21 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BOPFormItemRule, P_JrnlEntrItmToBOPFormItm13) and exposes 14 fields with key fields Ledger, SourceLedger, CompanyCode, AccountingDocument, FiscalYear.

Data Sources (2)

SourceAliasJoin Type
I_BOPFormItemRule fir left_outer
P_JrnlEntrItmToBOPFormItm13 m13 from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PJEBOPFI21 view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY BOPRptgCntry P_JrnlEntrItmToBOPFormItm13 BOPRptgCntry Reporting Ctry/Reg.
KEY BOPForm P_JrnlEntrItmToBOPFormItm13 BOPForm Form
KEY BOPFormItem I_BOPFormItemRule BOPFormItem Form Item
IsEUTriangularDeal P_JrnlEntrItmToBOPFormItm13 IsEUTriangularDeal Is EU Triangular Deal
UniqueAcctgDocClrgDate P_JrnlEntrItmToBOPFormItm13 UniqueAcctgDocClrgDate
HasUniqueClrgDate P_JrnlEntrItmToBOPFormItm13 HasUniqueClrgDate
CompanyCodeCountry
BOPPartnerCntry

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_JrnlEntrItmToBOPFormItm21.
-- 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: PJEBOPFI21

CREATE VIEW P_JrnlEntrItmToBOPFormItm21 AS
SELECT
  Ledger,
  SourceLedger,
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  LedgerGLLineItem,
  m13.BOPRptgCntry AS BOPRptgCntry,
  m13.BOPForm AS BOPForm,
  fir.BOPFormItem AS BOPFormItem,
  m13.IsEUTriangularDeal AS IsEUTriangularDeal,
  m13.UniqueAcctgDocClrgDate AS UniqueAcctgDocClrgDate,
  m13.HasUniqueClrgDate AS HasUniqueClrgDate,
  min (CompanyCodeCountry) AS CompanyCodeCountry,
  min (BOPPartnerCntry) AS BOPPartnerCntry
FROM P_JrnlEntrItmToBOPFormItm13 AS m13
LEFT OUTER JOIN I_BOPFormItemRule AS fir ON /* join condition not captured in parsed metadata */
;