‎2011 Sep 09 2:51 PM
Hi Experts,
I have a requirement, in which I need to fetch Java Roles/Groups from the portal to a ABAP report, for specific users. The roles inside of our project are not always in sync with the central system.
I could not find any link with talks about this. Could anybody guide me on how to proceed?
Regards,
Trishna
‎2011 Sep 09 2:54 PM
‎2011 Sep 09 3:30 PM
Hi Trishna ,
Please eleborate your requirement?
I can not understand it well.
Thanks.
‎2011 Sep 09 7:06 PM
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 .
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.
Regards
Trishna
‎2011 Sep 10 5:28 AM
Hi Trishna,
Just i am guessing. Is it not possible to write a custom bapi and get that.
Regards,
Madhu.
‎2011 Sep 10 10:43 AM
Hi Madhu,
that should be the case but I am unable to get a clear view on how to do that..
Regards
Trishna
‎2011 Sep 10 10:47 AM
Hi Trishna,
You check the tables where it is storing and get that data through custom bapi.
Regards,
Madhu.
‎2011 Sep 10 3:14 PM
oh no...i couldn't do that...I have mentioned that before...the data in CUA is not always update. hence, I am looking at directly fetching th user roles from the portal. I now do not know how to make a bapi work to get data from java portal! I mean how will the connection be made?
Regards,
Trishna