08-05-2013 12:56 AM
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
08-05-2013 5:18 AM
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.
08-05-2013 5:18 AM
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.
08-05-2013 7:13 AM
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
08-05-2013 8:39 AM
Keep us posted Paul - it will be interesting to know their response.
Cheers,
Sougata.
08-06-2013 12:30 AM
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