I have been trying to find a way to access an R/3 table as soon as a user logs in. i.e. is it possible to trigger an RFC or a service from the login button of EP, which would go fetch data from a table (that contains the role assignment information) and correspondingly assign the respective roles to the user loggin in.
Currently we are doing this through a scheduled R/3 program that runs every night. This is a cumbersome task which goes through all the user list. If what I've mentioned above is possible, it would open a lot of options for us currently as well as in the future.
In short, the question I have is, whether it is possible to call an RFC from the login procedure. I would greatly appreciate any useful reponse and points will definitely be awarded.
Thanks in advance,