2009 May 26 1:03 PM
Hi,
Will anyone pls suggest me how to use SUSR_USER_ADDRESS_READ this function module in smartforms. If any sample code available pls send to me.
Regards,
Suguna.
2009 May 26 1:10 PM
pass the sap user name to fucntion module.
it will return the user details in table USER_ADDRESS & USER_USR03
Thank you
Ganesh
2009 May 26 1:21 PM
hi ganesh,
i passed the username in exporting and in Smartforms input parameter i given as "sy-uname" and in output parameters the target field. But its not working anything to be done pls guide..
Regards,
Suguna
2009 May 26 2:26 PM
Try Below Codes, It works on my PC.
REPORT ZTEST.
DATA: WA_ADDR3_VAL TYPE ADDR3_VAL,
WA_USR03 TYPE USR03.
CALL FUNCTION 'SUSR_USER_ADDRESS_READ'
EXPORTING
USER_NAME = SY-UNAME
IMPORTING
USER_ADDRESS = WA_ADDR3_VAL
USER_USR03 = WA_USR03.
BREAK-POINT.
2009 May 26 3:13 PM
2009 May 26 1:20 PM
Hi,
check below code....
<< Unformatable code removed - just post relevant portions >>
Edited by: Rob Burbank on May 26, 2009 9:28 AM
2009 May 26 1:21 PM