I_TripPurchaseContractVH
Value Help for Purchase Contract
I_TripPurchaseContractVH is a Basic CDS View that provides data about "Value Help for Purchase Contract" in SAP S/4HANA. It reads from 4 data sources (ekko, I_TripPurchaseDocItemVH, oij_el_cp_layt, oij_el_doc_mot) and exposes 10 fields with key fields PurchaseContract, PurchaseContractItem. It has 4 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| ekko | ekko | from |
| I_TripPurchaseDocItemVH | I_TripPurchaseDocItemVH | left_outer |
| oij_el_cp_layt | oij_el_cp_layt | left_outer |
| oij_el_doc_mot | oij_el_doc_mot | left_outer |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_NominationVehicleIdVH | _VehicleId | $projection.VehicleId = _VehicleId.VehicleId |
| [0..1] | I_Supplier | _ConnectingShipper | $projection.ConnectingShipper = _ConnectingShipper.Supplier |
| [0..1] | I_Supplier | _ConnectingCarrier | $projection.ConnectingCarrier = _ConnectingCarrier.Supplier |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITRPPCNTRT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Value Help for Purchase Contract | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseContract | ekko | ebeln | Purchase Contract |
| KEY | PurchaseContractItem | Purchase Contract Item | ||
| VehicleId | oij_el_cp_layt | vehicle | Vehicle Number | |
| ConnectingCarrier | oij_el_doc_mot | co_carr | Single-Character Flag | |
| ConnectingShipper | oij_el_doc_mot | co_ship | Single-Character Flag | |
| Supplier | ekko | lifnr | Vendor no. | |
| _VehicleId | _VehicleId | |||
| _ConnectingShipper | _ConnectingShipper | |||
| _ConnectingCarrier | _ConnectingCarrier | |||
| _Supplier | _Supplier |
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_TripPurchaseContractVH.
-- 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.
-- SQL view name: ITRPPCNTRT
CREATE VIEW I_TripPurchaseContractVH AS
SELECT
ekko.ebeln AS PurchaseContract,
substring(I_TripPurchaseDocItemVH.PurchaseContractItem,2,6) AS PurchaseContractItem,
oij_el_cp_layt.vehicle AS VehicleId,
oij_el_doc_mot.co_carr AS ConnectingCarrier,
oij_el_doc_mot.co_ship AS ConnectingShipper,
ekko.lifnr AS Supplier
FROM ekko
LEFT OUTER JOIN I_TripPurchaseDocItemVH ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN oij_el_cp_layt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN oij_el_doc_mot ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_NominationVehicleIdVH AS _VehicleId ON VehicleId = _VehicleId.VehicleId -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _ConnectingShipper ON ConnectingShipper = _ConnectingShipper.Supplier -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _ConnectingCarrier ON ConnectingCarrier = _ConnectingCarrier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- 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