Application Development and Automation 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: 
Read only

Adding logo/image on selection screen

Former Member
0 Likes
1,344

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

4 REPLIES 4
Read only

Former Member
0 Likes
709

Please do not post duplicate threads!!!!

Read only

Former Member
0 Likes
709

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

Read only

Former Member
0 Likes
709

Hi,

Avoid duplicate post

Check this link

Read only

GauthamV
Active Contributor
0 Likes
709

Dont violate rules with duplicate posts