on 01-30-2008 10:22 AM
Hi experts,
I have this case:
A webdynpro application calling a BAPI throught adaptive RFC.
The problem is the last updated username captured in my ABAP tables is the one supplied when i created the logical system names. (JCO)
What i actually want to capture is username of the user who login.
What am i missing ?
Thanks a lot.
Regards,
Daniel
Actually i used the wrong authentication technique when creating the JCO connection. Should not use user/password but UME or SSO etc. In that way the user who logins the system will have his id captured in the R3 tables. Thanks everyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel
Use the foll. code to get the user id
IWDClientUser clientUser = WDClientUser.getCurrentUser();
Pass this is as a parameter to RFC. Your ABAPer will have to do a change in RFC to capture and insert this User id in the respective table.
Regards
Nikhil Bansal
xxxxxxxxxxxxxxxxxxxxxxxxxx
Edited by: Armin Reichert on Feb 18, 2008 7:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
following code will return the logged in user
try {
IWDClientUser clientUser = WDClientUser.getCurrentUser();
} catch (WDUMException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.