05-02-2006 3:03 PM
Hi. I recently uploaded an image file to the business document server through SHDI. I would like to display the image in a picture control on a custom screen, but I don't want to use a transaction variant or screen variant. So I need to get the URL of the uploaded image. The file name as provided by SHDI is 'SAPIM:TA_VARIANTS_IMAGES//THRIFT_SAV//systemlogo2.bmp'. I also uploaded a gif version. Does anyone know of a method or function module that I can use to get the URL for this image? I tried using DP_PUBLISH_WWW_URL, but that only will get images from the web repository (so far as I can tell). Any ideas? Please note that I am on R/3 version 4.6C. I'm using the load_picture_from_url_async method of class cl_gui_picture to load my image into my custom control.
Thanks,
April King
05-02-2006 5:13 PM
05-02-2006 5:58 PM
Thanks for the suggestion. But my image isn't stored in table wwwdata, so I can't use that function. I need something that can retrieve BDS images.
- April
05-02-2006 6:46 PM
I solved my own problem. It turns out that I can use methods get_info and get_with_url from class cl_bds_document_set to get my bds image. Sample code was in program SAPRDEMOWORD97INTEGRATION, in case anyone else needs to see it.
- April