cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect SAP user ID in portal on login

Former Member
0 Kudos

Hi Experts,

When I login to portal and open SAP system from there and check my sy-uname in SAP GUI , it shows the correct sy-uname.

But When I execute any application from portal and try to debug it with external breakpoints for my userid , then the break points don't get hit.This issue occurs randomly on any day and get fixed on its own in a very short period of time.
Also when I open any application from portal at that time (which shows user specific data), then it shows some other user's data instead of my data.

So the situation is that I get correct SAP ID on my SAP system and some other SAP ID in portal applications.This SAP ID is fetched from the AD (active directory).Also this incorrect SAP ID is of the user who has never accessed my system. Any clues where should I check and what should I check ?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member241902
Active Participant
0 Kudos

Hi,

can you attach Http watch trace by replicating the issue. You can refer to the SAP Note

1558903 - How To Trace a Portal Scenario Using HttpWatch. to collect Http watch traces.

Regards,

Dharmendra Kumar

Former Member
0 Kudos

on Further analysis on this, we found that the issue came only when opening the application using HTTP.

And the application uses the logon cookie which probably hold the incorrect SAP user id.

When we open the SAP GUI from portal, this happens without involving HTTP logon cookie and in this case the SAP user is correct.