I_TravelExpenseCountry

DDL: I_TRAVELEXPENSECOUNTRY Type: view BASIC

Travel Expense Country for IATALocation

I_TravelExpenseCountry is a Basic CDS View that provides data about "Travel Expense Country for IATALocation" in SAP S/4HANA. It reads from 1 data source (t005) and exposes 8 fields with key field Country. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
t005 t005 from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TravelExpenseCountryText _TravelExpenseCountryText $projection.Country = _TravelExpenseCountryText.Country and _TravelExpenseCountryText.Language = $session.system_language

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ITRVLEXPNCTRY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey Country view
EndUserText.label Travel Expense Country for IATALocation view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Country land1
Language spras
CountryTwoLetterISOCode intca
CountryThreeLetterISOCode intca3
CountryThreeDigitISOCode intcn3
IsEuropeanUnionMember xegld
CountryShortName _TravelExpenseCountryText CountryShortName
_TravelExpenseCountryText _TravelExpenseCountryText
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: { sqlViewName: 'ITRVLEXPNCTRY',
                compiler.compareFilter: true,
                preserveKey: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: { viewType: #BASIC,
        lifecycle.contract.type: #PUBLIC_LOCAL_API }
@ObjectModel: {
                usageType: { dataClass: #META,
                             sizeCategory: #S,
                             serviceQuality: #A },
                representativeKey:  'Country' }
@EndUserText.label: 'Travel Expense Country for IATALocation'
//define view I_TravelExpenseCountry

//  as select from I_Country

//{

//  key Country,

//      CountryThreeLetterISOCode,

//      CountryThreeDigitISOCode,

//      CountryISOCode,

//      IsEuropeanUnionMember,

//      CountryCurrency,

//      IndexBasedCurrency,

//      HardCurrency,

//      TaxCalculationProcedure,

//      CountryAlternativeCode,

//      _Text.Language            as Language,

//      _Text.CountryName         as CountryName,

//      _Text.NationalityName     as NationalityName,

//      _Text.NationalityLongName as NationalityLongName,

//      _Text.CountryShortName    as CountryShortName,

//      /* Associations */

//      _Text

//

//}where _Text.Language = $session.system_language

define view I_TravelExpenseCountry
  as select from t005
  association [0..1] to I_TravelExpenseCountryText as _TravelExpenseCountryText on  $projection.Country                = _TravelExpenseCountryText.Country
                                                                                and _TravelExpenseCountryText.Language = $session.system_language
{
  key land1  as Country,
      //  landk as Landk,

      //  lnplz as Lnplz,

      //  prplz as Prplz,

      //  addrs as Addrs,

      //  xplzs as Xplzs,

      //  xplpf as Xplpf,

      spras  as Language,
      //  xland as Xland,

      //  xaddr as Xaddr,

      //  nmfmt as Nmfmt,

      //  xregs as Xregs,

      //  xplst as Xplst,

      intca  as CountryTwoLetterISOCode,
      intca3 as CountryThreeLetterISOCode,
      intcn3 as CountryThreeDigitISOCode,
      xegld  as IsEuropeanUnionMember,
      //  xskfn as Xskfn,

      //  xmwsn as Xmwsn,

      //  lnbkn as Lnbkn,

      //  prbkn as Prbkn,

      //  lnblz as Lnblz,

      //  prblz as Prblz,

      //  lnpsk as Lnpsk,

      //  prpsk as Prpsk,

      //  xprbk as Xprbk,

      //  bnkey as Bnkey,

      //  lnbks as Lnbks,

      //  prbks as Prbks,

      //  xprso as Xprso,

      //  pruin as Pruin,

      //  uinln as Uinln,

      //  lnst1 as Lnst1,

      //  prst1 as Prst1,

      //  lnst2 as Lnst2,

      //  prst2 as Prst2,

      //  lnst3 as Lnst3,

      //  prst3 as Prst3,

      //  lnst4 as Lnst4,

      //  prst4 as Prst4,

      //  lnst5 as Lnst5,

      //  prst5 as Prst5,

      //  landd as Landd,

      //  kalsm as Kalsm,

      //  landa as Landa,

      //  wechf as Wechf,

      //  lkvrz as Lkvrz,

      //  intcn as Intcn,

      //  xdezp as Xdezp,

      //  datfm as Datfm,

      //  curin as Curin,

      //  curha as Curha,

      //  waers as Waers,

      //  kurst as Kurst,

      //  afapl as Afapl,

      //  gwgwrt as Gwgwrt,

      //  umrwrt as Umrwrt,

      //  kzrbwb as Kzrbwb,

      //  xanzum as Xanzum,

      //  ctnconcept as Ctnconcept,

      //  kzsrv as Kzsrv,

      //  xxinve as Xxinve,

      //  net_gross_posting_type as NetGrossPostingType,

      //  xgccv as Xgccv,

      //  sureg as Sureg

      _TravelExpenseCountryText.CountryShortName,
      _TravelExpenseCountryText
}where
  spras = $session.system_language