cancel
Showing results for 
Search instead for 
Did you mean: 

Login Problem

Former Member
0 Kudos

Hi Exprets,

I want default Portal user name (id) to my WebDynpro application. I have set <b>sy-uname</b> in my application but seems its not working.

I made settings also in Service SICF by giving default user name.

How can i get logged user of EP without asking Username and Password in my application?

Thanks in advance/

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

You need to set-up the SSO Signle Sign On between your SAP Portal and the SAP Web AS where the Web Dynpro runs.

SSO is really a big topic...

Sergio

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Darsha,

Sy-uname i want to pass of Portal. But its not coming properly. After that only i can run BAPI

Former Member
0 Kudos

Hi Prasad,

You check out this code:

data return type standard table of bapiret2.

data ADDRESS TYPE BAPIADDR3.

call function 'BAPI_USER_GET_DETAIL'

exporting

username = sy-uname

importing

address = address

tables

return = return.

Hope this will help.

Cheers,

Darshna.