I_PermitToWorkProfile
Planning Plant Settings for PTW profile
I_PermitToWorkProfile is a Basic CDS View that provides data about "Planning Plant Settings for PTW profile" in SAP S/4HANA. It reads from 1 data source (ptwprofile) and exposes 20 fields with key field MaintenancePlanningPlant. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ptwprofile | ptwprofile | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Plant | _Plant | $projection.MaintenancePlanningPlant = _Plant.Plant |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPMTWRKPROFILE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view | |
| EndUserText.label | Planning Plant Settings for PTW profile | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlanningPlant | ptwprofile | iwerk | Planning Plant |
| WrkPmtOrdOpAssgmtIsAllowed | ptwprofile | wrkpmtordopassgmtisallowed | Assign Ord to Permit | |
| MaxNumberOfOrdersToPermit | ptwprofile | maxnumberoforderstopermit | Max Orders to Permit | |
| MaxNumberOfPermitsToOrder | ptwprofile | maxnumberoforderstopermit | Max Orders to Permit | |
| PartnerDeterminationProcedure | ptwprofile | pargr | Partner Det.Prc | |
| WrkPmtIssueHistoryIsAllowed | ptwprofile | ptwisissuehistoryallowed | Maintain Issue Hist | |
| WrkPmtSftyCertAssgmtCtrlCode | ptwprofile | ptwwrkpmtsftycertassgmtctrlco | Assignment Code | |
| PlantName | _Plant | PlantName | Plant Name | |
| WrkPmtAssignmentIsMandatory | ptwprofile | mandatoryworkpermitassignment | ||
| MaxNmbrOfIsltnCertToWrkPermit | ptwprofile | maxnumberofisolationtopermit | ||
| MaxNmbrOfWrkPmtToIsltnCert | ptwprofile | maxnumberofpermittoisolation | ||
| ConflictChkCritraForTmeFrame | ptwprofile | conflictcheckcriteria | ||
| WrkPmtIsRqdInTestingPhase | ptwprofile | workpermitrequiredfortesting | ||
| WrkPmtOvrrdeIsAllwdInTestPhase | ptwprofile | overrideworkpermitintesting | ||
| WrkPmtClsreIsRqdForDeisolation | ptwprofile | wrkpmtclsrerqdfordeisolation | ||
| OvrrdeWrkPmtClsreInDeisolation | ptwprofile | ovrrdewrkpmtclsrindeisolation | ||
| ReferenceObjectCheckCode | ptwprofile | referenceobjectcheck | ||
| ConflictVerificatControlCode | ptwprofile | conflictverification | ||
| RevokeIsPossible | ptwprofile | ptwsftycertrevokeallowed | Block Rvk Sfty Cert | |
| _Plant | _Plant |
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_PermitToWorkProfile.
-- 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: IPMTWRKPROFILE
CREATE VIEW I_PermitToWorkProfile AS
SELECT
ptwprofile.iwerk AS MaintenancePlanningPlant,
ptwprofile.wrkpmtordopassgmtisallowed AS WrkPmtOrdOpAssgmtIsAllowed,
ptwprofile.maxnumberoforderstopermit AS MaxNumberOfOrdersToPermit,
ptwprofile.maxnumberoforderstopermit AS MaxNumberOfPermitsToOrder,
ptwprofile.pargr AS PartnerDeterminationProcedure,
ptwprofile.ptwisissuehistoryallowed AS WrkPmtIssueHistoryIsAllowed,
ptwprofile.ptwwrkpmtsftycertassgmtctrlco AS WrkPmtSftyCertAssgmtCtrlCode,
_Plant.PlantName AS PlantName,
ptwprofile.mandatoryworkpermitassignment AS WrkPmtAssignmentIsMandatory,
ptwprofile.maxnumberofisolationtopermit AS MaxNmbrOfIsltnCertToWrkPermit,
ptwprofile.maxnumberofpermittoisolation AS MaxNmbrOfWrkPmtToIsltnCert,
ptwprofile.conflictcheckcriteria AS ConflictChkCritraForTmeFrame,
ptwprofile.workpermitrequiredfortesting AS WrkPmtIsRqdInTestingPhase,
ptwprofile.overrideworkpermitintesting AS WrkPmtOvrrdeIsAllwdInTestPhase,
ptwprofile.wrkpmtclsrerqdfordeisolation AS WrkPmtClsreIsRqdForDeisolation,
ptwprofile.ovrrdewrkpmtclsrindeisolation AS OvrrdeWrkPmtClsreInDeisolation,
ptwprofile.referenceobjectcheck AS ReferenceObjectCheckCode,
ptwprofile.conflictverification AS ConflictVerificatControlCode,
ptwprofile.ptwsftycertrevokeallowed AS RevokeIsPossible
FROM ptwprofile
LEFT OUTER JOIN I_Plant AS _Plant ON MaintenancePlanningPlant = _Plant.Plant -- association [1..1]
;
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