I_MaintOrdOpInternalID

DDL: I_MAINTORDOPINTERNALID SQL: IMAINTORDOPINTID Type: view BASIC

Maintenance Order Operation internal key

I_MaintOrdOpInternalID is a Basic CDS View that provides data about "Maintenance Order Operation internal key" in SAP S/4HANA. It reads from 2 data sources (afko, afvc) and exposes 5 fields with key fields MaintOrderRoutingNumber, MaintenanceOrderRoutingNode.

Data Sources (2)

SourceAliasJoin Type
afko afko from
afvc afvc inner

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMAINTORDOPINTID view
EndUserText.label Maintenance Order Operation internal key view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
ObjectModel.representativeKey MaintOrderRoutingNumber view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY MaintOrderRoutingNumber afko aufpl TaskList No.Ops
KEY MaintenanceOrderRoutingNode afvc aplzl Plan No.f.Oper.
SuperiorOperationInternalID afvc sumnr Sup. Op. Node
MaintenanceOrder afko aufnr SettlementOrder
MaintenanceOrderOperation

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_MaintOrdOpInternalID.
-- 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: IMAINTORDOPINTID

CREATE VIEW I_MaintOrdOpInternalID AS
SELECT
  afko.aufpl AS MaintOrderRoutingNumber,
  afvc.aplzl AS MaintenanceOrderRoutingNode,
  afvc.sumnr AS SuperiorOperationInternalID,
  afko.aufnr AS MaintenanceOrder,
  cast( afvc.vornr as maintenanceorderoperation preserving type ) AS MaintenanceOrderOperation
FROM afko
INNER JOIN afvc ON /* join condition not captured in parsed metadata */
;