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: 

logo in custom control

Former Member
0 Kudos
64

whats the transaction to load the picture so that we will get it in custom control.

RSDEMO_CUSTOM_CONTROL program i m refering.

in this program i m getting ENJOYSAP_LOGO now i want to place my logo there.

How to get it or is there any alternative to get the logo.

Thanks in advance.

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos
35

Copy the program RSDEMO_CUSTOM_CONTROL into a z program.

and then change the code in the form FORM LOAD_PIC_FROM_DB

Change this part especially:

REFRESH QUERY_TABLE.

QUERY_TABLE-NAME = '_OBJECT_ID'.

QUERY_TABLE-VALUE = '<Your logo name>'.

APPEND QUERY_TABLE.

Regards,

Ravi

0 Kudos
35

Before giving my logo i have to upload that via transaction.

There we will specify the MIME properties.

I have done long back now not able to recollect the tcode can any one help me to upload the logo.

Former Member
0 Kudos
35

chk this

it can be done using OAER transaction

run it,

in the selection screen

Class name PICTURES

Class Type OT

Object key OBJECTNAME

Objectname can be the name which you going to the store JPEG image.

then Run it.

and there you can see two screens from the Down screen choose the document type SCREEN, now right click on it ,and then press on IMPORT.

and choose correct file and say ok, JPEG file will be stored in Objectname.

Message was edited by:

Chandrasekhar Jagarlamudi

amit_khare
Active Contributor
0 Kudos
35

1. Goto the transaction OAER

2. Enter the class name as 'PICTURES'

3. Enter the class type as 'OT'

4. Enter the object key as the name of the logo you wish to give

5. Execute

6. Then in the new screen select Standard doc. types in bottom window

Click on the Screen icon

Now, it will ask for the file path where you have to upload the logo

7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = IT_LISTHEADER

i_logo = Logo name

  • I_END_OF_LIST_GRID =

.

As find in SDN.

Regards,

Amit

Reward all helpful replies.