cancel
Showing results for 
Search instead for 
Did you mean: 

Maintenance Order Event (Created/Changed) using ABAP RAP Extension (im)possible?

sunny-training
Discoverer
0 Kudos

Hi,

Context:

I am trying to generate an event message from standard S/4HANA EAM Maintenance Order utilizing Developer Extensibility and ABAP RAP.

I am looking for the RAP BO object(s) for EAM Maintenance Order which is extensible.

Background:

I implemented event message generation for Maintenance Order (Created and Changed) using SAP NWEEA (SAP NetWeaver Event Enablement Add-On a.k.a. ASAPIO) because the standard out-of-the-box framework EEE (Enterprise Event Enablement) still does not support Created and Changed events. 

The Maintenance Order Events listed in SAP Business Accelerator Hub do contain several events (EEE), but the business requirement is to generate event message upon creation (Created) and changed (Changed). 

Systems:

  • SAP S/4 HANA OP 2021 and SAP S/4 HANA OP 2022.

Motivation:

As of SAP TechEd 2023 (Nov.), I understand that Developer Extensibility should be used to extend standard ABAP RAP BO. A training was provided in this TechEd session Use ABAP Cloud for Developer Extensibility - DT182v.

Issues I am facing:

  • I cannot find exact RAP BO for Maintenance Order to extend its behavior (to raise the event Created and Changed). 
  • In ADT Repository Tree (Released Object by AppComp / PM / Core Data Services / Data Definitions) I can find the CDS C_MaintOrderTP and I_MaintOrderTP, but none is "extensible".
  • The Fiori App Create Maintenance Order (IW31) and Change Maintenance Order (IW32) appear to be WebDynpro-based transaction and not RAP-based transaction

My questions:

  • Is it possible to extend Maintenance Order behavior to generate event Created and Changed using ABAP RAP?
  • If yes, any hint is appreciated
  • If not, does SAP intend to enable the two events in EEE?

Please note:

  • I was able to create a new ZZ-field using Key-User Extensibility to extend the maintenance order header field to support my use case for Integration, but this is not the scope of my question here.

 Thanks.

Sunny

 

Accepted Solutions (0)

Answers (0)