I_VMSVehicleActionControl

DDL: I_VMSVEHICLEACTIONCONTROL Type: view_entity BASIC

Action Matrix

I_VMSVehicleActionControl is a Basic CDS View that provides data about "Action Matrix" in SAP S/4HANA. It reads from 2 data sources (cvlc03, cvlc04) and exposes 11 fields with key fields VMSVehicleActionControl, VMSVehicleOldStatus, VMSVehicleAction. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
cvlc03 cvlc03 inner
cvlc04 cvlc04 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_VMSVehicleStatusText _vehioldstatus $projection.VMSVehicleOldStatus = _vehioldstatus.VMSVehicleStatus and _vehioldstatus.Language = $session.system_language
[0..1] I_VMSVehicleStatusText _vehinewstatus $projection.VMSVehicleNewStatus = _vehinewstatus.VMSVehicleStatus and _vehinewstatus.Language = $session.system_language
[0..1] I_VMSVehicleActionText _vehiactiontext $projection.VMSVehicleAction = _vehiactiontext.VMSVehicleAction and _vehiactiontext.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Action Matrix view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY VMSVehicleActionControl cvlc04 cntrl Call Control
KEY VMSVehicleOldStatus cvlc04 statu_old Old Stat.
KEY VMSVehicleAction cvlc04 aktion Action
VMSVehicleNewStatus cvlc04 statu_new New Status
VMSVehicleIsCheckEntry cvlc04 checkentry Check Entry
VMSVehicleIsPrimaryAction cvlc03 mmaktion Primary Action
VMSVehicleIsSecondaryAction cvlc03 sdaktion Secondary Act.
VMSVehicleIsOutcomeBasedAction cvlc03 outcomebasedaction
VMSVehicleOldStatusText _vehioldstatus VMSVehicleStatusText
VMSVehicleNewStatusText _vehinewstatus VMSVehicleStatusText
VMSVehicleActionText _vehiactiontext VMSVehicleActionText

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_VMSVehicleActionControl.
-- 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_VMSVehicleActionControl AS
SELECT
  cvlc04.cntrl AS VMSVehicleActionControl,
  cvlc04.statu_old AS VMSVehicleOldStatus,
  cvlc04.aktion AS VMSVehicleAction,
  cvlc04.statu_new AS VMSVehicleNewStatus,
  cvlc04.checkentry AS VMSVehicleIsCheckEntry,
  cvlc03.mmaktion AS VMSVehicleIsPrimaryAction,
  cvlc03.sdaktion AS VMSVehicleIsSecondaryAction,
  cvlc03.outcomebasedaction AS VMSVehicleIsOutcomeBasedAction,
  _vehioldstatus.VMSVehicleStatusText AS VMSVehicleOldStatusText,
  _vehinewstatus.VMSVehicleStatusText AS VMSVehicleNewStatusText,
  _vehiactiontext.VMSVehicleActionText AS VMSVehicleActionText
FROM cvlc04
INNER JOIN cvlc03 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_VMSVehicleStatusText AS _vehioldstatus ON VMSVehicleOldStatus = _vehioldstatus.VMSVehicleStatus AND _vehioldstatus.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_VMSVehicleStatusText AS _vehinewstatus ON VMSVehicleNewStatus = _vehinewstatus.VMSVehicleStatus AND _vehinewstatus.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_VMSVehicleActionText AS _vehiactiontext ON VMSVehicleAction = _vehiactiontext.VMSVehicleAction AND _vehiactiontext.Language = $session.system_language  -- association [0..1]
;