on 01-08-2016 8:17 AM
Hi experts:)
I would like to know whether it is possible to get a username in SMEN screen, e.g. which says "Welcome, Diana!"in the text field?
Thank you.
Of course.
var user=session.info.user;
This will give you the userID. If you want the full name of the user, then you'd have to perform an RFC to retrieve it from the backend, something like BAPI_USER_GETDETAIL or similar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Tamas for your helpuf answer, as always
Yes I would like to have a full name of a user, but I'm not sure how to use RFC? I found the post from Steve, but it is regarding Personas 2.0, that's why I'm asking - maybe in personas 3.0 something has change - the steps how to to that.
Best,
Diana
It is different in Personas 3 - this wiki page shows you how to do it, including an example calling exactly the BAPI you need!
How to call Remote Enabled ABAP Function Modules in Personas 3.0
Steve.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.