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

SAP_ALL & Module-Pool programs

Former Member
0 Likes
512

Hi,

I ve a training system at my disposal and I was playing around on it in my free time when I chanced across something weird which I'm unable to explain.

I wanted to create a new RFC connection, so I called up SM59 but couldnt access it because of missing authorizations. To circumvent this, I looked up the program fro the transaction in TSTC and found it to be SAPMCRFC. I tried to execute it in SE38/SA38 but it didnt work because it is a program of type M (Module Pool).

So I got myself the SAP_ALL profile to be able to run SM59. After finishing off my things with the new RFC connection, I mistakenly opened SE38 again and ran the same program again - SAPMCRFC. This time it actually executed!

I'm very confused with this now, what bearing does the SAP_ALL profile have on execution of Module-Pool programs? How does the system treat module-pool programs?

Any pointers will be appreciated.

Regards,

Adarsh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
456

Hi,

Please check how SAPMCRFC was executed both the times.

If you are trying to execute the program SAPMCRFC from the initial screen of SE38 , it will execute. I mean it will not give you

any message , then authorizations are checked (if you have SAP_ALL/relevant profile , no error is raised).

But if you try to execute from the second screen of SE38 , I mean from editor (goto SE38 , enter the prog name SAPMCRFC ,

and display) , if you try to execute you'll get the message

"SAPMCRFC is not a report program (type 'M')"

Regards,

Srini.

2 REPLIES 2
Read only

Former Member
0 Likes
457

Hi,

Please check how SAPMCRFC was executed both the times.

If you are trying to execute the program SAPMCRFC from the initial screen of SE38 , it will execute. I mean it will not give you

any message , then authorizations are checked (if you have SAP_ALL/relevant profile , no error is raised).

But if you try to execute from the second screen of SE38 , I mean from editor (goto SE38 , enter the prog name SAPMCRFC ,

and display) , if you try to execute you'll get the message

"SAPMCRFC is not a report program (type 'M')"

Regards,

Srini.

Read only

0 Likes
456

Hi,

Yep, looks like thats how it works.

Thanks,

Adarsh