Hello Experts,
I am using the write back badi (WB) to process the data incoming from my input forms. In this WB, I need to read the id of frontend logged in user.
Now the logic in WB generates some output and passes this output set to a custom function module which writes the output to model based on the assigned security of the logged in user. To do that I presently pass the IS_USER-USER_ID variable from WB to the FM.
So instead of passing this user id to the FM can I read the SY-UNAME system variable within the FM ?
Will the SY-UNAME give me the frontend logged in user id consistently on parallel multiple logins ?
I am also trying to understand what/when is the difference between SY-UNAME and IS_USER-USER_ID on a real time perspective ?
Thanks,
Pankaj