on 03-17-2009 10:02 AM
Hi All,
I want to enhance a method on Standard Web dynpro component.
I have created an enhancement implementation and I created a Post Exit enhancement for the method- ONACTIONSAVE.
I dont need the pre exit enhancement.
However when I try to activate the code then I am getting the below error:-
Web Dynpro Comp. / Intf. /SAPSRM/WDC_SC_GAF_TOOLBA,Web Dynpro View V_DODC_GAF_TOOLBAR
*Pre-Exit PST4D6DZV8IHYSFNHC41TGHNQ9Q1 for ONACTIONSAVE *
*You can only use "class=>method" with static methods. *
Please let me know the way to resolve this error.
Thanks & Regards,
Mayank Agarwal
Hi Mayank,
Seeing your problem , I think you are using a class in this method and you are calling the method using the class reference directly.
Check whether the method you are calling will be a static or not.
Because you can only call a static method using the class reference.
For calling the general method of a class , we have to use the object reference of that class.
Hope this will helps you.
Regard
Manoj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.