C_PurOrdMaintainSuplrValHelp
PO Maintenance: Value Help for Supplier
C_PurOrdMaintainSuplrValHelp is a Consumption CDS View that provides data about "PO Maintenance: Value Help for Supplier" in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 13 fields with key fields Supplier, CompanyCode. It has 3 associations to related views. Part of development package ODATA_MM_PUR_PO_MAINTAIN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Supplier | _Supplier | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SupplierCompany | _SupplierMaster | $projection.Supplier = _SupplierMaster.Supplier and _SupplierMaster.CompanyCode != '' |
| [0..*] | I_CountryText | _CountryText | $projection.Country = _CountryText.Country |
| [0..*] | I_RegionText | _RegionText | $projection.Country = _RegionText.Country and $projection.Region = _RegionText.Region |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CPOMAINTVHSUPLR | view | |
| EndUserText.label | PO Maintenance: Value Help for Supplier | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | Supplier | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | I_Supplier | Supplier | Supplier |
| KEY | CompanyCode | _SupplierMaster | CompanyCode | Receiver Company Code |
| SupplierName | ||||
| Country | ||||
| CityName | ||||
| PostalCode | ||||
| Region | ||||
| SupplierAccountGroup | I_Supplier | SupplierAccountGroup | Account group | |
| AuthorizationGroup | I_Supplier | AuthorizationGroup | AuthorizGroup | |
| DataControllerSet | I_Supplier | DataControllerSet | Data Ctrlr. Set | |
| IsBusinessPurposeCompleted | I_Supplier | IsBusinessPurposeCompleted | Purpose Completed | |
| _CountryText | _CountryText | |||
| _RegionText | _RegionText |
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_PurOrdMaintainSuplrValHelp.
-- 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: CPOMAINTVHSUPLR
CREATE VIEW C_PurOrdMaintainSuplrValHelp AS
SELECT
_Supplier.Supplier AS Supplier,
_SupplierMaster.CompanyCode AS CompanyCode,
cast(_Supplier.SupplierName as abap.char(35)) AS SupplierName,
_Supplier._StandardAddress.Country AS Country,
cast(_Supplier._StandardAddress.CityName as abap.char(35)) AS CityName,
_Supplier._StandardAddress.PostalCode AS PostalCode,
_Supplier._StandardAddress.Region AS Region,
_Supplier.SupplierAccountGroup AS SupplierAccountGroup,
_Supplier.AuthorizationGroup AS AuthorizationGroup,
_Supplier.DataControllerSet AS DataControllerSet,
_Supplier.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM I_Supplier AS _Supplier
LEFT OUTER JOIN I_SupplierCompany AS _SupplierMaster ON Supplier = _SupplierMaster.Supplier AND _SupplierMaster.CompanyCode != '' -- association [0..*]
LEFT OUTER JOIN I_CountryText AS _CountryText ON Country = _CountryText.Country -- association [0..*]
LEFT OUTER JOIN I_RegionText AS _RegionText ON Country = _RegionText.Country AND Region = _RegionText.Region -- association [0..*]
;
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