C_SupplierPaymentBlock
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierPaymentBlockTP | I_SupplierPaymentBlockTP | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA