cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Shot Upload and stores in database table

Former Member
0 Kudos

Dear all,

I have a scenario in that I should able to upload the screen shot in the database tables for webdynpro application.

Please let me know how can I acheive this task.

Thanks & Regards,

Ramu

Accepted Solutions (1)

Accepted Solutions (1)

yesrajkumar
Active Participant
0 Kudos

Hi Ram,

You can store any type of document in the R/3 using the Generic Object Service(GOS).

There is a class cl_fitv_gos=>save which is used to upload, cl_fitv_gos=>get_links to get the files as an hyperlink, cl_fitv_gos=>get_content to get the contents of the file.

I can give the source code if you actually need it.

Thanks,

Rajkumar.S

Answers (2)

Answers (2)

Former Member
0 Kudos

answered

pranav_nagpal2
Contributor
0 Kudos

Hi Rams,

This is same as uploading any file in to database.

please refer link below for help..

regards

Pranav

Former Member
0 Kudos

Hi pranav,

how to convert the Xstring to String in ABAP Webdynpro...

Regards,

rams.

Former Member
0 Kudos

Hi Ram ,

You may use the below Fm to convert xstring to string:

ECATT_CONV_XSTRING_TO_STRING.

Example:

call function 'ECATT_CONV_XSTRING_TO_STRING'

exporting

im_xstring = lv_bin

importing

ex_string = lv_string.

Where,

lv_bin is the xsting data

lv_string is the string output