2007 Mar 06 11:57 AM
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.
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.
2007 Mar 06 12:00 PM
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
2007 Mar 06 12:07 PM
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.
2007 Mar 06 12:02 PM
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
2007 Mar 06 12:04 PM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |