Skip to Content
0

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

Nov 24, 2016 at 11:42 AM

77

avatar image

Hello all,

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Nov 24, 2016 at 12:18 PM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hello Mr.Raymond,

I have 5 small containers and one main container all in one screen ,when user clicks one container that image should load into main container is it possible?

Thanks a lot

0

Seems you have to memorize the initial information used to initially display the pictures in small containers to pass it to main container (I didn't identify a GET/COPY method to read image currently displayed and send it to another occurence) in this case this is possible. (event picture_click on secondary image, clear main image, re-load image to main image, synchronisze with framework queue)

1

Thanks a lot.....

0
RAGHAVA K Dec 02, 2016 at 10:09 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded