Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

uesr id and password

Former Member
0 Kudos

hi all,

After executing the report the output comes, while downloading the output to local file it should ask for SAP user id and password.

how to write code for asking SAP user id and password while downloading the alv output to local file.

please its urgent

thanks in advance.

1 REPLY 1

Former Member
0 Kudos

Hi,

Before downloading code the functiom module

SSFH_PASSWORD_PROMPT_NOTIFY

and

SUSR_LOGIN_CHECK_RFC

This FM check the login for only users of SAP..

If the username is something like SAP* or DDIC, SAPCPIC etc.. it raise exception, 'No check for this user'.

This function checks the USR02 table which has the user settings and it verifies the login name and password and work accordingly..

Regards,

Raj.