on 07-13-2006 11:15 AM
Dear colleagues,
we want to migrate our application from BSP to Web Dynpro ABAP and I'm looking for a procedure how I can get the userid of a Portal-user in Web Dynpro ABAP which is running inside an iView ?
In BSP I used iView application parameter user_id and in the BSP the event handler for data retrieval with:
userid = runtime->server->request->get_form_field( 'userid' ).
Found a lot of entries how to do it in Java but no one for WDA ?
Thanks in advance
Michael
Hi Michael,
Actualy it is not so trivial. You have some options:
1) In case user_id is parameter of iView you can read URL parameter like described here
2) In case user_id is not iView parameter you can use usuall ABAP <i>sy-uname</i> system variable.
But pay attantion that it is not really EP user. Here we have 2 options: user mapping and SSO. In case of user mapping <i>sy-uname</i> will contain R/3 user which is mapped to EP user. In case of SSO <i>sy-uname</i> will contain same user name like in EP, because by using SSO user must ne the same on issuing and accepting systems.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.