P_BOPFicaDoc0

DDL: P_BOPFICADOC0 SQL: PBOPFICAD0 Type: view COMPOSITE Package: GLO_FIN_IS_BOP_GEN

Analysis for BOP - FICA Document

P_BOPFicaDoc0 is a Composite CDS View that provides data about "Analysis for BOP - FICA Document" in SAP S/4HANA. It reads from 1 data source (I_CADocument) and exposes 16 fields with key fields CompanyCode, FiscalYear, CADocumentNumber, CABPItemNumber, CASubItemNumber. Part of development package GLO_FIN_IS_BOP_GEN.

Data Sources (1)

SourceAliasJoin Type
I_CADocument _header from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PBOPFICAD0 view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear
KEY CADocumentNumber I_CADocument CADocumentNumber Document Number
KEY CABPItemNumber CABPItemNumber Item
KEY CASubItemNumber CASubItemNumber Subitem
CADocumentTypeForGLTransfer I_CADocument CADocumentTypeForGLTransfer Tfr Doc. Type
CAPostingDate I_CADocument CAPostingDate Posting Date
DocumentDate I_CADocument DocumentDate Journal Entry Date
TaxReportingDate I_CADocument TaxReportingDate Tax Reporting Date
CADocContainsCashFlowItems I_CADocument CADocContainsCashFlowItems Cash Flow
CAReversedDocumentNumber I_CADocument CAReversedDocumentNumber Rev. Doc. For
CAReconciliationKey I_CADocument CAReconciliationKey Reconcil. Key
BusinessPartner _BusinessPartner BusinessPartner Issuing Authority
CAClearingDate CAClearingDate Clearing
BPCountry
CompanyCodeCountry Country Venue: Ctry/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_BOPFicaDoc0.
-- 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: PBOPFICAD0

CREATE VIEW P_BOPFicaDoc0 AS
SELECT
  CompanyCode,
  substring(_header.CAPostingDate,1,4) AS FiscalYear,
  _header.CADocumentNumber AS CADocumentNumber,
  CABPItemNumber,
  CASubItemNumber,
  _header.CADocumentTypeForGLTransfer AS CADocumentTypeForGLTransfer,
  _header.CAPostingDate AS CAPostingDate,
  _header.DocumentDate AS DocumentDate,
  _header.TaxReportingDate AS TaxReportingDate,
  _header.CADocContainsCashFlowItems AS CADocContainsCashFlowItems,
  _header.CAReversedDocumentNumber AS CAReversedDocumentNumber,
  _header.CAReconciliationKey AS CAReconciliationKey,
  _BusinessPartner.BusinessPartner AS BusinessPartner,
  CAClearingDate,
  _BusinessPartner._CurrentDefaultAddress._Address.Country AS BPCountry,
  Country AS CompanyCodeCountry
FROM I_CADocument AS _header
;