Skip to Content
0
Former Member
Aug 20, 2008 at 07:28 PM

Null Pointer exception when retrieving the portal user name in webdynpro

11 Views

Hi All,

Using the IWDClientUser and IUser classes, I am retrieving the portal logged in user name in web dynpro. But iam getting null pointer exception.

IUser sapUser = null; IWDClientUser user = WDClientUser.getCurrentUser();sapUser = user.getSAPUser(); String str = sapUser.getName();

Help required.

thanks

Supriya.