C_PurOrdMaintainSuplrValHelp

DDL: C_PURORDMAINTAINSUPLRVALHELP SQL: CPOMAINTVHSUPLR Type: view CONSUMPTION Package: ODATA_MM_PUR_PO_MAINTAIN

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)

SourceAliasJoin Type
I_Supplier _Supplier from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;