cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in FileDownload UI element

former_member224008
Active Participant
0 Kudos

Hi Friend,

I have data source and file name in seperate variable. i want to show this file user. how can i achive this with out placing the FileDownload UI element(Because there is no user interaction here).

Thanks,

Arun.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can also trigger a download using CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/47/a8d95673b12fe2e10000000a42189d/frameset.htm

This doesn't require a special UI element, but still needs to be triggered form an action on the server side.

Answers (2)

Answers (2)

Lukas_Weigelt
Active Contributor
0 Kudos

Hi,

it's not really clear for me either, but I think you want to display a document in WDA without the user having to take any action (clicking somewhere or the like).

In that case you can use the UI-Elements Office Control, Interactive Document or iFrame(obsolete) instead.

Cheers, Lukas

Former Member
0 Kudos

Hi Arun,

can you explain in detail about your problem as I am not getting the problem.