cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload file to the R/3 server

Pramanan
Active Participant
0 Kudos

Hi Experts,

I need to upload scanned documents to the R/3 server.I am using File upload UI element. can anybody tell me how to upload to a server.And at the same time how to download the uploaded content.

Awaiting for the reply.

Regards,

Ramanan.P

Edited by: Ramanan Panchabakesan on Sep 9, 2008 2:14 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Pramanan
Active Participant
0 Kudos

solved by self

Former Member
0 Kudos

Ramanan,

why dont you post the solution so that it can be helpful to others

Thanks

Bala Duvvuri

Pramanan
Active Participant
0 Kudos

hi BALA,

I refered the FITV_VC_TRIP_DOCUMENTS component and used the GOS class to upload and download files.

Former Member
0 Kudos

Ramanan,

thanks for providing the solution

Thanks

Bala Duvvuri

uday_gubbala2
Active Contributor
0 Kudos

Hi Ramanan,

Am not able to find the standard webdynpro component FITV_VC_TRIP_DOCUMENTS that you are specifying in here. Can you please inform me as to whether its the correct name and as to on which version you have managed to locate this component?

Regards,

Uday

Pramanan
Active Participant
0 Kudos

Hi,

This component belongs to ESS travel management.I am working in ECC 6.0

uday_gubbala2
Active Contributor
0 Kudos

Hi Ramanan,

Thanks for updating me with the information. Am unfortunately unable to find this component in my system. Can you please specify the full GOS class name so that I can try have a look at the class directly?

Regards,

Uday

Pramanan
Active Participant
0 Kudos

hi,

cl_fitv_gos is the name of the class. I am using save method of this class to save the file and refresh link to generate link , so that user can view the file content in browser simply click on the link and third method is delete to delete the file.

uday_gubbala2
Active Contributor
0 Kudos

Hi Ramanan,

Thanks a lot for patiently replying back to my queries. I unfortunately cant even pull out the mentioned class CL_FITV_GOS in my system. I too am running on SAP ECC 6.0 version. Anyways thanks for your inputs. I will just make a note of the classes for future reference.

Regards,

Uday

TomVanDoo
Active Contributor
0 Kudos

storing:

The data of your uploaded document is stored in your context node.

Read this data, turn it into a table with one of the SCMS* functions.

store it in a table, or write it into a file. Whichever you choose.

downloading again:

read all data from your table or file

turn it into an xstring using one of the SMCS* functions

put the xstring in the context node bound to your downloadfile element

The principle is deadsimple. The only thing that really matters is where you want to store the file. And that is more of technical ABAP R/3 question, if not a functional question than a webdynpro for abap one.