on 11-02-2014 1:44 PM
Dear All,
Good Morning...
My requirement is to read user information from LDAP and display in portal.
Which technology is good to create, either i need to go for Webdynpro Java or Webdynpro ABAP?
Thanks
Suresh Babu
Hi Suresh,
first, it will depend on the way, the LDAP is connected to the systems. I assume, your LDAP is integrated in the UME of the Portal.
second, the implementation technology will be highly depend on your skills and the technology choices within your project. I see WD Java, Poratl Application, JavaEE on JAVA Site, WD ABAP, BSP and maybe others on ABAP Side...
Since you need to display the information in Portal, a Portal Applciation is a valid (and probaby easiest) choice (See e.g. Tutorial I: Creating a Portal Application - SAP Library)
The actual code to get the user Object would be
IUser user = request.getUser();
from here, you can use the UME API: IUser to get required information:
user.getDepartment();
user.getFirstname();
// etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sergei Haller,
Thanks for input.
I downloaded nwds-extsoa-7.3-EHP1-SP13-PAT0000-win32 and i created portal application.
Now where i need to write the code. in the project there no .java file to add the code.
Thanks
Suresh Babu
Hi Suresh,
If you need to get the the userid of a logged in user , you can either use wd abap or wd java, through system variables, which gives you the logged in user id. Inturn with the help of ID , you can fetch required details.
Its better to go for wd abap since, it requires minimal coding efforts compared to abap.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for information, could you please mention any links or pdf, on how to develop
web dynpro ABAP.
Thanks in advance
Suresh
Hi Suresh,
Please check the following link for developing customized aplications on Webdynpro Platform.
http://scn.sap.com/docs/DOC-8863
Regards,
Harsha
Thanks for information,
How to get the windows longed in user in webdynpro ABAP.
I need to get the logged-in user and his LDAP variables,
Thanks in advance
Suresh
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.