‎2010 Nov 25 5:20 AM
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
‎2010 Nov 25 6:39 AM
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.
‎2010 Nov 25 6:39 AM
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.
‎2010 Nov 26 6:54 AM