E_WrkPmtApprovalHistoryDraft

DDL: E_WRKPMTAPPROVALHISTORYDRAFT Type: view_entity EXTENSION

Work Permit Approval Segment - Extn

E_WrkPmtApprovalHistoryDraft is a Extension CDS View that provides data about "Work Permit Approval Segment - Extn" in SAP S/4HANA. It reads from 1 data source (wcagns_d) and exposes 4 fields with key fields WorkPermitInternalID, WrkPermitApprvlSgmt, NumberOfWrkPermitApprovals, DraftUUID.

Data Sources (1)

SourceAliasJoin Type
wcagns_d Persistence from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Work Permit Approval Segment - Extn view
VDM.viewType #EXTENSION view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY WorkPermitInternalID wcagns_d workpermitinternalid Object number
KEY WrkPermitApprvlSgmt wcagns_d wrkpermitapprvlsgmt Counter
KEY NumberOfWrkPermitApprovals wcagns_d numberofwrkpermitapprovals Counter
KEY DraftUUID wcagns_d draftuuid UUID

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 E_WrkPmtApprovalHistoryDraft.
-- 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 E_WrkPmtApprovalHistoryDraft AS
SELECT
  Persistence.workpermitinternalid AS WorkPermitInternalID,
  Persistence.wrkpermitapprvlsgmt AS WrkPermitApprvlSgmt,
  Persistence.numberofwrkpermitapprovals AS NumberOfWrkPermitApprovals,
  Persistence.draftuuid AS DraftUUID
FROM wcagns_d AS Persistence
;