on 12-27-2008 11:09 AM
Hi,
I have a requirement where i have to print the digital signature which is uploaded agianst each user logon in the SE78 in the smartform.
As the user logs in top sap i am checking the the user logon exists in the ztable.
now if this condition is satisfied i have to get the logo which is uploaded in the SE78 based on the user logon.
How can i validate the userlogon and fetch the graphic from SE78.
Regards,
Prathima..
This is possible by uploading the signature in SE78 using the user login id as name of the image file.
Inside your signature window. Do the following
/: BITMAP &SY-UNAME& OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 600
I guess this mayl help you to close the thread.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prathima,
use the above code given by sandra, inside the if condition given below.
select * from ztab into itab.
loop at itab into wa
if sy-uname eq wa-username.
"rest of the code
endif.
endloop.
кu03B1ятu03B9к.
Edited by: kartik tarla on Dec 28, 2008 9:22 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do you mean by "validating the user logon"?
for reading a graphic from SE78, you may use for a B&W graphic :
DATA l_xstring TYPE xstring.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = 'GRAPHICS'
p_name = 'GRAPH_NAME'
p_id = 'BMAP'
p_btype = 'BMON'
RECEIVING
p_bmp = l_xstring
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.