Skip to Content
author's profile photo
Former Member

Help in uploading image using module pool programming!!!

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.......

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 08:37 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded