I_TravelAddlDestination
Additional Travel Destination
I_TravelAddlDestination is a Composite CDS View that provides data about "Additional Travel Destination" in SAP S/4HANA. It reads from 1 data source (I_TravelAddlDestData) and exposes 52 fields with key fields PersonnelNumber, TravelTripNumber, DestinationAssignment, DestinationType, TravelReqUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TravelAddlDestData | I_TravelAddlDestData | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TravelActivityPlanningVH | _TravelActivityPlanningVH | I_TravelAddlDestData.TripActivityType = _TravelActivityPlanningVH.TravelRequestTripActivityType |
| [0..1] | C_TravelCountryRegionVH | _TravelCountryRegionVH | $projection.TravelCountryRegion = _TravelCountryRegionVH.TripRegionCountry and $projection.PersonnelNumber = _TravelCountryRegionVH.PersonnelNumber and $projection.TravelTripNumber = _TravelCountryRegionVH.TravelTripNumber and $projection.TravelReqUUID = _TravelCountryRegionVH.TravelReqUUID |
| [0..1] | E_TravelAddlDestData | _ExtensionAddlDest | $projection.PersonnelNumber = _ExtensionAddlDest.PersonnelNumber and $projection.TravelTripNumber = _ExtensionAddlDest.TravelTripNumber and $projection.TravelExpnSequentialNumber = _ExtensionAddlDest.TravelExpnSequentialNumber and $projection.DestinationAssignment = _ExtensionAddlDest.DestinationAssignment and $projection.DestinationType = _ExtensionAddlDest.DestinationType and 'PL' = _ExtensionAddlDest.TripSchema |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Additional Travel Destination | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | ADD | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 350 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2240 | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonnelNumber | PersonnelNumber | Personnel No. | |
| KEY | TravelTripNumber | TravelTripNumber | Trip Number | |
| KEY | DestinationAssignment | DestinationAssignment | Destination Assignment | |
| KEY | DestinationType | DestinationType | Destination type | |
| KEY | TravelReqUUID | |||
| KEY | SeqReqUUID | |||
| TravelExpnSequentialNumber | TravelExpnSequentialNumber | Sequential Number | ||
| TripBeginsOnDate | TripBeginsOnDate | Start Date | ||
| TripBeginsAtTime | TripBeginsAtTime | Trip Begins At | ||
| AddressNumber | AddressNumber | Src Address No | ||
| CityName | CityName | Name | ||
| DistrictName | DistrictName | District | ||
| PostalCode | PostalCode | Postal Code | ||
| CityCodeName | CityCodeName | City Code | ||
| TravelCommunityCityName | TravelCommunityCityName | City | ||
| TravelCommunityDistrictName | TravelCommunityDistrictName | District | ||
| TravelCommunityPostCode | TravelCommunityPostCode | Postal Code | ||
| StreetName | StreetName | Text | ||
| HouseNumber | HouseNumber | House Number | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| MealsPerDiemHasTxn | MealsPerDiemHasTxn | Auto Acmd Meals Tax | ||
| MealsPerDiemHasMnlTxn | MealsPerDiemHasMnlTxn | Manual Meals Taxation | ||
| AcmdtnPerDiemHasMnlTxn | AcmdtnPerDiemHasMnlTxn | Manual Acmd Taxation | ||
| TripDestTypeName | TripDestTypeName | Event in Itinerary | ||
| CountryRegionName | CountryRegionName | Country / Region | ||
| TripTypeStatutoryName | TripTypeStatutoryName | Trip Type Statutory Name | ||
| TripTypeEnterpriseName | TripTypeEnterpriseName | Trip Type Enterprise Name | ||
| AddlDestTypeOfTripActyName | AddlDestTypeOfTripActyName | Trip Activity Type Name | ||
| AbsenceTypeName | AbsenceTypeName | Absence Type Name | ||
| AllowanceTypeName | AllowanceTypeName | Allowance Type Name | ||
| TrvlReqSprtnAllwncName | TrvlReqSprtnAllwncName | Spouse Separation Allowance Name | ||
| SleepAtHomeName | SleepAtHomeName | Sleep at Home Name | ||
| DurnOfPrvtTripBreakName | DurnOfPrvtTripBreakName | Duration of Private Trip Break Name | ||
| TripReasonText | TripReasonText | Reason | ||
| TripDestination | TripDestination | Destination | ||
| TripActivityTypeName | ||||
| TripRegion | TripRegion | Trip Region | ||
| AddlDestSleepAtHome | AddlDestSleepAtHome | Night at Home | ||
| AddlDestDurnOfPrvtTripBreak | AddlDestDurnOfPrvtTripBreak | Private Trip Break | ||
| NrOfPerDiemNights | NrOfPerDiemNights | PD Nights | ||
| AddlDestAbsenceType | AddlDestAbsenceType | Abs. Type | ||
| AddlDestAllowanceType | AddlDestAllowanceType | Allowance Type | ||
| TrvlReqSprtnAllwnc | TrvlReqSprtnAllwnc | Spouse | ||
| AcmdtnIsChargeable | AcmdtnIsChargeable | Chargeable Accommodations | ||
| TripDestinationLong | TripDestinationLong | Destination | ||
| TripItineraryNumber | TripItineraryNumber | Trip Segment Number | ||
| LastChangeDateTime | ||||
| AddlDestLoclLastChgdDteTme | ||||
| TravelCountryRegion | TravelCountryRegion | Country / Region | ||
| _TravelRequest | _TravelRequest | |||
| _TravelCountryRegionVH | _TravelCountryRegionVH |
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_TravelAddlDestination.
-- 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_TravelAddlDestination AS
SELECT
PersonnelNumber,
TravelTripNumber,
DestinationAssignment,
DestinationType,
cast ( hextobin('00000000000000000000000000000000') as sysuuid_x16 preserving type ) AS TravelReqUUID,
cast ( hextobin('00000000000000000000000000000000') as sysuuid_x16 preserving type ) AS SeqReqUUID,
TravelExpnSequentialNumber,
TripBeginsOnDate,
TripBeginsAtTime,
AddressNumber,
CityName,
DistrictName,
PostalCode,
CityCodeName,
TravelCommunityCityName,
TravelCommunityDistrictName,
TravelCommunityPostCode,
StreetName,
HouseNumber,
Country,
Region,
MealsPerDiemHasTxn,
MealsPerDiemHasMnlTxn,
AcmdtnPerDiemHasMnlTxn,
TripDestTypeName,
CountryRegionName,
TripTypeStatutoryName,
TripTypeEnterpriseName,
AddlDestTypeOfTripActyName,
AbsenceTypeName,
AllowanceTypeName,
TrvlReqSprtnAllwncName,
SleepAtHomeName,
DurnOfPrvtTripBreakName,
TripReasonText,
TripDestination,
coalesce( cast(_TravelActivityPlanningVH.TripActivityTypeName as vdm_plan_activity_name preserving type ), ' ' ) AS TripActivityTypeName,
TripRegion,
AddlDestSleepAtHome,
AddlDestDurnOfPrvtTripBreak,
NrOfPerDiemNights,
AddlDestAbsenceType,
AddlDestAllowanceType,
TrvlReqSprtnAllwnc,
AcmdtnIsChargeable,
TripDestinationLong,
TripItineraryNumber,
cast(tstmp_current_utctimestamp() as vdm_lastchangedon ) AS LastChangeDateTime,
cast(0.0000000 as abp_lastchange_tstmpl) AS AddlDestLoclLastChgdDteTme,
TravelCountryRegion
FROM I_TravelAddlDestData
LEFT OUTER JOIN I_TravelActivityPlanningVH AS _TravelActivityPlanningVH ON I_TravelAddlDestData.TripActivityType = _TravelActivityPlanningVH.TravelRequestTripActivityType -- association [0..1]
LEFT OUTER JOIN C_TravelCountryRegionVH AS _TravelCountryRegionVH ON TravelCountryRegion = _TravelCountryRegionVH.TripRegionCountry AND PersonnelNumber = _TravelCountryRegionVH.PersonnelNumber AND TravelTripNumber = _TravelCountryRegionVH.TravelTripNumber AND TravelReqUUID = _TravelCountryRegionVH.TravelReqUUID -- association [0..1]
LEFT OUTER JOIN E_TravelAddlDestData AS _ExtensionAddlDest ON PersonnelNumber = _ExtensionAddlDest.PersonnelNumber AND TravelTripNumber = _ExtensionAddlDest.TravelTripNumber AND TravelExpnSequentialNumber = _ExtensionAddlDest.TravelExpnSequentialNumber AND DestinationAssignment = _ExtensionAddlDest.DestinationAssignment AND DestinationType = _ExtensionAddlDest.DestinationType AND 'PL' = _ExtensionAddlDest.TripSchema -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA