Application Development and Automation 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: 
Read only

Syntax Error during Interface Usage

Former Member
0 Likes
557

Hi,

This is a question on the internal development systems of SAP. We are running NW 7.0 EhP01.

I have an interface in which I have declared a few interface events.

I have declared event handlers to these interface events in another class within the same package.

The class activates fine without any problems, but when I go to the interface and do a syntax check then I get an error that the event is not accessible within the class. I don't understand what this error is and why this is showing up. I have not faced any such error ever before.

Any kind of help/suggestions would be much appreciated.

Thanks and Regards,

Prashanth

3 REPLIES 3
Read only

Former Member
0 Likes
514

you can create global interface with se24.

then use it it will work

Read only

Former Member
0 Likes
514

Please read SAP documentation on Public, Private and Protected

http://help.sap.com/saphelp_nw70/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm

you can access private methods or attributes only through instances of class

Read only

Former Member
0 Likes
514

Please give me the answers if you have faced such a problem, or seen such an error message, or if you can really understand what is the error that I am facing. Thanks for all your help.