Skip to Content
0
Nov 21, 2005 at 03:32 PM

Type mismatch error

25 Views

Hello everybody,

im trying to pass the WD user to a Backend-System via RFC FM as a import parameter. Therefor i want to assign the current user to the context of the controller. the current user is of type IWDClientUser and the context attribute 'User' is of type string. Now im getting a type mismatch error at the second code line:

IWDClientUser user = WDClientUser.getCurrentUser();
...
wdContext.currentZxss_Get_Employees_InputElement().setUser(user);