Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

get the sy-uname from SAP system

dear all, i use the following codes to retrive the system username

IWDClientUser wduser = WDClientUser.getCurrentUser();

IUser user=wduser.getSAPUser();

String username = user.getUniqueName();

i already add the required into the project path.

but stil i get the error said unhandled exception type WDUMExeption,i got the red underlined at WDClientUser.getCurrentUser();

any idea? or any other way to retrive the username in sap? thank you

Former Member
Not what you were looking for? View more on this topic or Ask a question