I_WorkPermitOrderBasic

DDL: I_WORKPERMITORDERBASIC SQL: IWRKPMTORDBASIC Type: view BASIC

Work Permit Order

I_WorkPermitOrderBasic is a Basic CDS View that provides data about "Work Permit Order" in SAP S/4HANA. It reads from 1 data source (wcala) and exposes 6 fields with key fields MaintenanceOrderInternalID, WorkPermitInternalID.

Data Sources (1)

SourceAliasJoin Type
wcala _wcala from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IWRKPMTORDBASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Work Permit Order view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrderInternalID wcala fatherobj Object number
KEY WorkPermitInternalID wcala childobj Object number
WorkPermitOrderObjectType wcala fatherart 1st ObjTyp
WorkPermitObjectType wcala childart 2nd ObjTyp
WrkPmtProcessingContext
IsReferenceDocument wcala isreferencedocument

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_WorkPermitOrderBasic.
-- 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: IWRKPMTORDBASIC

CREATE VIEW I_WorkPermitOrderBasic AS
SELECT
  _wcala.fatherobj AS MaintenanceOrderInternalID,
  _wcala.childobj AS WorkPermitInternalID,
  _wcala.fatherart AS WorkPermitOrderObjectType,
  _wcala.childart AS WorkPermitObjectType,
  cast ( 'P' as ptwewrkpmtprocessingcontext preserving type ) AS WrkPmtProcessingContext,
  _wcala.isreferencedocument AS IsReferenceDocument
FROM wcala AS _wcala
;