I_PaymentMethod
Payment Method for Country/Region
I_PaymentMethod is a Basic CDS View (Dimension) that provides data about "Payment Method for Country/Region" in SAP S/4HANA. It reads from 1 data source (t042z) and exposes 11 fields with key fields Country, PaymentMethod. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t042z | t042z | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [0..*] | I_PaymentMethodText | _Text | $projection.Country = _Text.Country and $projection.PaymentMethod = _Text.PaymentMethod |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Payment Method for Country/Region | view | |
| AbapCatalog.sqlViewName | IFIPAYMENTMETHOD | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | PaymentMethod | view | |
| ObjectModel.sapObjectNodeType.name | PaymentMethod | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | t042z | land1 | |
| KEY | PaymentMethod | |||
| PaymentMethodIsUsedForCheck | xschk | |||
| PaytMethIsUsdForBillOfExchange | xwech | |||
| PaytMethIsUsdForChkBillOfExch | xswec | |||
| IsPaytMethForIncomingPayments | xeinz | |||
| PaytMethIsUsdForBOEPaytReq | xwanf | |||
| PaytMethIsUsdForPaymentRequest | xzanf | |||
| BankCollectionAuthznIsRequired | xezer | |||
| _Country | _Country | |||
| _Text | _Text |
@EndUserText.label: 'Payment Method for Country/Region'
@AbapCatalog.sqlViewName: 'IFIPAYMENTMETHOD'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@VDM.viewType: #BASIC
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PaymentMethod'
@ObjectModel.sapObjectNodeType.name: 'PaymentMethod'
@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE, #SEARCHABLE_ENTITY ]
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@Search.searchable: true
define view I_PaymentMethod
as select from t042z
left outer to one join t042zt on t042z.land1 = t042zt.land1 and t042z.zlsch = t042zt.zlsch and t042zt.spras = $session.system_language
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'
key t042z.land1 as Country,
@ObjectModel.text.element: 'PaymentMethodName'
@Search.defaultSearchElement: true
key cast( t042z.zlsch as farp_schzw_bseg ) as PaymentMethod,
@Semantics.text:true
//@Search.defaultSearchElement: true
//@Search.fuzzinessThreshold: 0.8
//@Search.ranking: #HIGH
//cast( text1 as farp_schzw_text) as PaymentMethodName,
cast( case
when t042zt.text2 is null or t042zt.text2 = ''
then t042z.text1
else t042zt.text2
end as farp_schzw_text) as PaymentMethodName,
xschk as PaymentMethodIsUsedForCheck,
xwech as PaytMethIsUsdForBillOfExchange,
xswec as PaytMethIsUsdForChkBillOfExch,
xeinz as IsPaytMethForIncomingPayments,
xwanf as PaytMethIsUsdForBOEPaytReq,
xzanf as PaytMethIsUsdForPaymentRequest,
xezer as BankCollectionAuthznIsRequired,
_Country,
_Text
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T042Z",
"T042ZT"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_PAYMENTMETHODTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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