I_ProcurementHubPaymentTerms

DDL: I_PROCUREMENTHUBPAYMENTTERMS SQL: IHUBPAYTRM Type: view BASIC Package: APPL_PROC_HUB_GF

Basic View for Payment Terms in Procurement Hub

I_ProcurementHubPaymentTerms is a Basic CDS View that provides data about "Basic View for Payment Terms in Procurement Hub" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_t052) and exposes 4 fields with key fields PaymentTerms, ExtSourceSystem. It has 2 associations to related views. Part of development package APPL_PROC_HUB_GF.

Data Sources (1)

SourceAliasJoin Type
mmpur_ext_t052 mmpur_ext_t052 from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ProcmtHubPaytTrmsConditions _ProcmtHubPaytTrmsConditions $projection.PaymentTerms = _ProcmtHubPaytTrmsConditions.PaymentTerms and $projection.ExtSourceSystem = _ProcmtHubPaytTrmsConditions.ExtSourceSystem
[0..*] I_ProcmtHubPaymentTermsText _ProcmtHubPaymentTermsText $projection.PaymentTerms = _ProcmtHubPaymentTermsText.PaymentTerms and $projection.ExtSourceSystem = _ProcmtHubPaymentTermsText.ExtSourceSystem

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IHUBPAYTRM view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Basic View for Payment Terms in Procurement Hub view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey PaymentTerms view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PaymentTerms paymentterms Pyt Terms
KEY ExtSourceSystem extsourcesystem Connected System ID
_ProcmtHubPaytTrmsConditions _ProcmtHubPaytTrmsConditions
_ProcmtHubPaymentTermsText _ProcmtHubPaymentTermsText

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_ProcurementHubPaymentTerms.
-- 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: IHUBPAYTRM

CREATE VIEW I_ProcurementHubPaymentTerms AS
SELECT
  PaymentTerms,
  ExtSourceSystem
FROM mmpur_ext_t052
LEFT OUTER JOIN I_ProcmtHubPaytTrmsConditions AS _ProcmtHubPaytTrmsConditions ON PaymentTerms = _ProcmtHubPaytTrmsConditions.PaymentTerms AND ExtSourceSystem = _ProcmtHubPaytTrmsConditions.ExtSourceSystem  -- association [0..1]
LEFT OUTER JOIN I_ProcmtHubPaymentTermsText AS _ProcmtHubPaymentTermsText ON PaymentTerms = _ProcmtHubPaymentTermsText.PaymentTerms AND ExtSourceSystem = _ProcmtHubPaymentTermsText.ExtSourceSystem  -- association [0..*]
;