‎2015 Jul 06 5:46 AM
Dear friends,
I have Smart form with footer consist of different sy-user name(it will display name of current user) .I have to display current user name in every transaction and the same time it should display previous user name also.
what I should do for this? please help.
For me it will Showing only current user name.(not previous user)
Please help me guys
Waiting for Reply
Thank you ,
sachin
‎2015 Jul 06 5:52 AM
Hi,
Are you passing sy-unam for both field ? Then it will show same for both field.Sy-unam will give the user name of the user who is currently running the tcode.You can fetch username name from table USR02. based on your condition.
With Regards
Arun VS
‎2015 Jul 06 5:52 AM
Hi,
Are you passing sy-unam for both field ? Then it will show same for both field.Sy-unam will give the user name of the user who is currently running the tcode.You can fetch username name from table USR02. based on your condition.
With Regards
Arun VS
‎2015 Jul 06 6:01 AM
‎2015 Jul 06 6:06 AM
Hi Arun,
"select SINGLE name_text from v_usr_name into
name where bname = sy-uname." This s my code and I a, fetching it from table v_usr_name.
‎2015 Jul 06 6:20 AM
‎2015 Jul 06 7:04 AM
Hi,
Share your solution.
As I think in USR02 hold logon data and not hold who run the last time any smart form. for this you save data in custom table or else .
‎2015 Jul 06 7:57 AM