I_PaymentMethodInCountryVH

DDL: I_PAYMENTMETHODINCOUNTRYVH SQL: IPAYTMETHCNTRYVH Type: view BASIC

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.

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 Trip Ctry/Reg
KEY PaymentMethod Pymt Meth.
PaymentMethodName Vertikalization Text
_Text _Text
_Country _Country

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 I_PaymentMethodInCountryVH.
-- 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: IPAYTMETHCNTRYVH

CREATE VIEW I_PaymentMethodInCountryVH AS
SELECT
  land1 AS Country,
  cast( zlsch as farp_schzw_bseg ) AS PaymentMethod,
  cast( text1 as farp_text1_042z) AS PaymentMethodName
FROM t042z
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_PaymentMethodText AS _Text ON Country = _Text.Country AND PaymentMethod = _Text.PaymentMethod  -- association [0..*]
;