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: 

Not able to test/execute the class.

Former Member
0 Kudos

When I try to test/execute the class, I get the message:

"You are not authorized to execute this object".

I am able to activate the class though.

How can I test the class.

Regards.

Srinivas

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Srinivas

After getting this message enter <b>SU53 </b>into the command field (top-left corner). There you should see the missing authorizations.

Regards

Uwe

8 REPLIES 8

uwe_schieferstein
Active Contributor
0 Kudos

Hello Srinivas

After getting this message enter <b>SU53 </b>into the command field (top-left corner). There you should see the missing authorizations.

Regards

Uwe

0 Kudos

Hi Uwe,

Thanks for your reply. What am I looking at. Under the "user's authorization data" , it says "no authorizations available"

What authorizations do I need to execute the class.

0 Kudos

Hello Srinivas

I assume you want to execute a SAP standard class. Which one is it?

Regards

Uwe

0 Kudos

Hi Uwe,

I developed my own class using se24 and transported it. I am trying to execute a custom class not the standard one's.

Regards.

Srinivas

0 Kudos

Hello All,

What authorizations do I need to execute/test a custom class. What should I see in su53 that will tell me that I need this particular authorization.

Kind Regards.

Srinivas

0 Kudos

You can not execute a class directly in SE24, you can test it using the tool icon.

Otherwise you will need to write a simply progam which uses this class.

Regards,

Rich HEilman

0 Kudos

Hi Rich,

I used se01, and then double clicked on the custom class I am trying to test. Now when I click on method and try to test using the "test/execute" icon, I get "you are not authorized to execute this object"

How should I make sure I have the authorization.

Regards.

Srinivas

0 Kudos

Run the test, when you get that message, put /NSU53 into the tcode box at the top of the gui, print the listing which is shown and give to your basis guy to get authorizations.

Regards,

Rich Heilman