I_MfgWorkInstructionTP

DDL: I_MFGWORKINSTRUCTIONTP SQL: IMFGWORKINSTTP Type: view TRANSACTIONAL Package: MPE_WI

Work Instruction Transactional View

I_MfgWorkInstructionTP is a Transactional CDS View that provides data about "Work Instruction Transactional View" in SAP S/4HANA. It reads from 1 data source (I_MfgWorkInstruction) and exposes 14 fields with key fields MfgWorkInstruction, MfgWorkInstructionVersCounter. It has 2 associations to related views. Part of development package MPE_WI.

Data Sources (1)

SourceAliasJoin Type
I_MfgWorkInstruction Draft from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_MfgWorkInstructionVersionTP _Version $projection.MfgWorkInstruction = _Version.MfgWorkInstruction and $projection.MfgWorkInstructionVersCounter = _Version.MfgWorkInstructionVersCounter
[1..1] I_MfgWorkInstructionInternalID _WorkInstructionInternalId $projection.MfgWorkInstruction = _WorkInstructionInternalId.MfgWorkInstruction

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IMFGWORKINSTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Work Instruction Transactional View view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.compositionRoot true view
ObjectModel.writeDraftPersistence MPE_WI_D view
ObjectModel.lifecycle.draft.expiryInterval P1D view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.representativeKey MfgWorkInstructionVersCounter view
ObjectModel.entityChangeStateId LastChangeDateTime view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY MfgWorkInstruction I_MfgWorkInstruction MfgWorkInstruction Work Instruction
KEY MfgWorkInstructionVersCounter I_MfgWorkInstruction MfgWorkInstructionVersCounter Version No.
MfgWorkInstructionForEdit I_MfgWorkInstruction MfgWorkInstructionForEdit WorkItem ID
IsDeleted
MfgWorkInstructionRelease I_MfgWorkInstruction MfgWorkInstructionRelease Work Instruction Version Release
CreationTime I_MfgWorkInstruction CreationTime Time of Change
CreationUserName I_MfgWorkInstruction CreationUserName User Name
LastChangeDateTime I_MfgWorkInstruction LastChangeDateTime Timestamp
LastChangedByUser I_MfgWorkInstruction LastChangedByUser User Name
SessionID
MfgWorkInstructionMode
MfgWorkInstructionStatus I_MfgWorkInstruction MfgWorkInstructionStatus WI Status
_Version _Version
_WorkInstructionInternalId _WorkInstructionInternalId

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_MfgWorkInstructionTP.
-- 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: IMFGWORKINSTTP

CREATE VIEW I_MfgWorkInstructionTP AS
SELECT
  Draft.MfgWorkInstruction AS MfgWorkInstruction,
  Draft.MfgWorkInstructionVersCounter AS MfgWorkInstructionVersCounter,
  Draft.MfgWorkInstructionForEdit AS MfgWorkInstructionForEdit,
  cast(' ' as lkenz preserving type) AS IsDeleted,
  Draft.MfgWorkInstructionRelease AS MfgWorkInstructionRelease,
  Draft.CreationTime AS CreationTime,
  Draft.CreationUserName AS CreationUserName,
  Draft.LastChangeDateTime AS LastChangeDateTime,
  Draft.LastChangedByUser AS LastChangedByUser,
  cast('' as abap.sstring( 1024 ) ) AS SessionID,
  Draft.MfgWorkInstructionStatus AS MfgWorkInstructionStatus
FROM I_MfgWorkInstruction AS Draft
LEFT OUTER JOIN I_MfgWorkInstructionVersionTP AS _Version ON MfgWorkInstruction = _Version.MfgWorkInstruction AND MfgWorkInstructionVersCounter = _Version.MfgWorkInstructionVersCounter  -- association [1..*]
LEFT OUTER JOIN I_MfgWorkInstructionInternalID AS _WorkInstructionInternalId ON MfgWorkInstruction = _WorkInstructionInternalId.MfgWorkInstruction  -- association [1..1]
;