I_TravelExpenseTripChainData

DDL: I_TRAVELEXPENSETRIPCHAINDATA Type: view_entity BASIC

Trvl Expn Trip Chain Basic Data

I_TravelExpenseTripChainData is a Basic CDS View that provides data about "Trvl Expn Trip Chain Basic Data" in SAP S/4HANA. It reads from 1 data source (ptrv_trip_chain) and exposes 13 fields with key fields PersonnelNumber, TravelTripNumber.

Data Sources (1)

SourceAliasJoin Type
ptrv_trip_chain ptrv_trip_chain from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Trvl Expn Trip Chain Basic Data view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY PersonnelNumber pernr Personnel no.
KEY TravelTripNumber reinr Trip Number
TravelExpnSequentialNumber hdvrs Sequential no.
PeriodNumberOfTrip perio Time unit
TrvlAccountingAndTaxationMeth rule_tag Rule Indicator
DestinationAssignment zikey Dest.Assignment
TripProvisionVariant morei Trip Prov. Variant
CityName ort01 Province
StreetName Street/House
PostalCode pstlz Postal Code
HouseNumber house_num House Number
DistrictName ort02 District
TravelLocationCode city_code Japan City Code

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_TravelExpenseTripChainData.
-- 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_TravelExpenseTripChainData AS
SELECT
  pernr AS PersonnelNumber,
  reinr AS TravelTripNumber,
  hdvrs AS TravelExpnSequentialNumber,
  perio AS PeriodNumberOfTrip,
  rule_tag AS TrvlAccountingAndTaxationMeth,
  zikey AS DestinationAssignment,
  morei AS TripProvisionVariant,
  ort01 AS CityName,
  cast( stras as vdm_streetandhousenmbr preserving type ) AS StreetName,
  pstlz AS PostalCode,
  house_num AS HouseNumber,
  ort02 AS DistrictName,
  city_code AS TravelLocationCode
FROM ptrv_trip_chain
;