Application Development 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: 

i want to upload photo , where i can see in sap gui screen

Former Member
0 Kudos

hi gurus ,

i want to upload photo where i can see in sap gui screen .

pls if any one suggest how i can place there...

thanks&regards,

praveen

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi....

Go to SMW0.This transaction is used for uploading pictures in the sap system.

here give the name of the object and its description.Execute.

Once you excute you come to a new screen where press create option again you give the name of the object and its description.

You can upload the picture from your system in the object directory.

in program you can do the follwong to see the pciture on the screen

CREATE OBJECT cntnr

EXPORTING container_name = 'ZCUSTOM'.

CREATE OBJECT pic

EXPORTING parent = cntnr.

CALL METHOD pic->set_display_mode

EXPORTING display_mode = cl_gui_picture=>display_mode_normal.

REFRESH pic_data.

CLEAR pic_size.

PERFORM load_pic_from_db

TABLES pic_data

USING 'ZREVPCO'

CHANGING pic_size.

CALL METHOD pic->load_picture_from_url

EXPORTING url = url.

Edited by: shlesha K on Jun 26, 2008 6:53 AM

4 REPLIES 4

Former Member
0 Kudos

Use SE78 to upload and see the preview.

Rgds,

Subbu

former_member156446
Active Contributor
0 Kudos

Steps to change the default SAP IMAGE on the right hand column of the screen :-

  • Transaction code - SMW0

  • X - Binary data for WebRFC application

  • Hit Enter

  • Click Execute

  • Click Settings -> Maintain MIME types

  • Click the Create button

  • Fill in :- TYPE : image/gif EXTENSION : .GIF

  • Click Save

  • Click Back to the Binary data for WebRFC

  • Click Create

  • Fill in :- Obj. name : ZXXXX.GIF Description :

  • Company Logo

  • Click Import and specify the filename where your

  • GIF file is

  • located.File type is BIN. Finish press the

  • Transfer button.

  • If successful, your logo will be shown in the

  • Binary data for

  • WebRFC.

  • Transaction code SM30 - Table/View - SSM_CUST

  • Click Maintain

  • Click New Entries

  • Name Value to be set

  • START_IMAGE ZXXXX.GIF

  • RESIZE_IMAGE NO

[*|http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm] Logoff and Login again

Former Member
0 Kudos

hi....

Go to SMW0.This transaction is used for uploading pictures in the sap system.

here give the name of the object and its description.Execute.

Once you excute you come to a new screen where press create option again you give the name of the object and its description.

You can upload the picture from your system in the object directory.

in program you can do the follwong to see the pciture on the screen

CREATE OBJECT cntnr

EXPORTING container_name = 'ZCUSTOM'.

CREATE OBJECT pic

EXPORTING parent = cntnr.

CALL METHOD pic->set_display_mode

EXPORTING display_mode = cl_gui_picture=>display_mode_normal.

REFRESH pic_data.

CLEAR pic_size.

PERFORM load_pic_from_db

TABLES pic_data

USING 'ZREVPCO'

CHANGING pic_size.

CALL METHOD pic->load_picture_from_url

EXPORTING url = url.

Edited by: shlesha K on Jun 26, 2008 6:53 AM

Former Member
0 Kudos

Hi,

There are 2 ways either use SE78 or SMW0 to uplaod a logo or picture in SAP.

Plz reward if helpful.

thanks,

dhanashri.