cancel
Showing results for 
Search instead for 
Did you mean: 

Image in Adobe Form

Former Member
0 Kudos

I'm new to adobe forms. i am developing an adobe form, want to display images.

i know one way, dragging image field but how can

i achieve d same as we do in scripts and smartforms?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

u can try this...in interface initialization code,

CONSTANTS:

l_c_graphics TYPE tdobjectgr VALUE 'GRAPHICS',

l_c_bmap TYPE tdidgr VALUE 'BMAP',

l_c_bcol TYPE tdbtype VALUE 'BCOL'.

data:

l_c_logo TYPE tdobname VALUE 'SAPLOGO'.

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp

EXPORTING

p_object = l_c_graphics

p_name = l_c_logo

p_id = l_c_bmap

p_btype = l_c_bcol

receiving

p_bmp = v_logo

EXCEPTIONS

NOT_FOUND = 1

INTERNAL_ERROR = 2

others = 3 .

Hi Using se78 upload ur image first and then use above method.

- Ram

Edited by: Rammohan Nagam on Mar 24, 2009 9:46 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use the method "cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp" to display the graphics in adobe forms.

Regards,

Sankar