Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SE24: event added through Enhancement framework is not recognized

paul_bakker2
Active Contributor
0 Kudos

Hi,

I enhanced the class CL_FMCA_TRM_RETURN_WF with a new (public) event NOTIFICATION_REQUIRED.

The class has been activated, generated, and looks fine.

However, when I go to SWE2 and try to select this Class event, it does not appear in the dropdown.

Only the SAP standard events (for this class) are shown. The same goes for SWUE etc

I have activated and generated the class. I have refreshed the buffer. What else am I missing?

OSS was no help, so I turn to SCN....

thanks for your help!

Paul Bakker

EHP6, 731

1 ACCEPTED SOLUTION

Sougata
Active Contributor
0 Kudos

Paul,

Note 971513 says:

Symptom

Enhancements in ABAP OO classes are not visible within the SAP Business Workflow. This applies to all components definition time, runtime, administration and information system.

Other terms

Enhancement Framework

Reason and Prerequisites

The SAP Business Workflow does not support the new enhancement concept introduced for SAP NetWeaver 2004s.

Solution

-- (That probably means ZILCH

Probably you will have to resort to either a Post Method or an Overwrite Method or copy the standard class into a z class then use that in the WF Task etc. I'm not an WF expert but looks like it is working as designed by SAP.

Cheers,

Sougata.

4 REPLIES 4

Sougata
Active Contributor
0 Kudos

Paul,

Note 971513 says:

Symptom

Enhancements in ABAP OO classes are not visible within the SAP Business Workflow. This applies to all components definition time, runtime, administration and information system.

Other terms

Enhancement Framework

Reason and Prerequisites

The SAP Business Workflow does not support the new enhancement concept introduced for SAP NetWeaver 2004s.

Solution

-- (That probably means ZILCH

Probably you will have to resort to either a Post Method or an Overwrite Method or copy the standard class into a z class then use that in the WF Task etc. I'm not an WF expert but looks like it is working as designed by SAP.

Cheers,

Sougata.

0 Kudos

Sougata,

Thanks for that - in all my searching I did not see that Note. 

I cannot believe what I am reading: workflow does not recognize the enhancement framework!

I have raised a message with OSS anyway, to see what they say.

cheers

Paul Bakker

Sougata
Active Contributor
0 Kudos

Keep us posted Paul - it will be interesting to know their response.

Cheers,

Sougata.

0 Kudos

Hi,

You are right; OSS confirmed it:

"The reason for the issue you got is that SAP Business Workflow does not

currently support the enhancement concept for ABAP classes."

"The solution if described in below note:

1642132 - Workflow builder/ task: Error WF_CONT 151:"

The above note just shows you how to call enhanced methods from your own Z classes. This is not much use to me ( I want to use enhanced events).

thanks

Paul