C_WorkPermitQuery
Work Permit - Query
C_WorkPermitQuery is a Consumption CDS View that provides data about "Work Permit - Query" in SAP S/4HANA. It reads from 1 data source (I_WorkPermitCube) and exposes 17 fields with key field WorkPermit. Part of development package VDM_EAM_WCM_PERMIT_TO_WORK.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkPermitCube | I_WorkPermitCube | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Work Permit - Query | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Analytics.query | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_QUERY | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkPermit | WorkPermit | Application | |
| WorkPermitType | WorkPermitType | Work Permit Type | ||
| WorkPermitTypeDescription | WorkPermitTypeDescription | Work Permit Usg Desc | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| WorkPermitProcessingStatus | WorkPermitProcessingStatus | Processing State | ||
| WorkPermitProcessingStatusText | WorkPermitProcessingStatusText | Short Description | ||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| TechObjAuthorizationGroup | TechObjAuthorizationGroup | AuthorizGroup | ||
| FunctionalLocation | FunctionalLocation | Object ID | ||
| Equipment | Equipment | Equipment check | ||
| OperationWorkCenterInternalID | OperationWorkCenterInternalID | Object ID | ||
| WorkCenter | WorkCenter | Work Center | ||
| WorkCenterText | WorkCenterText | Work Center Text | ||
| MaintenancePlant | MaintenancePlant | Plant | ||
| WrkPermitValidFrmDate | WrkPermitValidFrmDate | Valid from | ||
| WrkPermitValidToDate | WrkPermitValidToDate | Valid to | ||
| NumberOfOpenWorkPermits | NumberOfOpenWorkPermits |
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 C_WorkPermitQuery.
-- 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 C_WorkPermitQuery AS
SELECT
WorkPermit,
WorkPermitType,
WorkPermitTypeDescription,
MaintenancePlanningPlant,
WorkPermitProcessingStatus,
WorkPermitProcessingStatusText,
MaintenancePlannerGroup,
TechObjAuthorizationGroup,
FunctionalLocation,
Equipment,
OperationWorkCenterInternalID,
WorkCenter,
WorkCenterText,
MaintenancePlant,
WrkPermitValidFrmDate,
WrkPermitValidToDate,
NumberOfOpenWorkPermits
FROM I_WorkPermitCube
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA