A_WorkPermitOrder

DDL: A_WORKPERMITORDER Type: view_entity CONSUMPTION

WorkPermitOrder

A_WorkPermitOrder is a Consumption CDS View that provides data about "WorkPermitOrder" in SAP S/4HANA. It reads from 1 data source (R_WorkPermitOrderTP) and exposes 10 fields with key fields MaintenanceOrderInternalID, WorkPermitInternalID. It is exposed through 1 OData service (API_WORKPERMIT).

Data Sources (1)

SourceAliasJoin Type
R_WorkPermitOrderTP R_WorkPermitOrderTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label WorkPermitOrder view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
OData.entityType.name WorkPermitOrder_Type view

OData Services (1)

ServiceBindingVersionContractRelease
API_WORKPERMIT

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrderInternalID MaintenanceOrderInternalID Object number
KEY WorkPermitInternalID WorkPermitInternalID Object number
WorkPermit WorkPermit Application
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenanceOrderType MaintenanceOrderType Order Type
MaintenanceOrder MaintenanceOrder Order
WorkPermitObjectType WorkPermitObjectType 2nd ObjTyp
WorkPermitOrderObjectType WorkPermitOrderObjectType 1st ObjTyp
WrkPmtProcessingContext WrkPmtProcessingContext Processing Context
MaintOrdCnctntdActvSystSts MaintOrdCnctntdActvSystSts Concatenated System Status

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 A_WorkPermitOrder.
-- 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 A_WorkPermitOrder AS
SELECT
  MaintenanceOrderInternalID,
  WorkPermitInternalID,
  WorkPermit,
  MaintenancePlanningPlant,
  MaintenanceOrderType,
  MaintenanceOrder,
  WorkPermitObjectType,
  WorkPermitOrderObjectType,
  WrkPmtProcessingContext,
  MaintOrdCnctntdActvSystSts
FROM R_WorkPermitOrderTP
;