I_MaintenancePlanPlant

DDL: I_MAINTENANCEPLANPLANT Type: view_entity BASIC Package: IWO1

Maintenance Planning Plant

I_MaintenancePlanPlant (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Plant · Asset Management

I_MaintenancePlanPlant is a Basic CDS View that provides data about "Maintenance Planning Plant" in SAP S/4HANA. It reads from 1 data source (t399i) and exposes 3 fields with key field MaintenancePlanningPlant. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3888). Part of development package IWO1.

SAP Help Documentation

CategoryCDS Views for Maintenance Management
Purpose
This CDS view is designed to provide a structured representation of maintenance planning plants within an organization. It extracts and organizes data related to maintenance planning plants, including their names, from the underlying database table `t399i` and associates it with additional plant information from the `t001w` table. The view is optimized for data extraction and supports automatic change data capture, making it suitable for analytics and reporting purposes. This CDS view provides the data to answer the following business questions: What are the maintenance planning plants within the organization? What are the names associated with each maintenance planning plant? How can I efficiently search for specific maintenance planning plants based on their names? How can I integrate maintenance planning plant data into analytics and reporting tools for service quality assessments? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: IWERK (Maintenance Planning Plant) These restriction types are edited in the Maintain Business Roles app.

Structure
Important Fields Important fields in this view include the following: Field Name Description MAINTENANCEPLANNINGPLANT Maintenance Planning Plant PLANTNAME2 Name 2 PLANTNAME1 Name 1

Data Extraction
This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAsset Management
Application ComponentPM-WOC-MO-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAsset Management for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view is designed to provide a structured representation of maintenance planning plants within an organization. It extracts and organizes data related to maintenance planning plants, including their names, from the underlying database table `t399i` and associates it with additional plant information from the `t001w` table. The view is optimized for data extraction and supports automatic change data capture, making it suitable for analytics and reporting purposes.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li> <p>What are the maintenance planning plants within the organization?</p></li> <li> <p>What are the names associated with each maintenance planning plant?</p></li> <li> <p>How can I efficiently search for specific maintenance planning plants based on their names?</p></li> <li> <p>How can I integrate maintenance planning plant data into analytics and reporting tools for service quality assessments?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t399i t399i from

Associations (1)

CardinalityTargetAliasCondition
[0..1] t001w _MaintenancePlant t399i.iwerk = _MaintenancePlant.werks

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey MaintenancePlanningPlant view
Analytics.technicalName IPLANPLANT view
ObjectModel.sapObjectNodeType.name Plant view
EndUserText.label Maintenance Planning Plant view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3888 ASQL_F3888 C2 NOT_RELEASED

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlanningPlant t399i iwerk Maintenance Planning Plant
PlantName1 _MaintenancePlant name1 PA text
PlantName2 _MaintenancePlant name2 Name2/First nme

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_MaintenancePlanPlant.
-- 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 I_MaintenancePlanPlant AS
SELECT
  t399i.iwerk AS MaintenancePlanningPlant,
  _MaintenancePlant.name1 AS PlantName1,
  _MaintenancePlant.name2 AS PlantName2
FROM t399i
LEFT OUTER JOIN t001w AS _MaintenancePlant ON t399i.iwerk = _MaintenancePlant.werks  -- association [0..1]
;