I_PermitToWorkProfile

DDL: I_PERMITTOWORKPROFILE SQL: IPMTWRKPROFILE Type: view BASIC

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)

SourceAliasJoin Type
ptwprofile ptwprofile from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.MaintenancePlanningPlant = _Plant.Plant

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;