06-26-2008 11:04 AM
Hi,
Am using Email address as a parameter on Selection-screen.
like
PARAMETERS:p_addr type AD_SMTPADR.
it works fine but problem is:
now i want to fill it by-default in selecrion-screen as login user id's email address.
how can i achieve that?
Amit.
06-26-2008 11:07 AM
Do it in the INITIALIZATION block, use FM BAPI_USER_GET_DETAIL to get the e-mail address.
Regards
06-26-2008 11:07 AM
Do it in the INITIALIZATION block, use FM BAPI_USER_GET_DETAIL to get the e-mail address.
Regards
06-26-2008 11:07 AM
write as :
initialization.
select single USRID_LONG into p_addr
where subty = '0010'
and usrid = sy-uname.
06-26-2008 11:08 AM
Hi,
following is the syntax:
PARAMETERS:p_addr type AD_SMTPADR default 'XXXX.com'.
Jaya Vani
06-26-2008 11:09 AM
Hi,
PARAMETERS:p_addr type AD_SMTPADR.
Write the code in Initialization
INITIALIZATION.
p_addr = abc at xyz.com
Reward points if helpful.
06-26-2008 11:10 AM
06-26-2008 11:17 AM
Hello,
Try this.
PARAMETERS:p_addr TYPE ad_smtpadr .
INITIALIZATION.
p_addr = sy-uname.
Neeraj