cancel
Showing results for 
Search instead for 
Did you mean: 

Upload file without using upoad ui elem

Madhu2004
Active Contributor
0 Kudos

HI,

I have requirement where in I will have the file links in the table.On selecting the file link and clicking on a button,

file content should be uploaded.

e.g. I have file lins as 1) c:/docs/test.doc

2)c:/docs/test2.doc.

When I select the first file and click upload i shouild get the xstring content of the file. I shouldnot use file upload Ui element.

Is it possible to achieve the same.

Regards,

Madhu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can do. Try to do with gui_* FM.

Regards!

Sheik

ChrisPaine
Active Contributor
0 Kudos

@Sheik

no you can't this is web dynpro ABAP not GUI based ABAP - you don't have access to the GUI functionality.

@Madhu

You could use the [ACFUpDownload |http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b9157c878a2d67e10000000a42189c/frameset.htm] functionality - although you will need to explicitly allow for that file location in your whitelist (which could be tricky if it is very dynamic). And you'll need to consider how to distribute the whitelist (easier in 7.02).

There is an example of this functionality in the WD component WD_TEST_APPL_ACFUPDOWN