‎2008 Oct 29 6:56 AM
Hi All,
I have create a local class definition and its corresponding implementation in my custom program. When i tried to create a object of this class it gave a error "Statement is not accessible" line pointing to the the create object statement. But when i placed the create object statement under START-OF-SELECTION event, the error went away and the code executed successfully.
Can you please let me know the reason behing this and generally under which event the local class definition and implementation should be placed and why ?
Thanks & Regards,
Navneeth K.
‎2008 Oct 29 7:51 AM
Hi navneeth,
Being an active SCN member having more than 1000 points you should have read the [Rules of Engagement.|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
And according to that you cannot post Duplicate/Cross-Forum Posts as you have done by posting the same question in the ABAP General Forum below;
As you got answers for the above thread, i think you can close this one.
Regards
Karthik D
‎2008 Oct 29 7:55 AM
>
> As you got answers for the above thread, i think you can close this one.
Better to close both ones...
‎2008 Oct 29 9:07 AM
He should close the other one. This one is in the right place.
‎2008 Oct 29 9:13 AM
‎2008 Oct 29 9:16 AM
Now you can see what sort of mess this creates
Please close both threads, cross reference them and resist the temptation to cross-post in future.
Thanks,
Julius