2009 Dec 11 4:33 PM
Hi everyone,
is there a way to call a function as a different user in a programm? i have to call a function which a normal Sap user is not allowed to call but i have to use this function in my program. So is there a way to call this very function as a different user as the user who is using my program?
i thought to make a background job which calls another abap report as CENTRALADMIN who is able to call this specific function.
but maybe there is another way to reach this without making a background job for this.
THX in advance!
2009 Dec 11 4:44 PM
Yes, you can set up an RFC destination to the local system using a different user id/password. Then callt his function in your program using the DESTINATION extension.
Call Function 'Z_THIS_FUNCTION' DESTINATION 'your_RFC_Destination'.Regards,
Rich Heilman
2009 Dec 11 4:44 PM
2009 Dec 11 4:51 PM
Thanks a lot for your information. but could you be a little bit more precise about that 'your_RFC_Destination' please?
how exactly can i define the user who should call the function?
2009 Dec 11 5:34 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |