C_MfgWorkInstructionVersionTP

DDL: C_MFGWORKINSTRUCTIONVERSIONTP SQL: CMFGWIVERSION Type: view CONSUMPTION

Work Instruction Version Consumption View

C_MfgWorkInstructionVersionTP is a Consumption CDS View that provides data about "Work Instruction Version Consumption View" in SAP S/4HANA. It reads from 1 data source (I_MfgWorkInstructionVersionTP) and exposes 12 fields with key fields MfgWorkInstruction, MfgWorkInstructionVersCounter, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgWorkInstructionVersionTP WorkInstructionVersion from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_MfgWorkInstructionTP _WorkInstruction $projection.MfgWorkInstruction = _WorkInstruction.MfgWorkInstruction and $projection.MfgWorkInstructionVersCounter = _WorkInstruction.MfgWorkInstructionVersCounter

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CMFGWIVERSION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Work Instruction Version Consumption View view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY MfgWorkInstruction I_MfgWorkInstructionVersionTP MfgWorkInstruction Work Instruction
KEY MfgWorkInstructionVersCounter I_MfgWorkInstructionVersionTP MfgWorkInstructionVersCounter Version No.
KEY Language I_MfgWorkInstructionVersionTP Language Report Text Language
MfgWorkInstructionContentUUID I_MfgWorkInstructionVersionTP MfgWorkInstructionContentUUID
MfgWorkInstructionForEdit I_MfgWorkInstructionVersionTP MfgWorkInstructionForEdit
CreationTime I_MfgWorkInstructionVersionTP CreationTime Time of Change
CreationUserName I_MfgWorkInstructionVersionTP CreationUserName User Name
LastChangeDateTime I_MfgWorkInstructionVersionTP LastChangeDateTime Timestamp
LastChangedByUser I_MfgWorkInstructionVersionTP LastChangedByUser User Name
MfgWorkInstructionContent I_MfgWorkInstructionVersionTP MfgWorkInstructionContent
MfgWorkInstructionMode I_MfgWorkInstructionVersionTP MfgWorkInstructionMode
_WorkInstruction _WorkInstruction

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 C_MfgWorkInstructionVersionTP.
-- 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: CMFGWIVERSION

CREATE VIEW C_MfgWorkInstructionVersionTP AS
SELECT
  WorkInstructionVersion.MfgWorkInstruction AS MfgWorkInstruction,
  WorkInstructionVersion.MfgWorkInstructionVersCounter AS MfgWorkInstructionVersCounter,
  WorkInstructionVersion.Language AS Language,
  WorkInstructionVersion.MfgWorkInstructionContentUUID AS MfgWorkInstructionContentUUID,
  WorkInstructionVersion.MfgWorkInstructionForEdit AS MfgWorkInstructionForEdit,
  WorkInstructionVersion.CreationTime AS CreationTime,
  WorkInstructionVersion.CreationUserName AS CreationUserName,
  WorkInstructionVersion.LastChangeDateTime AS LastChangeDateTime,
  WorkInstructionVersion.LastChangedByUser AS LastChangedByUser,
  WorkInstructionVersion.MfgWorkInstructionContent AS MfgWorkInstructionContent,
  WorkInstructionVersion.MfgWorkInstructionMode AS MfgWorkInstructionMode
FROM I_MfgWorkInstructionVersionTP AS WorkInstructionVersion
LEFT OUTER JOIN C_MfgWorkInstructionTP AS _WorkInstruction ON MfgWorkInstruction = _WorkInstruction.MfgWorkInstruction AND MfgWorkInstructionVersCounter = _WorkInstruction.MfgWorkInstructionVersCounter  -- association [1..1]
;