I_TravelStatisticAmount

DDL: I_TRAVELSTATISTICAMOUNT Type: view_entity COMPOSITE

Trvl Expense Trip Statistics and Amounts

I_TravelStatisticAmount is a Composite CDS View that provides data about "Trvl Expense Trip Statistics and Amounts" in SAP S/4HANA. It reads from 1 data source (I_TravelStatisticAmountData) and exposes 8 fields with key fields PersonnelNumber, TravelTripNumber, PeriodNumberOfTrip.

Data Sources (1)

SourceAliasJoin Type
I_TravelStatisticAmountData I_TravelStatisticAmountData from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey TravelTripNumber view
EndUserText.label Trvl Expense Trip Statistics and Amounts view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY PersonnelNumber PersonnelNumber Personnel No.
KEY TravelTripNumber TravelTripNumber Trip Number
KEY PeriodNumberOfTrip PeriodNumberOfTrip Period Number
PaymentCurrency PaymentCurrency Payment Currency
TrvlExpnReimbursementAmount Reimbursement Amount
TravelExpenseTotalAmount Total Cost
MealsPerDiemReimbmtAmount Meals per Diem
AcmdtnPerDiemReimbmtAmount Accommodations per Diem

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_TravelStatisticAmount.
-- 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.

CREATE VIEW I_TravelStatisticAmount AS
SELECT
  PersonnelNumber,
  TravelTripNumber,
  PeriodNumberOfTrip,
  PaymentCurrency,
  sum(TrvlExpnReimbursementAmount) AS TrvlExpnReimbursementAmount,
  sum(TravelExpenseTotalAmount) AS TravelExpenseTotalAmount,
  sum(MealsPerDiemReimbmtAmount) AS MealsPerDiemReimbmtAmount,
  sum(AcmdtnPerDiemReimbmtAmount) AS AcmdtnPerDiemReimbmtAmount
FROM I_TravelStatisticAmountData
;