‎2009 May 06 11:07 AM
Hai,
I have created a module pool program & it also displays logo which is placed in loacl desktop.
But I want to keep the logo in the application server & I want to load it to the module pool program.
for loading from local desktop,I have used the below logic & it is working fine.
*******************************************************************************************************************
CREATE OBJECT container
EXPORTING container_name = 'CUSTOM'.
create the picture control
CREATE OBJECT picture
EXPORTING parent = container.
load picture
CALL METHOD picture->load_picture_from_url
EXPORTING url = 'file://C:\MyDocuments\logo.jpg'.
CALL METHOD cl_gui_cfw=>flush
EXCEPTIONS cntl_system_error = 1
cntl_error = 2.
*********************************************************************************************************************
Now I want to get the logo from the application server.
I dont have idea how to place the logo()my own logo) in application server & how to display it in module pool program.
Can any one help me?
Regards,
Bhaskar.
‎2009 May 09 10:14 PM
Hi,
here you have an example by Blag:
http://atejada.blogspot.com/2006/11/cargar-imagenes-en-dynpros.html
Best regards.
‎2009 May 09 10:14 PM
Hi,
here you have an example by Blag:
http://atejada.blogspot.com/2006/11/cargar-imagenes-en-dynpros.html
Best regards.