C_BPSupplierDunning

DDL: C_BPSUPPLIERDUNNING SQL: CBPSUPPDUN Type: view CONSUMPTION

Consumption view for Supplier Dunning

C_BPSupplierDunning is a Consumption CDS View that provides data about "Consumption view for Supplier Dunning" in SAP S/4HANA. It reads from 1 data source (I_BPSupplierDunningTP) and exposes 21 fields with key fields BusinessPartner, CompanyCode, DunningArea. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPSupplierDunningTP SupplierDunning from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerSupplier _BusinessPartnerSupplier $projection.BusinessPartner = _BusinessPartnerSupplier.BusinessPartner
[1..1] C_Businesspartnersupplierco _BusinessPartnerSupplierCo $projection.BusinessPartner = _BusinessPartnerSupplierCo.BusinessPartner and $projection.CompanyCode = _BusinessPartnerSupplierCo.CompanyCode
[1..1] I_Supplier_VH _DunningRecipient $projection.DunningRecipient = _DunningRecipient.Supplier

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CBPSUPPDUN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Consumption view for Supplier Dunning view
Metadata.allowExtensions true view
ObjectModel.type #CONSUMPTION view
ObjectModel.text.control #ASSOCIATED_TEXT_UI_HIDDEN view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
UI.headerInfo.typeName Dunning Area view
UI.headerInfo.typeNamePlural Dunning Areas view
UI.headerInfo.title.label Dunning Area Description view
UI.headerInfo.title.value DunningArea view
VDM.viewType #CONSUMPTION view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BPSupplierDunningTP BusinessPartner Issuing Authority
KEY CompanyCode I_BPSupplierDunningTP CompanyCode Receiver Company Code
KEY DunningArea I_BPSupplierDunningTP DunningArea Dunning Area
Supplier I_BPSupplierDunningTP Supplier Supplier
BusinessPartnerForEdit I_BPSupplierDunningTP BusinessPartnerForEdit Busn. Partner
CompanyCodeForEdit I_BPSupplierDunningTP CompanyCodeForEdit Company Code
DunningAreaForEdit I_BPSupplierDunningTP DunningAreaForEdit Dunning Area
DunningRecipient I_BPSupplierDunningTP DunningRecipient Dunn.Recipient
LegDunningProcedureOn I_BPSupplierDunningTP LegDunningProcedureOn Leg.Dunn.Proc.
LastDunnedOn I_BPSupplierDunningTP LastDunnedOn Last Dunned
DunningProcedure I_BPSupplierDunningTP DunningProcedure Dunn.Procedure
DunningLevel I_BPSupplierDunningTP DunningLevel Dunning Level
DunningBlock I_BPSupplierDunningTP DunningBlock Dunn. Block
DunningClerk I_BPSupplierDunningTP DunningClerk Dunning Clerk
_BusinessPartnerSupplier _BusinessPartnerSupplier
_BusinessPartner _BusinessPartner
_BusinessPartnerSupplierCo _BusinessPartnerSupplierCo
_DunningAreaText _DunningAreaText
_DunningProcedureText _DunningProcedureText
_DunningBlockText _DunningBlockText
_DunningRecipient _DunningRecipient

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 C_BPSupplierDunning.
-- 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: CBPSUPPDUN

CREATE VIEW C_BPSupplierDunning AS
SELECT
  SupplierDunning.BusinessPartner AS BusinessPartner,
  SupplierDunning.CompanyCode AS CompanyCode,
  SupplierDunning.DunningArea AS DunningArea,
  SupplierDunning.Supplier AS Supplier,
  SupplierDunning.BusinessPartnerForEdit AS BusinessPartnerForEdit,
  SupplierDunning.CompanyCodeForEdit AS CompanyCodeForEdit,
  SupplierDunning.DunningAreaForEdit AS DunningAreaForEdit,
  SupplierDunning.DunningRecipient AS DunningRecipient,
  SupplierDunning.LegDunningProcedureOn AS LegDunningProcedureOn,
  SupplierDunning.LastDunnedOn AS LastDunnedOn,
  SupplierDunning.DunningProcedure AS DunningProcedure,
  SupplierDunning.DunningLevel AS DunningLevel,
  SupplierDunning.DunningBlock AS DunningBlock,
  SupplierDunning.DunningClerk AS DunningClerk
FROM I_BPSupplierDunningTP AS SupplierDunning
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON BusinessPartner = _BusinessPartnerSupplier.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_Businesspartnersupplierco AS _BusinessPartnerSupplierCo ON BusinessPartner = _BusinessPartnerSupplierCo.BusinessPartner AND CompanyCode = _BusinessPartnerSupplierCo.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Supplier_VH AS _DunningRecipient ON DunningRecipient = _DunningRecipient.Supplier  -- association [1..1]
;