Skip to Content
avatar image
Former Member

How to change a image in one container when user clicks on another container image?

Hello all,

I have a requirement , how to change a image in one container when user clicks on another container image?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 24, 2016 at 12:18 PM

    Try to handle event PICTURE_CLICK on one occurence to call both methods CLEAR_PICTURE and one LOAD_PICTURE* on the second one. (A call of CL_GUI_CFW=>UPDATE_VIEW may be required too.)

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 02, 2016 at 10:09 AM

    Problem solved i used function module "MGM_Picture_show_directly" in pbo.

    CALL FUNCTION 'MGW_PICTURE_SHOW_DIRECTLY'
    EXPORTING
    I_OBJECTID = matnr -->> article number
    I_OBJECTTYP = '00'
    I_OBJECTTXT = ' '
    I_OKCODE = 'MGW_PICTURE_SHOW_SET'
    I_REFRESH_BUFFER = ' '
    I_MESSAGE_TYP = 'S'
    I_RESIZE = 'X'
    I_FREE = 'X'
    I_OBJECT_UPDATE_POSSIBLE = ' '.

    Add comment
    10|10000 characters needed characters exceeded