cancel
Showing results for 
Search instead for 
Did you mean: 

How to receive the images / binary data t ype

Former Member
0 Kudos

How to receive the images / binary data type in webdynpro....

i have a website that let's the user send email, the email attachment and message are stored in both in images data type....

q1) can i stored the message into binary data type...but the message is very long.....

q2) if i have a textbox ...i surely will need to display the message in string ,right ?

[......... msg here ........]

what is the codes to receive the images / binary data type in webdynpro....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

good

go through this link,might help you to solve your problem

http://help.sap.com/saphelp_nw04s/helpdata/en/0f/619fd378a641b29386063019c24fc4/content.htm

thanks

mrutyun^

Former Member
0 Kudos

not really know how this link can help me..

pls describe...

i have a web application to handle email ...

Answers (1)

Answers (1)

Former Member
0 Kudos

As in your previous post if you are storing them as BLOB object.. am sure you are able to get a byte stream or byte array(bytes[]) out of it.

There should be some way to identify if its a image or a message BLOB. If its a image , convert into bytes and use

   WDWebResource.getWebResource(bytes,resource type).getAbsoluteURL()

to obtain the url.. assign this image UI element..

In case its the message , use bytes.toString to get the message ..

Regards

Bharathwaj