I_PayablesFinancingOrder

DDL: I_PAYABLESFINANCINGORDER Type: view_entity BASIC

Payables Financing Order

I_PayablesFinancingOrder is a Basic CDS View that provides data about "Payables Financing Order" in SAP S/4HANA. It reads from 1 data source (fpf_order) and exposes 46 fields with key field PayablesFinancingOrderUUID. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fpf_order fpf_order from

Associations (14)

CardinalityTargetAliasCondition
[0..1] I_PayablesFinancingOrderStatus _PayablesFinancingOrderStatus $projection.PayablesFinancingOrderStatus = _PayablesFinancingOrderStatus.PayablesFinancingOrderStatus
[0..1] I_PayablesFinancingType _PayablesFinancingType $projection.PayablesFinancingType = _PayablesFinancingType.PayablesFinancingType
[0..1] I_PyblsFincgDiscountType _PyblsFincgDiscountType $projection.PayablesFinancingDiscountType = _PyblsFincgDiscountType.PayablesFinancingDiscountType
[0..1] I_CompanyCode _PayingCompanyCode $projection.PayingCompanyCode = _PayingCompanyCode.CompanyCode
[0..1] I_UserContactCard _CreatedByContactCard $projection.CreatedByUser = _CreatedByContactCard.ContactCardID
[0..1] I_UserContactCard _LastChangedByContactCard $projection.LastChangedByUser = _LastChangedByContactCard.ContactCardID
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Supplier _Funder $projection.PayablesFinancingFunder = _Funder.Supplier
[0..1] I_Currency _Currency $projection.PayablesFinancingOrderCurrency = _Currency.Currency
[0..1] I_PaymentTerms _PaymentTerms $projection.PaymentTerms = _PaymentTerms.PaymentTerms
[0..1] I_PaymentMethod _PaymentMethod $projection.CompanyCodeCountry = _PaymentMethod.Country and $projection.PaymentMethod = _PaymentMethod.PaymentMethod
[0..1] I_Country _CompanyCodeCountry $projection.CompanyCodeCountry = _CompanyCodeCountry.Country
[0..1] I_SupplierBankDetails _FunderBankDetails $projection.PayablesFinancingFunder = _FunderBankDetails.Supplier and $projection.PayablesFinancingFunderBkType = _FunderBankDetails.BPBankAccountInternalID
[0..*] I_PayablesFinancingOrderItem _PayablesFinancingOrderItem

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Payables Financing Order view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (46)

