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

Not able to test/execute the class.

Former Member
0 Likes
997

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
Read only

uwe_schieferstein
Active Contributor
0 Likes
968

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

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

8 REPLIES 8
Read only

uwe_schieferstein
Active Contributor
0 Likes
969

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

Read only

0 Likes
968

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.

Read only

0 Likes
968

Hello Srinivas

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

Regards

Uwe

Read only

0 Likes
968

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

Read only

0 Likes
968

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

Read only

0 Likes
968

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

Read only

0 Likes
968

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

Read only

0 Likes
968

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