I_MaintenancePlanSortField

DDL: I_MAINTENANCEPLANSORTFIELD SQL: IMNTPLNSORTFIELD Type: view BASIC

Maintenance Plan Sort Field

I_MaintenancePlanSortField (Basic)

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

Asset Management

I_MaintenancePlanSortField is a Basic CDS View that provides data about "Maintenance Plan Sort Field" in SAP S/4HANA. It reads from 1 data source (t399g) and exposes 2 fields with key field MaintenancePlanSortField. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Maintenance Management
StatusReleased
Purpose
This CDS view contains the different business units available for maintenance plan scheduling. It provides the data to answer the following business question: Can you define your own criteria for selecting maintenance plans? Using the sort field, where can you make selection? 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
Measures and Attributes MaintenancePlanSortField

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAsset Management
Application ComponentPM-PRM-TL
CapabilitiesData Source for Defining CDS Entities
PackageAsset Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t399g t399g from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MaintPlanSortFieldText _Text _Text.MaintenancePlanSortField = $projection.MaintenancePlanSortField

Annotations (14)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName IMNTPLNSORTFIELD view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Maintenance Plan Sort Field view
Search.searchable true view
ObjectModel.representativeKey MaintenancePlanSortField view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #CDS_MODELING_DATA_SOURCE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlanSortField plan_sort Sort field for maintenance plans
_Text _Text

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_MaintenancePlanSortField.
-- 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: IMNTPLNSORTFIELD

CREATE VIEW I_MaintenancePlanSortField AS
SELECT
  plan_sort AS MaintenancePlanSortField
FROM t399g
LEFT OUTER JOIN I_MaintPlanSortFieldText AS _Text ON _Text.MaintenancePlanSortField = MaintenancePlanSortField  -- association [0..*]
;