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: 

Syntax Error without logs information when Activation classes (URGENT!)

Former Member
0 Kudos

Hi all,

I was encountered errors when activating created classes in SE24.

I am pretty sure that i was assign the accurate name conversion for customize classes.

On top of the case, I could created program and function accordingly without any error.

Class created within local package.

During creation of classes, it pop-up the following warning messages

+++++++++++++++++++++++++++++++++++++++++++++++++

"Internal error occured at Initialize in source code of PUBLIC_SEC"

+++++++++++++++++++++++++++++++++++++++++++++++++

when i try to activate the classes that created previously,

following errors messages occurred.

_____________________________

"Error during activation"

There are syntax errors

Activate anyway?

_____________________________

Error in Class ZCL_TEST5 without any description in syntax error logs

*please refer attached screen shot.

[img]http://img2.freeimagehosting.net/uploads/5e22bd4f0c.jpg[/img]

I had retrieved few sap notes which might be relevant with this issues

Note 385628 - Error when activating classes/interfaces

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=385628

Note 590059 - Problem when activating a class

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=590059

Please assist me regarding this issues,

Thousand THANKS!!!!

BR,

Terry

3 REPLIES 3

Former Member
0 Kudos

When i trying to create classes in class builder, encountered internal errors:

"Internal error occured at Initialize in source code of PUBLIC_SEC

Message no. OO042"

"Initialize PUBLIC_SEC does not exist" error occurred when i run syntax check for created classes

anyone have some clue regarding this?

thanks!!!!

Edited by: Tow Terry on Jun 9, 2008 5:16 AM

uwe_schieferstein
Active Contributor
0 Kudos

Hello Tow

First of all try to activate your class despite the syntax error warnings.

If you still have the problem with the PUBLIC SECTION I would try to change all public methods into private methods temporarily and try to activate now. The intention of this approach is just to make a big change to the PUBLIC SECTION which might help to overcome the activation error.

Regards

Uwe

0 Kudos

Hi Uwe,

Its Syntax error without any further details explanation thus i could not proceed with activation as you can review my preview post attached image.

I had changed methods to private as advised, however, it still encountered the same problem.

Is that possible caused by incorrect contents of background program during classes activation?

Thanks you!!!

BR,

Terry