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
KEY CompanyCode _SupplierMaster CompanyCode
SupplierName
Country
CityName
PostalCode
Region
SupplierAccountGroup I_Supplier SupplierAccountGroup
AuthorizationGroup I_Supplier AuthorizationGroup
DataControllerSet I_Supplier DataControllerSet
IsBusinessPurposeCompleted I_Supplier IsBusinessPurposeCompleted
_CountryText _CountryText
_RegionText _RegionText
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'CPOMAINTVHSUPLR'
@EndUserText.label: 'PO Maintenance: Value Help for Supplier'
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED

@ObjectModel.dataCategory:#VALUE_HELP
@ObjectModel.representativeKey: 'Supplier'
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]

define view C_PurOrdMaintainSuplrValHelp
  as select from I_Supplier as _Supplier
  association [0..*] to I_SupplierCompany as _SupplierMaster on  $projection.Supplier = _SupplierMaster.Supplier
                                                             and _SupplierMaster.CompanyCode != ''
  association [0..*] to I_CountryText     as _CountryText    on  $projection.Country = _CountryText.Country
  association [0..*] to I_RegionText      as _RegionText     on  $projection.Country = _RegionText.Country
                                                             and $projection.Region  = _RegionText.Region
{
  key _Supplier.Supplier                                         as Supplier,
  key _SupplierMaster.CompanyCode                                as CompanyCode, //prerequisition: this field always has to be used in a filter

      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,
      
      @Consumption.hidden:true
      @UI.hidden:true
      _Supplier.DataControllerSet, 
      
      @Consumption.hidden:true
      @UI.hidden:true
      @Semantics.booleanIndicator: true
      _Supplier.IsBusinessPurposeCompleted,
      
      _CountryText,
      _RegionText
}