I_PAYMENTMETHOD
Payment Method for Country/Region
I_PAYMENTMETHOD is a CDS View in S/4HANA. Payment Method for Country/Region. It contains 5 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_CN_ReqnStrategyPaytMethodVH | view | inner | COMPOSITE | Requisition Strategy Payment Method Value Help |
| I_PaymentMethodVH | view | inner | BASIC | Obsolete: Payment Method Value Help |
| I_SrvcDocPaymentMethod | view | from | COMPOSITE | Service Transaction Payment Method |
Fields (5)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | Country | Country | 2 |
| KEY | PaymentMethod | PaymentMethod | 1 |
| _Text | _Text | 1 | |
| PaymentMethodName | PaymentMethodName | 3 | |
| PaytMethIsUsdForBillOfExchange | PaytMethIsUsdForBillOfExchange | 1 |
@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":""
}
}*/