on 01-28-2009 1:47 PM
hi all,
I'm new to Java WD. As my scenario, i implement GetSAPUser() then i already get a USER NAME. Firstly, i convert the user name to String. After that, i want to call bapi which imports SY-UNAME to SAP. In other word, from userName(type String) to sy-uame (type Syuname).
Please help me to figure out the solution.
Thanks a million in advance.
Peerasit
hi,
you can pass the string value as input.
Before that you check the RFC in se37 by giving the string input
Thanks and Regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normally, User id from WD Java is a string. Just follow the code below:
String user = wdThis.getUser();
wdContext.currentXXXX.setIv_User(user);
Then, Iv_User is set by 'user'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please clarify the type of the input used in the Function module specified?
If that is String you can pass without any typecasting otherwise typecast is needed.
Kind regards,
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.