I_CFinSalesDocumentPartner

DDL: I_CFINSALESDOCUMENTPARTNER SQL: ICFINSOBP Type: view COMPOSITE Package: FINS_CFIN_ACC_VIEW_API

Central Finance Sales Document: Partner

I_CFinSalesDocumentPartner is a Composite CDS View that provides data about "Central Finance Sales Document: Partner" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentCompletePartners) and exposes 13 fields with key fields SenderLogicalSystem, CentralFinanceSalesDocument, CFinSalesDocumentItem, PartnerFunction. It has 1 association to related views. Part of development package FINS_CFIN_ACC_VIEW_API.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentCompletePartners SDDocumentCompletePartners from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LogicalSystem _LogicalSystem $projection.SenderLogicalSystem = _LogicalSystem.LogicalSystem

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ICFINSOBP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey PartnerFunction view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
EndUserText.label Central Finance Sales Document: Partner view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SenderLogicalSystem
KEY CentralFinanceSalesDocument
KEY CFinSalesDocumentItem
KEY PartnerFunction
Customer I_SDDocumentCompletePartners Customer Sold-to Party
AddressID I_SDDocumentCompletePartners AddressID Ship-to address
PartnerIsOneTimeAccount I_SDDocumentCompletePartners PartnerIsOneTimeAccount One-time acct
TaxNumber1 OneTimeCustomerTaxNumber TaxNumber1 VAT Reg. No.
TaxNumber3 OneTimeCustomerTaxNumber TaxNumber3
AddressPersonID I_SDDocumentCompletePartners AddressPersonID Person Number
_LogicalSystem _LogicalSystem
_DfltAddrRprstn I_SDDocumentCompletePartners _DfltAddrRprstn
_PartnerFunction I_SDDocumentCompletePartners _PartnerFunction

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 I_CFinSalesDocumentPartner.
-- 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: ICFINSOBP

CREATE VIEW I_CFinSalesDocumentPartner AS
SELECT
  cast( ' ' as logsys preserving type ) AS SenderLogicalSystem,
  cast( SDDocumentCompletePartners.SDDocument as fins_cfin_av_sales_document preserving type ) AS CentralFinanceSalesDocument,
  cast( SDDocumentCompletePartners.SDDocumentItem as fins_cfin_av_sales_doc_item preserving type ) AS CFinSalesDocumentItem,
  cast( SDDocumentCompletePartners.PartnerFunction as parvw_unv preserving type ) AS PartnerFunction,
  SDDocumentCompletePartners.Customer AS Customer,
  SDDocumentCompletePartners.AddressID AS AddressID,
  SDDocumentCompletePartners.PartnerIsOneTimeAccount AS PartnerIsOneTimeAccount,
  OneTimeCustomerTaxNumber.TaxNumber1 AS TaxNumber1,
  OneTimeCustomerTaxNumber.TaxNumber3 AS TaxNumber3,
  SDDocumentCompletePartners.AddressPersonID AS AddressPersonID,
  SDDocumentCompletePartners._DfltAddrRprstn AS _DfltAddrRprstn,
  SDDocumentCompletePartners._PartnerFunction AS _PartnerFunction
FROM I_SDDocumentCompletePartners AS SDDocumentCompletePartners
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON SenderLogicalSystem = _LogicalSystem.LogicalSystem  -- association [0..1]
;