KeyFieldSource TableSource FieldDescription
KEY PayablesFinancingOrderUUID finord_uuid
PayablesFinancingOrder finord_id
PayablesFinancingType financing_type
PayablesFinancingSystem financing_system
PayablesFinancingOrderStatus finord_status
PyblsFinancedAmtInFincgOrdCrcy finord_amt
PayablesFinancingOrderCurrency finord_curr
PyblsFinancingOrderExternalID external_id WEBGUI External ID
PyblsFincgOrdIsCrdtNoteNetting is_crdit_note_netting
Supplier supplier_id Supplier ID
PayingCompanyCode paying_company_code Paying Co. Code
CompanyCodeCountry _PayingCompanyCode Country Venue: Ctry/Reg
NetDueDate net_due_date
PayablesFinancingFunder funder_id
PayablesFinancingFunderBkType funder_bank_type
PayablesFinancingFunderBkHash funder_bank_hash
PayablesFinancingDiscountType financing_discount_type
PaymentTerms payment_terms Terms of Paymnt
PyblsFincgOrdCshDiscAmt finord_cshdisc_amt
DueCalculationBaseDate baseline_date Baseline Date
CashDiscount1Days cash_discount_1days Days 1
CashDiscount2Days cash_discount_2days Days 2
NetPaymentDays net_payment_days Days Net
CashDiscount1Percent cash_discount_1percent CD Percentage 1
CashDiscount2Percent cash_discount_2percent CD Percentage 2
DocumentReferenceID document_reference_id
PaymentMethod payment_method Pymt Meth.
CreatedByUser createdby User Name
CreationDateTime creationat Created On
LastChangedByUser lastchangedby User Name
LastChangeDateTime lastchangedat Time Stamp
PyblsFincgBizPrpsIsCmpltd xblocked Purpose Completed
_PayablesFinancingOrderItem _PayablesFinancingOrderItem
_PayablesFinancingOrderStatus _PayablesFinancingOrderStatus
_PayablesFinancingType _PayablesFinancingType
_PyblsFincgDiscountType _PyblsFincgDiscountType
_PayingCompanyCode _PayingCompanyCode
_CompanyCodeCountry _CompanyCodeCountry
_CreatedByContactCard _CreatedByContactCard
_LastChangedByContactCard _LastChangedByContactCard
_Supplier _Supplier
_Funder _Funder
_Currency _Currency
_PaymentTerms _PaymentTerms
_PaymentMethod _PaymentMethod
_FunderBankDetails _FunderBankDetails

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_PayablesFinancingOrder.
-- 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 I_PayablesFinancingOrder AS
SELECT
  finord_uuid AS PayablesFinancingOrderUUID,
  finord_id AS PayablesFinancingOrder,
  financing_type AS PayablesFinancingType,
  financing_system AS PayablesFinancingSystem,
  finord_status AS PayablesFinancingOrderStatus,
  finord_amt AS PyblsFinancedAmtInFincgOrdCrcy,
  finord_curr AS PayablesFinancingOrderCurrency,
  external_id AS PyblsFinancingOrderExternalID,
  is_crdit_note_netting AS PyblsFincgOrdIsCrdtNoteNetting,
  supplier_id AS Supplier,
  paying_company_code AS PayingCompanyCode,
  _PayingCompanyCode.Country AS CompanyCodeCountry,
  net_due_date AS NetDueDate,
  funder_id AS PayablesFinancingFunder,
  funder_bank_type AS PayablesFinancingFunderBkType,
  funder_bank_hash AS PayablesFinancingFunderBkHash,
  financing_discount_type AS PayablesFinancingDiscountType,
  payment_terms AS PaymentTerms,
  finord_cshdisc_amt AS PyblsFincgOrdCshDiscAmt,
  baseline_date AS DueCalculationBaseDate,
  cash_discount_1days AS CashDiscount1Days,
  cash_discount_2days AS CashDiscount2Days,
  net_payment_days AS NetPaymentDays,
  cash_discount_1percent AS CashDiscount1Percent,
  cash_discount_2percent AS CashDiscount2Percent,
  document_reference_id AS DocumentReferenceID,
  payment_method AS PaymentMethod,
  createdby AS CreatedByUser,
  creationat AS CreationDateTime,
  lastchangedby AS LastChangedByUser,
  lastchangedat AS LastChangeDateTime,
  xblocked AS PyblsFincgBizPrpsIsCmpltd
FROM fpf_order
LEFT OUTER JOIN I_PayablesFinancingOrderStatus AS _PayablesFinancingOrderStatus ON PayablesFinancingOrderStatus = _PayablesFinancingOrderStatus.PayablesFinancingOrderStatus  -- association [0..1]
LEFT OUTER JOIN I_PayablesFinancingType AS _PayablesFinancingType ON PayablesFinancingType = _PayablesFinancingType.PayablesFinancingType  -- association [0..1]
LEFT OUTER JOIN I_PyblsFincgDiscountType AS _PyblsFincgDiscountType ON PayablesFinancingDiscountType = _PyblsFincgDiscountType.PayablesFinancingDiscountType  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _PayingCompanyCode ON PayingCompanyCode = _PayingCompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByContactCard ON CreatedByUser = _CreatedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByContactCard ON LastChangedByUser = _LastChangedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Funder ON PayablesFinancingFunder = _Funder.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON PayablesFinancingOrderCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms  -- association [0..1]
LEFT OUTER JOIN I_PaymentMethod AS _PaymentMethod ON CompanyCodeCountry = _PaymentMethod.Country AND PaymentMethod = _PaymentMethod.PaymentMethod  -- association [0..1]
LEFT OUTER JOIN I_Country AS _CompanyCodeCountry ON CompanyCodeCountry = _CompanyCodeCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_SupplierBankDetails AS _FunderBankDetails ON PayablesFinancingFunder = _FunderBankDetails.Supplier AND PayablesFinancingFunderBkType = _FunderBankDetails.BPBankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN I_PayablesFinancingOrderItem AS _PayablesFinancingOrderItem ON /* condition not available in parsed metadata */  -- association [0..*]
;