I_OIL_VehicleEvent
Bulk Transport Vehicle Event
I_OIL_VehicleEvent is a Basic CDS View that provides data about "Bulk Transport Vehicle Event" in SAP S/4HANA. It reads from 1 data source (oijev) and exposes 44 fields with key fields ApplicationArea, TransportationEventObjectID, TransportationEventNumber. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oijev | oijev | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OIL_BulkTransportDriver | _VehicleDriver | _VehicleDriver.BulkTransportDriver = $projection.TransportationVehicleDriver |
| [1..1] | I_OIL_BulkTransportVehicle | _Vehicle | _Vehicle.TransportationVehicle = $projection.TransportationEventObjectID |
| [1..1] | I_OIL_LocationTSWBasic | _Location | _Location.TSWLocationID = $projection.TSWLocationID |
| [1..1] | I_OIL_TranspVehApplAreaVH | _ApplicationArea | _ApplicationArea.ApplicationArea = $projection.ApplicationArea |
| [1..1] | I_OIL_BulkTransptVehEvtTypeVH | _EventType | _EventType.ApplicationArea = $projection.ApplicationArea and _EventType.EventType = $projection.EventType |
| [1..1] | I_OIL_RolePartnerTypeVH | _RolePartnerType | _RolePartnerType.RolePartnerType = $projection.OilPartnerRoleType |
| [1..1] | I_OIL_BulkTransacVehicleTypeVH | _TransactionType | _TransactionType.NominationEventTransactionType = $projection.NominationEventTransactionType |
| [1..1] | I_OIL_BulkTransptVehEvtStsVH | _EventStatus | _EventStatus.EventStatus = $projection.EventStatus |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Bulk Transport Vehicle Event | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.representativeKey | TransportationEventNumber | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.technicalName | IOILBulkTransptVehicleEvent | view | |
| ObjectModel.sapObjectNodeType.name | OIL_BulkTransportVehicleEvent | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ApplicationArea | app_area | Application Area | |
| KEY | TransportationEventObjectID | object_id | Transaction ID | |
| KEY | TransportationEventNumber | event_nr | Event number | |
| EventType | type | Worklist Type | ||
| TransportationVehicleDriver | drivercode | Driver no. | ||
| LocationPartner | cparid | Single-Character Flag | ||
| OilPartnerRoleType | rpart | Role part. type | ||
| TSWLocationID | loc_id | Location ID | ||
| DocumentEventType | doc_type | VAT Document Type | ||
| BulkShipmentEventDocument | doc_number | Tax document number | ||
| NominationEventTransactionType | updflag | Transact. type | ||
| EventSequence | ev_seq | Single-Character Flag | ||
| EventStatus | status | Workflow Status | ||
| EventPlannedStartFromDate | pstdtf | Single-Character Flag | ||
| PlannedStartTimeFrom | psttmf | Single-Character Flag | ||
| PlannedStartDateTo | pstdtt | Single-Character Flag | ||
| EventPlannedStartToTime | psttmt | Single-Character Flag | ||
| PlannedEndDateFrom | peddtf | Single-Character Flag | ||
| EventPlannedEndFromTime | pedtmf | Single-Character Flag | ||
| PlannedEndDateTo | peddtt | Single-Character Flag | ||
| EventPlannedEndToTime | pedtmt | Single-Character Flag | ||
| CreationDate | cre_date | Creation Date | ||
| CreationTime | cre_time | Time Stamp | ||
| CreatedByUser | cre_name | Created By | ||
| LastChangeDate | cha_date | Last Change | ||
| LastChangeTime | cha_time | Time of change | ||
| LastChangedByUser | cha_name | Changed By | ||
| EventActualStartFromDate | astdtf | Strt Date-From | ||
| EventActualStartFromTime | asttmf | Strt Time-From | ||
| EventActualStartToDate | astdtt | Start Date-To | ||
| EventActualStartToTime | asttmt | Start Time - To | ||
| EventActualEndFromDate | aeddtf | Single-Character Flag | ||
| EventActualEndFromTime | aedtmf | Single-Character Flag | ||
| EventActualEndToDate | aeddtt | Single-Character Flag | ||
| EventActualEndToTime | aedtmt | Single-Character Flag | ||
| IndicatorHasEventLongText | longtext | Text Name | ||
| _VehicleDriver | _VehicleDriver | |||
| _Location | _Location | |||
| _ApplicationArea | _ApplicationArea | |||
| _EventType | _EventType | |||
| _RolePartnerType | _RolePartnerType | |||
| _TransactionType | _TransactionType | |||
| _EventStatus | _EventStatus | |||
| _Vehicle | _Vehicle |
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_OIL_VehicleEvent.
-- 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_OIL_VehicleEvent AS
SELECT
app_area AS ApplicationArea,
object_id AS TransportationEventObjectID,
event_nr AS TransportationEventNumber,
type AS EventType,
drivercode AS TransportationVehicleDriver,
cparid AS LocationPartner,
rpart AS OilPartnerRoleType,
loc_id AS TSWLocationID,
doc_type AS DocumentEventType,
doc_number AS BulkShipmentEventDocument,
updflag AS NominationEventTransactionType,
ev_seq AS EventSequence,
status AS EventStatus,
pstdtf AS EventPlannedStartFromDate,
psttmf AS PlannedStartTimeFrom,
pstdtt AS PlannedStartDateTo,
psttmt AS EventPlannedStartToTime,
peddtf AS PlannedEndDateFrom,
pedtmf AS EventPlannedEndFromTime,
peddtt AS PlannedEndDateTo,
pedtmt AS EventPlannedEndToTime,
cre_date AS CreationDate,
cre_time AS CreationTime,
cre_name AS CreatedByUser,
cha_date AS LastChangeDate,
cha_time AS LastChangeTime,
cha_name AS LastChangedByUser,
astdtf AS EventActualStartFromDate,
asttmf AS EventActualStartFromTime,
astdtt AS EventActualStartToDate,
asttmt AS EventActualStartToTime,
aeddtf AS EventActualEndFromDate,
aedtmf AS EventActualEndFromTime,
aeddtt AS EventActualEndToDate,
aedtmt AS EventActualEndToTime,
longtext AS IndicatorHasEventLongText
FROM oijev
LEFT OUTER JOIN I_OIL_BulkTransportDriver AS _VehicleDriver ON _VehicleDriver.BulkTransportDriver = TransportationVehicleDriver -- association [1..1]
LEFT OUTER JOIN I_OIL_BulkTransportVehicle AS _Vehicle ON _Vehicle.TransportationVehicle = TransportationEventObjectID -- association [1..1]
LEFT OUTER JOIN I_OIL_LocationTSWBasic AS _Location ON _Location.TSWLocationID = TSWLocationID -- association [1..1]
LEFT OUTER JOIN I_OIL_TranspVehApplAreaVH AS _ApplicationArea ON _ApplicationArea.ApplicationArea = ApplicationArea -- association [1..1]
LEFT OUTER JOIN I_OIL_BulkTransptVehEvtTypeVH AS _EventType ON _EventType.ApplicationArea = ApplicationArea AND _EventType.EventType = EventType -- association [1..1]
LEFT OUTER JOIN I_OIL_RolePartnerTypeVH AS _RolePartnerType ON _RolePartnerType.RolePartnerType = OilPartnerRoleType -- association [1..1]
LEFT OUTER JOIN I_OIL_BulkTransacVehicleTypeVH AS _TransactionType ON _TransactionType.NominationEventTransactionType = NominationEventTransactionType -- association [1..1]
LEFT OUTER JOIN I_OIL_BulkTransptVehEvtStsVH AS _EventStatus ON _EventStatus.EventStatus = EventStatus -- 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