I have written a report which takes users and specific roles as the input. Eg, userID :12345 and role/profile :SAP_ALL, SAP_ADMIN..etc in a table. and gives back if the user 12345 has SAP_ALL or not.
Now I have used RFCs to fetch all the roles for the user from different SAP systems which i further compare , to get the above.
What I am unable to do is fetch the portal roles .
PROBLEM : The portal roles also exist in the central system, but might not be always consistent since they get manually updated in the central system. Hence I want to directly fetch the data from the JAVA Portal.
WHAT I KNOW : I need to write a JAVA class in NW developer studio which will take the user as the input and give me all the roles/profiles for the same user as output.
How do I further pass the values to and from the Java class to my ABAP report?
I know that I need to use the UME in some way to have this work for me. But since i do not expertize in java I need guidance/steps as to how to proceed.
Edited by: Trishna Udupa on Sep 11, 2011 3:00 PM