2007 May 12 2:17 PM
Hi All,
.I have Binary content in the Internal table.How to get the image from that Binary Content.
Is there any function Module or Methods to solve this problem.
Thanks.
Hi All,
.I have Binary content in the Internal table.How to get the image from that Binary Content.
Is there any function Module or Methods to solve this problem.
Thanks.
2007 May 12 3:08 PM
Suppose you have the binary content of an image in lt_data.
You create a temperate URL by:
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'IMAGE'
subtype = 'GIF'
TABLES
data = lt_data
CHANGING
url = lv_url.
The 'IMAGE'/'GIF' is the MIME type of your image.
Then you pass this URL to the method LOAD_PICTURE_FROM_URL of the picture control.
2007 May 12 3:45 PM
Hi,
Thank You for ur reply.
I want to display that image in the smartform.
How to display that.Please
Thanks.
2007 May 12 5:00 PM
Hi
Execute the transaction
<b>SMW0</b> for adding the Binary data images
select Binary data excute the tcode
displays the list
Press CREATE
Enter some Zobject name
Import filename (to where it should import)
In the WEB respository
select -> settings -> assign MIME editor
Image/ipg and come out
Goto SM30
Enter SSM_CUST
Mainatain
start_image = ZMIME (image name).
Enter the picture ID and OBJECT and save .
Reward points if useful
Regards
Anji