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: 

Enhanced Method is not showing!!

Former Member
0 Kudos

Hi,

I have enhanced a method in class 'CL_DPR_WORKFLOW'' as requirement was to add one method. So i use the enhance option.

I can see the method when i test it but enahced method is not appearing in method list plus when I am using class in my workflow it's not showing my created method.

Any idea what I missed during enhancement?

Thanks,

Sejos

Edited by: Sejo Srambikkal on Sep 24, 2009 10:10 AM

8 REPLIES 8

Former Member
0 Kudos

Hi,

Pls chk for the enhancement in SAPU_ENH transaction. OR you can dbl clk on the object in ut TR from SE09 Txn. You can change the code of your enhancement there. Save and activate the enhancement. Go to your class and check for the new method. If the method is not seen, delete the code in SAPU_ENH, save and activate the ehancement. Now create the method from scratch pasting the code. I did the same when it happened for me.

Chk if the method is public, only then you can see in the method in workflow.

Regards,

teja.

Former Member
0 Kudos

It's not working for me. Could anyone have an idea why it's happening?

Sandra_Rossi
Active Contributor
0 Kudos

did you implement an implicit enhancement option, or did you create a method?

When you say "it is not appearing", where are you looking? (which transaction, etc.)

0 Kudos

I needed extra method to standard class CL_DPR_WORKFLOW, so what i did is enhance and created a method to standard class. Method is not showing in list of methods to class CL_DPR_WORKFLOW as well as when I am using class in workflow, method is not appearing in task where i want to use class and method. Thanks

0 Kudos

Maybe the problem is that you attached your method to a standard enhancement spot which is switched off.

You should attach it to a new custom enhancement spot (Y* or Z*).

0 Kudos

I did attached it to custom enhancement spot with Z....

0 Kudos

Hi,

Can anyone tell me why Active checkbox is not ticked in my enhanced class?

I have clicked on Detail by selecting my class and found that Active checkbox is not ticked. How can i tick it?

Thanks,

0 Kudos

you mean the active checkbox in the implementation.

Did you simply activate it?

Did you attach it to a custom package or to a standard one? (moreover, check if the switch name is blank or not)