Skip to Content
0

Unable to access the custom method of standard class in webdynpro

Jul 20, 2017 at 05:27 AM

36

avatar image

Hi,

I have enhanced a standard class and created a custom method which i am trying to access in standard webdynpro component. This Webdynpro component is also enhanced but that method is not visible in WDA.

Any Help will be appreciated.

Thanks,

Mohammadi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ram Burugu Jul 20, 2017 at 05:49 AM
0

Check if you have declared the method as private... Please provide more information if posible.

Show 10 Share
10 |10000 characters needed characters left characters exceeded

Hi Ram,

Thanks for your response.

The Class and the method both are Public and activated.

Thanks,

Mohammadi

0

Okay. Are you getting a syntax error? Share some screenshots if you can.

Or try writing a simple report program to see if you are able to call the custom method. Sorry out of ideas.

0

Hi,

I am getting the below error -

'

Unable to find Method '

Also am not able to call it in report program as well.

Thanks

0

It is good that you are having the error in the report, you can troubleshoot it much easier than to get involved with the WDA application.

Check if any of your objects are inactive - method, enhancement spot objects etc.

0

yes, everything is active. Enhancement Implementation, class and method all.

0

:-)

Can you share the screenshot of the class declaration and the report code? Or give me the class name as you said it was a standard class.

0

Class - CL_HRRCF_M_WORK_EXP

0

It works for me, see the below attachments.

Class

Report

Output

See if it matches with what you have done, just checking.

class.jpg (106.1 kB)
report.jpg (51.8 kB)
output.jpg (18.1 kB)
0

same thing i did but it is not working for me. :(

0

It's just one of those days, take a break and come back to it :-)

0