R_TrvlReqEstimatedCostDraft
TrvlReq Estimated Cost Draft
R_TrvlReqEstimatedCostDraft is a Basic CDS View that provides data about "TrvlReq Estimated Cost Draft" in SAP S/4HANA. It reads from 1 data source (trvs4_estcost_d) and exposes 24 fields with key fields PersonnelNumber, TravelTripNumber, TravelReqUUID, SeqReqUUID, TravelMedium. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| trvs4_estcost_d | EstimatedCostDraft | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_TrvlReqEstimatedCostDraft | _ExtensionEstCost | $projection.PersonnelNumber = _ExtensionEstCost.PersonnelNumber and $projection.TravelTripNumber = _ExtensionEstCost.TravelTripNumber and $projection.TravelReqUUID = _ExtensionEstCost.TravelReqUUID and $projection.SeqReqUUID = _ExtensionEstCost.SeqReqUUID and $projection.TravelMedium = _ExtensionEstCost.TravelMedium |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | TrvlReq Estimated Cost Draft | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | TEC | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 350 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2240 | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonnelNumber | trvs4_estcost_d | personnelnumber | Personnel No. |
| KEY | TravelTripNumber | trvs4_estcost_d | traveltripnumber | Trip Number |
| KEY | TravelReqUUID | trvs4_estcost_d | travelrequuid | UUID |
| KEY | SeqReqUUID | trvs4_estcost_d | seqrequuid | UUID |
| KEY | TravelMedium | trvs4_estcost_d | travelmedium | Travel Mediums |
| TravelExpnSequentialNumber | trvs4_estcost_d | travelexpnsequentialnumber | Sequential Number | |
| TravelMediumCategory | trvs4_estcost_d | travelmediumcategory | Category | |
| IsReadOnly | trvs4_estcost_d | isreadonly | Checkbox | |
| TravelMediumType | trvs4_estcost_d | travelmediumtype | Type | |
| EstimatedCost | trvs4_estcost_d | estimatedcost | Total Estimated Cost | |
| Currency | trvs4_estcost_d | currency | Valuation Crcy | |
| SumLineIsTotal | trvs4_estcost_d | sumlineistotal | Checkbox | |
| EstimatedCostCategoryName | trvs4_estcost_d | estimatedcostcategoryname | Category | |
| EstimatedCostIsApproved | trvs4_estcost_d | estimatedcostisapproved | Approval Required | |
| EstdCostSortSequenceValue | trvs4_estcost_d | estdcostsortsequencevalue | Sorting | |
| EstdCostSortAsIntegerValue | trvs4_estcost_d | EstdCostSortAsIntegerValue | INT1 | |
| Criticality | trvs4_estcost_d | criticality | Status Rating | |
| LastChangeDateTime | trvs4_estcost_d | lastchangedatetime | Timestamp | |
| EstdCostLoclLastChgdDteTme | trvs4_estcost_d | estdcostlocllastchgddtetme | Changed On | |
| DraftEntityCreationDateTime | trvs4_estcost_d | draftentitycreationdatetime | Draft Created On | |
| DraftEntityLastChangeDateTime | trvs4_estcost_d | draftentitylastchangedatetime | Draft Last Changed On | |
| DraftAdministrativeDataUUID | trvs4_estcost_d | draftadministrativedatauuid | UUID | |
| DraftEntityOperationCode | trvs4_estcost_d | draftentityoperationcode | Draft - Operation Code | |
| HasActiveEntity | trvs4_estcost_d | hasactiveentity | TRUE |
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 R_TrvlReqEstimatedCostDraft.
-- 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 R_TrvlReqEstimatedCostDraft AS
SELECT
EstimatedCostDraft.personnelnumber AS PersonnelNumber,
EstimatedCostDraft.traveltripnumber AS TravelTripNumber,
EstimatedCostDraft.travelrequuid AS TravelReqUUID,
EstimatedCostDraft.seqrequuid AS SeqReqUUID,
EstimatedCostDraft.travelmedium AS TravelMedium,
EstimatedCostDraft.travelexpnsequentialnumber AS TravelExpnSequentialNumber,
EstimatedCostDraft.travelmediumcategory AS TravelMediumCategory,
EstimatedCostDraft.isreadonly AS IsReadOnly,
EstimatedCostDraft.travelmediumtype AS TravelMediumType,
EstimatedCostDraft.estimatedcost AS EstimatedCost,
EstimatedCostDraft.currency AS Currency,
EstimatedCostDraft.sumlineistotal AS SumLineIsTotal,
EstimatedCostDraft.estimatedcostcategoryname AS EstimatedCostCategoryName,
EstimatedCostDraft.estimatedcostisapproved AS EstimatedCostIsApproved,
EstimatedCostDraft.estdcostsortsequencevalue AS EstdCostSortSequenceValue,
EstimatedCostDraft.EstdCostSortAsIntegerValue AS EstdCostSortAsIntegerValue,
EstimatedCostDraft.criticality AS Criticality,
EstimatedCostDraft.lastchangedatetime AS LastChangeDateTime,
EstimatedCostDraft.estdcostlocllastchgddtetme AS EstdCostLoclLastChgdDteTme,
EstimatedCostDraft.draftentitycreationdatetime AS DraftEntityCreationDateTime,
EstimatedCostDraft.draftentitylastchangedatetime AS DraftEntityLastChangeDateTime,
EstimatedCostDraft.draftadministrativedatauuid AS DraftAdministrativeDataUUID,
EstimatedCostDraft.draftentityoperationcode AS DraftEntityOperationCode,
EstimatedCostDraft.hasactiveentity AS HasActiveEntity
FROM trvs4_estcost_d AS EstimatedCostDraft
LEFT OUTER JOIN E_TrvlReqEstimatedCostDraft AS _ExtensionEstCost ON PersonnelNumber = _ExtensionEstCost.PersonnelNumber AND TravelTripNumber = _ExtensionEstCost.TravelTripNumber AND TravelReqUUID = _ExtensionEstCost.TravelReqUUID AND SeqReqUUID = _ExtensionEstCost.SeqReqUUID AND TravelMedium = _ExtensionEstCost.TravelMedium -- association [1..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