04-22-2008 1:03 PM
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.
04-22-2008 1:06 PM
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.