I_MaintenancePackage
Maintenance Package
I_MaintenancePackage (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Maintenance Package · Asset Management
I_MaintenancePackage is a Basic CDS View that provides data about "Maintenance Package" in SAP S/4HANA. It reads from 1 data source (t351p) and exposes 13 fields with key fields MaintenanceStrategy, MaintenancePackage. It has 3 associations to related views.
SAP Help Documentation
| Category | CDS Views for Maintenance Management |
|---|
Purpose
This CDS view helps you retrieve the details of the maintenance packages in a maintenance strategy. This CDS view provides the data to answer the following business questions: Where can you see a list of maintenance packages assigned to a maintenance strategy? Where can you see the details of a maintenance package cycle for a maintenance strategy? Where can you see the details of a maintenance package lead float and follow-up float for a maintenance strategy? 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 .
Structure
Important Fields Important fields in this view include the following: MaintenanceStrategy MaintenancePackage MaintenanceTaskPerformanceUnit MaintenancePackageCycle MaintPackageTimeStartOffset MaintenancePackageNature MaintenanceLeadFloatInDays FollowUpFloat MaintPackagePeriodType CallHorizonInDays
This CDS view helps you retrieve the details of the maintenance packages in a maintenance strategy. This CDS view provides the data to answer the following business questions: Where can you see a list of maintenance packages assigned to a maintenance strategy? Where can you see the details of a maintenance package cycle for a maintenance strategy? Where can you see the details of a maintenance package lead float and follow-up float for a maintenance strategy? 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 .
Structure
Important Fields Important fields in this view include the following: MaintenanceStrategy MaintenancePackage MaintenanceTaskPerformanceUnit MaintenancePackageCycle MaintPackageTimeStartOffset MaintenancePackageNature MaintenanceLeadFloatInDays FollowUpFloat MaintPackagePeriodType CallHorizonInDays
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Asset Management |
| Application Component | PM-PRM-TL |
| Capabilities | Data Source for Data Extraction |
| Package | Asset Management for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t351p | t351p | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceStrategy | _MaintenanceStrategy | _MaintenanceStrategy.MaintenanceStrategy = $projection.MaintenanceStrategy |
| [0..*] | I_MaintenancePackageText | _MaintenancePackageText | _MaintenancePackageText.MaintenanceStrategy = $projection.MaintenanceStrategy and _MaintenancePackageText.MaintenancePackage = $projection.MaintenancePackage |
| [0..1] | I_UnitOfMeasure | _MaintenancePackageUnit | _MaintenancePackageUnit.UnitOfMeasure = $projection.MaintenanceTaskPerformanceUnit |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | IMNTPCKG | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Maintenance Package | view | |
| ObjectModel.representativeKey | MaintenancePackage | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.modelingPattern | #VALUE_HELP_PROVIDER | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.sapObjectNodeType.name | MaintenancePackage | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceStrategy | strat | Maintenance Strategy | |
| KEY | MaintenancePackage | zaehl | Maintenance Package Number | |
| MaintenanceTaskPerformanceUnit | zeieh | Unit for the performance of maintenance tasks | ||
| MaintenancePackageCycle | zykzt | Maintenance package cycle/offset | ||
| MaintPackageTimeStartOffset | offzt | Start offset of a time-based maintenance package | ||
| MaintenancePackageNature | hiera | Nature of the maintenance packages (additional, replacement) | ||
| MaintenanceLeadFloatInDays | puffp | Lead Float in Days | ||
| FollowUpFloat | puffn | Follow-up float in days | ||
| MaintPackagePeriodType | perkn | Period type indicator for maintenance package | ||
| CallHorizonInDays | eroef | Call horizon in days (per maintenance package) | ||
| _MaintenancePackageText | _MaintenancePackageText | |||
| _MaintenanceStrategy | _MaintenanceStrategy | |||
| _MaintenancePackageUnit | _MaintenancePackageUnit |
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_MaintenancePackage.
-- 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: IMNTPCKG
CREATE VIEW I_MaintenancePackage AS
SELECT
strat AS MaintenanceStrategy,
zaehl AS MaintenancePackage,
zeieh AS MaintenanceTaskPerformanceUnit,
zykzt AS MaintenancePackageCycle,
offzt AS MaintPackageTimeStartOffset,
hiera AS MaintenancePackageNature,
puffp AS MaintenanceLeadFloatInDays,
puffn AS FollowUpFloat,
perkn AS MaintPackagePeriodType,
eroef AS CallHorizonInDays
FROM t351p
LEFT OUTER JOIN I_MaintenanceStrategy AS _MaintenanceStrategy ON _MaintenanceStrategy.MaintenanceStrategy = MaintenanceStrategy -- association [0..1]
LEFT OUTER JOIN I_MaintenancePackageText AS _MaintenancePackageText ON _MaintenancePackageText.MaintenanceStrategy = MaintenanceStrategy AND _MaintenancePackageText.MaintenancePackage = MaintenancePackage -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _MaintenancePackageUnit ON _MaintenancePackageUnit.UnitOfMeasure = MaintenanceTaskPerformanceUnit -- association [0..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