‎2009 Mar 05 6:33 AM
How can I add logo or image on my selection screen??? or else use a picture as a background on the selection screen??
P.S : I have already searched the forum and have not got any suitable answer..most of them are about adding image on module pool screen..but I want it in my selection screen???
‎2009 Mar 05 6:35 AM
‎2009 Mar 05 6:39 AM
Hi ,
Try like this
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
*&---------------------------------------------------------------------
**& Form show_pic
*&---------------------------------------------------------------------
FORM show_pic.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 55
left = 750
top = 08
width = 350.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'C:\zpic.gif'.
*here you give the path where your pic is stored on the desktop
IF sy-subrc NE 0.
ENDIF.
ENDFORM.
Regards,
Nandha
‎2009 Mar 05 6:41 AM
‎2009 Mar 05 6:49 AM