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 9 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 (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlanningPlant | ptwprofile | iwerk | |
| WrkPmtOrdOpAssgmtIsAllowed | ptwprofile | wrkpmtordopassgmtisallowed | ||
| MaxNumberOfOrdersToPermit | ptwprofile | maxnumberoforderstopermit | ||
| MaxNumberOfPermitsToOrder | ptwprofile | maxnumberoforderstopermit | ||
| PartnerDeterminationProcedure | ptwprofile | pargr | ||
| WrkPmtIssueHistoryIsAllowed | ptwprofile | ptwisissuehistoryallowed | ||
| WrkPmtSftyCertAssgmtCtrlCode | ptwprofile | ptwwrkpmtsftycertassgmtctrlco | ||
| PlantName | _Plant | PlantName | ||
| _Plant | _Plant |
@AbapCatalog.sqlViewName: 'IPMTWRKPROFILE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XXL, dataClass: #MIXED}
@Search.searchable: true
@EndUserText.label: 'Planning Plant Settings for PTW profile'
define view I_PermitToWorkProfile
as select from ptwprofile
association [1..1] to I_Plant as _Plant on $projection.MaintenancePlanningPlant = _Plant.Plant
{
@ObjectModel.text.element: ['PlantName']
@ObjectModel.text.association: '_Plant'
@Consumption.filter.hidden: true
@Search: {defaultSearchElement: true, ranking: #HIGH}
key ptwprofile.iwerk as MaintenancePlanningPlant,
@UI.hidden: true
ptwprofile.wrkpmtordopassgmtisallowed as WrkPmtOrdOpAssgmtIsAllowed,
@UI.hidden: true
ptwprofile.maxnumberoforderstopermit as MaxNumberOfOrdersToPermit,
@UI.hidden: true
ptwprofile.maxnumberoforderstopermit as MaxNumberOfPermitsToOrder,
@UI.hidden: true
ptwprofile.pargr as PartnerDeterminationProcedure,
@UI.hidden: true
ptwprofile.ptwisissuehistoryallowed as WrkPmtIssueHistoryIsAllowed,
@UI.hidden: true
ptwprofile.ptwwrkpmtsftycertassgmtctrlco as WrkPmtSftyCertAssgmtCtrlCode,
@Semantics.text: true
@Consumption.filter.hidden: true
@Search: {defaultSearchElement: true, ranking: #HIGH}
_Plant.PlantName,
_Plant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PLANT",
"PTWPROFILE"
],
"ASSOCIATED":
[
"I_PLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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