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: 

Problem when downloading archived Tiff-Documents

Former Member
0 Kudos

Hello,

i have problems when downloading archived documents from the ixos archive.

Downloading a multipage-tiff document works fine, but there is a problem when i try to download a Tiff-document that consists of several single tiff-files in the ixos archive. In this case only the first single tiff-file will be downloaded to my local hard disk.

In the in ABAP-Report the following functional modules are called successively.

'ARCHIV_GET_CONNECTIONS'

'ARCHIVOBJECT_GET_TABLE'

'GUI_DOWNLOAD'

Do you have an idea or a solution for this problem?

Best regards,

Jens

4 REPLIES 4

Former Member
0 Kudos

Hi Jens,

You will need to use ArchiveLink HTTP INFO function to find out# of the pages in the case of single-page TIFFs and then download each page separately using page # specific componentID.

Regards,

vishal

0 Kudos

Just curious if each document has to be downloaded separately or is it possible to combine the pages into an internal table and then download one multi-page tiff?

Former Member
0 Kudos

Hi Jens,

as Vishal mentioned you need the INFO request. So, replace ARCHIVOBJECT_GET_TABLE by the sequence

SCMS_AO_STATUS (gives you a component list in COMPS)

Now, loop over the list and get the content by

SCMS_AO_TABLE_GET where you can specify the "compid" from the loop list.

Best regards

Torsten

Former Member
0 Kudos

Hi Jens,

Could you please post a working example how to download a multipage TIFF-document, which apparently <i>is</i> working for you? I use the same FM's, but cannot get it to work properly.

Best regards,

Jasper Veltman