C_SupplierPaymentBlock

DDL: C_SUPPLIERPAYMENTBLOCK SQL: CSUPLRPAYTBLK Type: view_entity CONSUMPTION

Supplier Payment Blocks

C_SupplierPaymentBlock is a Consumption CDS View that provides data about "Supplier Payment Blocks" in SAP S/4HANA. It reads from 1 data source (I_SupplierPaymentBlockTP) and exposes 19 fields with key fields Supplier, CompanyCode. It has 7 associations to related views. It is exposed through 1 OData service (SUPPLIERPAYMENTBLOCK). It is used in 1 Fiori application: Manage Payment Blocks V2.

Data Sources (1)

SourceAliasJoin Type
I_SupplierPaymentBlockTP I_SupplierPaymentBlockTP from

Associations (7)

CardinalityTargetAliasCondition
[1] I_SupplierCompany _SupplierCompany $projection.Supplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode
[1..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..*] C_SupplierPaymentBlockOpnItm _OpenItems $projection.Supplier = _OpenItems.Supplier and $projection.CompanyCode = _OpenItems.CompanyCode
[1..1] C_SuplrPaytBlkOpnItmsAggrgn _OpenItemsAggregation $projection.Supplier = _OpenItemsAggregation.Supplier and $projection.CompanyCode = _OpenItemsAggregation.CompanyCode
[1..1] C_SuplrPaytBlkBlkdItmsAggrgn _BlockedItemsAggregation $projection.Supplier = _BlockedItemsAggregation.Supplier and $projection.CompanyCode = _BlockedItemsAggregation.CompanyCode
[0..1] C_SuplrPaytBlockingReasonVH _PaymentBlockingReasonText $projection.PaymentBlockingReason = _PaymentBlockingReasonText.PaymentBlockingReason and $projection.PaymentBlockingReason != ''

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Supplier Payment Blocks view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
SUPPLIERPAYMENTBLOCK SUPPLIERPAYMENTBLOCK V2 C1 NOT_TO_BE_RELEASED_STABLE

Fiori Apps (1)

App IDApp NameTypeDescription
F0593A Manage Payment Blocks V2 Transactional An application to set and remove payment blocks on vendor accounts and open payable items.

Manage Payment Blocks V2

Business Role: Accounts Payable Accountant

With this app, you can set and remove payment blocks on invoices or supplier accounts. You can use various search, sorting, and grouping functions to select and display invoices and view their status.

Key Features: Search and filter for supplier accounts and open invoices Fuzzy searchTwo search bars are available in this app. One is on the supplier list page, and the other is on the supplier object page. You can use both search bars to make fuzzy searches for supplier accounts or open invoices by supplier name, supplier ID, invoice number, journal entry number, purchase order, or external reference.After you enter a search term in the first search bar and choose a search result in the supplier list, the system navigates you to the supplier object page, where the second search bar is automatically filled with the same search term. You can also use the second search bar independently to search for the open invoices for a specific supplier. FilterOn the supplier list page, you can use the default filters (Supplier, Company Code, Status, and Payment Block Reason) to filter the worklist effectively. You can customize the filter bar by removing basic filters and adding more filters (Blocked Amount, Company Code Currency, and more). Display supplier accounts and open invoices and view their status Display supplier accounts and view the general information and all the open invoices for a specific supplier. Display open invoices with their payment details and related documents. View the status of supplier accounts and open invoices. Set and remove payment blocks Choose a specific supplier account or one or more open invoices to block them for payment.When you set a payment block, a pop-up dialog box appears in which you can select a payment block reason and add some notes. Remove payment blocks on supplier accounts and open invoices.

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
KEY CompanyCode CompanyCode Receiver Company Code
PaymentBlockingReason PaymentBlockingReason Pmnt block
Status Status Workflow Status
CompanyCodeName _CompanyCode CompanyCodeName Company Name
SupplierName _Supplier OrganizationBPName1 Name 1
OrganizationBPName2 _Supplier OrganizationBPName2 Name 2
PaymentBlockingReasonName
StatusDescription
NumberOfItems _OpenItemsAggregation NumberOfOpenItems
NumberOfBlockedItems _BlockedItemsAggregation NumberOfBlockedItems
Currency _SupplierCompany Currency Company Code Currency
PostalCode _Supplier PostalCode Postal Code
CityName _Supplier CityName Name
StreetName _Supplier StreetName Text
_Supplier _Supplier
_SupplierCompany _SupplierCompany
_CompanyCode _CompanyCode
_OpenItems _OpenItems

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_SupplierPaymentBlock.
-- 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: CSUPLRPAYTBLK

CREATE VIEW C_SupplierPaymentBlock AS
SELECT
  Supplier,
  CompanyCode,
  PaymentBlockingReason,
  Status,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _Supplier.OrganizationBPName1 AS SupplierName,
  _Supplier.OrganizationBPName2 AS OrganizationBPName2,
  _PaymentBlockingReasonText._Text[1:Language=$session.system_language].PaymentBlockingReasonName AS PaymentBlockingReasonName,
  _PaymentBlockingStatus._Text[1:Language=$session.system_language].StatusDescription AS StatusDescription,
  _OpenItemsAggregation.NumberOfOpenItems AS NumberOfItems,
  _BlockedItemsAggregation.NumberOfBlockedItems AS NumberOfBlockedItems,
  _SupplierCompany.Currency AS Currency,
  _Supplier.PostalCode AS PostalCode,
  _Supplier.CityName AS CityName,
  _Supplier.StreetName AS StreetName
FROM I_SupplierPaymentBlockTP
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON Supplier = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode  -- association [1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN C_SupplierPaymentBlockOpnItm AS _OpenItems ON Supplier = _OpenItems.Supplier AND CompanyCode = _OpenItems.CompanyCode  -- association [0..*]
LEFT OUTER JOIN C_SuplrPaytBlkOpnItmsAggrgn AS _OpenItemsAggregation ON Supplier = _OpenItemsAggregation.Supplier AND CompanyCode = _OpenItemsAggregation.CompanyCode  -- association [1..1]
LEFT OUTER JOIN C_SuplrPaytBlkBlkdItmsAggrgn AS _BlockedItemsAggregation ON Supplier = _BlockedItemsAggregation.Supplier AND CompanyCode = _BlockedItemsAggregation.CompanyCode  -- association [1..1]
LEFT OUTER JOIN C_SuplrPaytBlockingReasonVH AS _PaymentBlockingReasonText ON PaymentBlockingReason = _PaymentBlockingReasonText.PaymentBlockingReason AND PaymentBlockingReason != ''  -- association [0..1]
;