Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help in uploading image using module pool programming!!!

Former Member
0 Kudos

hi all

I need a help from you all...iam designing my company's Visitors Identity card...im workin in module pool programming,i need to know wat function module should i use to get jpg image n to display it...

i hav tried it using DP_PUBLISH_WWW_URL func module but it asks for OBJID dono wat should i give...i referred SAP_PICTURE_DEMO.....

<b>plz suggest me with some solutions to diplay image which is stored in desktop....</b>

asha.......

2 REPLIES 2

Former Member
0 Kudos

hi,

u try this importing jpeg image in transcation oaor .

in that give class name as pictures and class type as ot and execute it.

in that u import which image u want to say for suppose a DUMMY.

FORM TOP_OF_PAGE. "#EC CALLED

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

<b>I_LOGO = 'DUMMY'</b>

"'ENJOYSAP_LOGO'

IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

ENDFORM. "TOP_OF_PAGE

this top of page u use in FM

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_BACKGROUND_ID = 'ALV_BACKGROUND'

I_CALLBACK_PROGRAM = sy-repid

I_CALLBACK_PF_STATUS_SET = gc_pf_status_set

I_CALLBACK_USER_COMMAND = GC_USER_COMMAND

<b> I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'</b>

this may solve ur problem.

0 Kudos

hi raghu

can i use this in module pool prgmmin....bcoz iam coding using module pool techniques only....