R_MaintPlanClfnClassTP
Maintenance Plan Classification Class
R_MaintPlanClfnClassTP is a Transactional CDS View that provides data about "Maintenance Plan Classification Class" in SAP S/4HANA. It reads from 2 data sources (I_ClfnObjectClassForKeyDate, I_MaintenancePlanBasic) and exposes 17 fields with key fields MaintenancePlan, ClassInternalID, ClassType. It has 2 associations to related views. Part of development package VDM_EAM_MAINTENANCEPLAN.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ClfnObjectClassForKeyDate | I_ClfnObjectClassForKeyDate | from |
| I_MaintenancePlanBasic | I_MaintenancePlanBasic | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_MaintenancePlanTP | _MaintenancePlan | $projection.MaintenancePlan = _MaintenancePlan.MaintenancePlan |
| [0..*] | R_MaintPlanClfnClassCharTP | _Characteristic | _Characteristic.MaintenancePlan = $projection.MaintenancePlan and _Characteristic.ClassInternalID = $projection.ClassInternalID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RMPLACLFNCLS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Maintenance Plan Classification Class | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.modelingPattern | #TRANSACTIONAL_ENTITY | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlan | I_MaintenancePlanBasic | MaintenancePlan | MaintenancePlan |
| KEY | ClassInternalID | ClassInternalID | Int class no. | |
| KEY | ClassType | ClassType | X Flag | |
| KeyDate | ||||
| ChangeNumber | ChangeNumber | Change Number | ||
| ClfnStatus | ClfnStatus | Status | ||
| ClassPositionNumber | ClassPositionNumber | Pos. | ||
| ClassIsStandardClass | Class Is Standard Class | |||
| ClfnObjectInternalID | ClfnObjectInternalID | |||
| ValidityEndDate | Classification | ValidityEndDate | ValidTo | |
| Class | ||||
| ClassMaintAuthGrp | ||||
| ClassClassfctnAuthGrp | ||||
| MaintenancePlanCallObject | I_MaintenancePlanBasic | MaintenancePlanCallObject | ||
| AuthorizationGroup | I_MaintenancePlanBasic | AuthorizationGroup | AuthorizGroup | |
| _Characteristic | _Characteristic | |||
| _MaintenancePlan | _MaintenancePlan |
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 R_MaintPlanClfnClassTP.
-- 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: RMPLACLFNCLS
CREATE VIEW R_MaintPlanClfnClassTP AS
SELECT
I_MaintenancePlanBasic.MaintenancePlan AS MaintenancePlan,
ClassInternalID,
ClassType,
$session.system_date AS KeyDate,
ChangeNumber,
ClfnStatus,
ClassPositionNumber,
cast ( ClassIsStandardClass as stdclass ) AS ClassIsStandardClass,
ClfnObjectInternalID,
Classification.ValidityEndDate AS ValidityEndDate,
Classification._Class( P_KeyDate:$session.system_date ).Class AS Class,
Classification._Class( P_KeyDate:$session.system_date ).ClassMaintAuthGrp AS ClassMaintAuthGrp,
Classification._Class( P_KeyDate:$session.system_date ).ClassClassfctnAuthGrp AS ClassClassfctnAuthGrp,
I_MaintenancePlanBasic.MaintenancePlanCallObject AS MaintenancePlanCallObject,
I_MaintenancePlanBasic.AuthorizationGroup AS AuthorizationGroup
FROM I_ClfnObjectClassForKeyDate
INNER JOIN I_MaintenancePlanBasic ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_MaintenancePlanTP AS _MaintenancePlan ON MaintenancePlan = _MaintenancePlan.MaintenancePlan -- association [1..1]
LEFT OUTER JOIN R_MaintPlanClfnClassCharTP AS _Characteristic ON _Characteristic.MaintenancePlan = MaintenancePlan AND _Characteristic.ClassInternalID = ClassInternalID -- association [0..*]
;
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