cancel
Showing results for 
Search instead for 
Did you mean: 

Getting userid in SAP transaction iview

vmadhuvarshi_
Contributor
0 Kudos

Hi,

Is there a way to get logged on user's id in a SAP transaction iView dynamically. I can pass a static value in application parameters, but how can I get it dynamically?

Thanks,

Vishwas.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You might try passing "<user.userid>".

vmadhuvarshi_
Contributor
0 Kudos

Eric,

Thanks for quick answer. I tried your suggestion but iView throws error

Exception in SAP Application Integrator occured: Unable to process template 'S_LIFNR-LOW=<user.userid>', because 'user' is an invalid sub-context of the Root context..

What could be the reason?

Thanks.

Vishwas.

former_member182372
Active Contributor
0 Kudos

• User mapping user: <MappedUser>

• User mapping password: <MappedPassword>

• Authentication string: <Authentication>

• User ID used for accessing applications: <LogonUserId>. The <LogonUserId> is the portal user ID if no user mapping is maintained and is the result of <MappedUser> if a user mapping exists.

or

• Logon ID: <User.LogonUid>

• Logon ID: <User.UserID>

vmadhuvarshi_
Contributor
0 Kudos

Maksim,

Thanks a lot for the answer. My problem is solved with Logon ID: <User.UserID>

Regards,

Vishwas

Answers (1)

Answers (1)

Former Member
0 Kudos

Glad Maksim could help.

I guess I could have given you a little more detail, so thank you for the points!