Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Archive Documents Download

Former Member
0 Kudos
1,372

Hi Experts,

I have a requirement where I have to download Archive documents to a location locally on Presentation server.

I am using transaction OAAD and function-module 'ARCHIVOBJECT_DISPLAY' for reference. With FM 'ARCHIVOBJECT_DISPLAY' I can view the document.

The documents are stored and open in PDF format.

I have written a report using tables TOA01, TOA02 & TOA03 and producing a list report of archive documents. I can select one line in my report and read/view one archive documents. How can I select multiple lines in my report to download multiple documents (and not open it) to a location defined by user.

Please suggest.

Thanks

3 REPLIES 3

brueggel
Explorer
0 Kudos
290

Hello Rai

I used following ABAB Code, which works in Background mode (sy-Batch), as well as a foreground mode.

gruess leo

nabheetscn
Active Contributor
0 Kudos
290

This download will happen in foreground right..? If yes then you can read archive contents of each selected doc and use GUI_DOWNLOAD

0 Kudos
290

Hello nabheet,

can you Show me an example who works which the GUI_DOWNLOAD in the Background Job? Therfore I have deposited ths ABAP code here.

greetings leo