I_PaymentMethodInCountryVH

DDL: I_PAYMENTMETHODINCOUNTRYVH SQL: IPAYTMETHCNTRYVH Type: view BASIC Package: FINS_FIS_AP_MD

Payment Method for Country/Region

I_PaymentMethodInCountryVH is a Basic CDS View that provides data about "Payment Method for Country/Region" in SAP S/4HANA. It reads from 1 data source (t042z) and exposes 5 fields with key fields Country, PaymentMethod. It has 2 associations to related views. Part of development package FINS_FIS_AP_MD.

Data Sources (1)

SourceAliasJoin Type
t042z t042z from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..*] I_PaymentMethodText _Text $projection.Country = _Text.Country and $projection.PaymentMethod = _Text.PaymentMethod

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPAYTMETHCNTRYVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Payment Method for Country/Region view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey PaymentMethod view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Country land1
KEY PaymentMethod
PaymentMethodName
_Text _Text
_Country _Country
@AbapCatalog.sqlViewName: 'IPAYTMETHCNTRYVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Payment Method for Country/Region'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'PaymentMethod'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@VDM.viewType: #BASIC
@Search.searchable: true
define view I_PaymentMethodInCountryVH as select from t042z 
  association [0..1] to I_Country as _Country on $projection.Country = _Country.Country
  association [0..*] to I_PaymentMethodText as _Text      on  $projection.Country       = _Text.Country
                                                          and $projection.PaymentMethod = _Text.PaymentMethod
{
  @ObjectModel.foreignKey.association: '_Country'
  @Search.defaultSearchElement: true
  @Search.ranking: #HIGH  
  key land1 as Country,
  @ObjectModel.text.association: '_Text'
  @Search.defaultSearchElement: true
  @Search.ranking: #HIGH
  key cast( zlsch as farp_schzw_bseg ) as PaymentMethod,
  @Search.defaultSearchElement: true
  @Search.ranking: #MEDIUM
  @Search.fuzzinessThreshold: 0.8  
  cast( text1 as farp_text1_042z) as PaymentMethodName,
  
  _Text,

  @Consumption.hidden: true
  _Country
}