2016 Aug 24 3:45 PM
Hi
I've developed a program loads and shows a picture by method CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC,the url can use both protocol: http and https,
but the image is not loaded with https url
Some experience about these?
Max
Hi
I'm still investigating about the issue
Now It's been discovered the method CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC works if before calling it it's called an object of class CL_GUI_HTML_VIEWER
I've tried to upload my https url by transaction DWDM:
if I run demo program SAP_PICTURE_DEMO (based on class CL_GUI_PICTURE), the image is not displayed,
but if I run demo program SAPHTML_DEMO1 (based on class CL_GUI_HTML_VIEWER) and then SAP_PICTURE_DEMO, it works
The strange is I can run those programs in different systems (for example SAPHTML_DEMO1 in development and SAP_PICTURE_DEMO in production) and it works
So I can suppose the methods of class CL_GUI_HTML_VIEWER set something at the client level (I mean SAP GUI), infact the program SAPHTML_DEMO1 can be run once, and the picture will be loaded until the pc will be switched off
If somebody has an idea...
2016 Aug 25 12:09 PM
Hi
I'm still investigating about the issue
Now It's been discovered the method CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC works if before calling it it's called an object of class CL_GUI_HTML_VIEWER
I've tried to upload my https url by transaction DWDM:
if I run demo program SAP_PICTURE_DEMO (based on class CL_GUI_PICTURE), the image is not displayed,
but if I run demo program SAPHTML_DEMO1 (based on class CL_GUI_HTML_VIEWER) and then SAP_PICTURE_DEMO, it works
The strange is I can run those programs in different systems (for example SAPHTML_DEMO1 in development and SAP_PICTURE_DEMO in production) and it works
So I can suppose the methods of class CL_GUI_HTML_VIEWER set something at the client level (I mean SAP GUI), infact the program SAPHTML_DEMO1 can be run once, and the picture will be loaded until the pc will be switched off
If somebody has an idea...
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |