I_TrvlAprvdFutureRequest
Future Approved Travel Requests
I_TrvlAprvdFutureRequest is a Basic CDS View that provides data about "Future Approved Travel Requests" in SAP S/4HANA. It reads from 2 data sources (ptrv_head, ftpt_req_head) and exposes 10 fields with key fields PersonnelNumber, TravelVersionNumber, TrvlReqArePlanReq, TravelTripNumber.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ptrv_head | ptrv_head | from |
| ftpt_req_head | travelrequest | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| EndUserText.label | Future Approved Travel Requests | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | TravelTripNumber | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonnelNumber | ftpt_req_head | pernr | Personnel no. |
| KEY | TravelVersionNumber | ftpt_req_head | requestvrs | Version number |
| KEY | TrvlReqArePlanReq | ftpt_req_head | plan_request | Plan Request ID |
| KEY | TravelTripNumber | ftpt_req_head | reinr | Trip Number |
| TripStartDate | ||||
| TripEndDate | ||||
| TripReasonText | ||||
| TripDestination | ||||
| Country | ||||
| TravelEmployeeUserIdentifier | communication | usrid | System ID |
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_TrvlAprvdFutureRequest.
-- 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_TrvlAprvdFutureRequest AS
SELECT
travelrequest.pernr AS PersonnelNumber,
travelrequest.requestvrs AS TravelVersionNumber,
travelrequest.plan_request AS TrvlReqArePlanReq,
travelrequest.reinr AS TravelTripNumber,
cast( travelrequest.date_beg as vdm_datv1 preserving type ) AS TripStartDate,
cast( travelrequest.date_end as vdm_datb1 preserving type ) AS TripEndDate,
cast( travelrequest.request_reason as vdm_reason preserving type ) AS TripReasonText,
cast( travelrequest.location_end as vdm_destination preserving type ) AS TripDestination,
cast( travelrequest.country_end as vdm_ctry_reg preserving type ) AS Country,
communication.usrid AS TravelEmployeeUserIdentifier
FROM ptrv_head
INNER JOIN ftpt_req_head AS travelrequest ON /* join condition not captured in parsed metadata */
;
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