@AbapCatalog.sqlViewName: 'PPAYTMETHTEXT'
@ObjectModel.representativeKey: 'PaymentMethod'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@AbapCatalog.compiler.compareFilter: true
define view P_PaymentMethodText
as select from t042zt
association [0..1] to I_Country as _Country on $projection.Country = _Country.Country
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_Country'
key land1 as Country,
@ObjectModel.text.element: 'PaymentMethodDescription'
key cast( zlsch as farp_schzw_bseg ) as PaymentMethod,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key spras as Language,
@Semantics.text: true
text2 as PaymentMethodDescription,
_Country,
_Language
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T042ZT"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/