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: 

Archivelink documents

Former Member
0 Kudos
292

hi,

We need to download Archived documents (these are attachments to different business objects like BUS2081, BUS2012 etc.) from one SAP system to another SAP system. Probably to application server.

Please let me know if there are any classes or function modules that can help.

3 REPLIES 3

Former Member
0 Kudos
108

Hi

Use the FM 'ARCHIVOBJECT_GET_CLIENT'. Hope this should work.

Vinod.

Former Member
0 Kudos
108

Thanks Vinod, but this FM stores it on presentation server.

Is there an FM that can help store the files on application server?

Former Member
0 Kudos
108

Hi,

it's really tough one...SAP has not provided such a facility to download the archived data from SAP system to another SAP system.

However, we can create custom function module to do so.

For your reference, you can use these function modules for creating your own function:

ARCHIVE_RELOAD_OBJECT_DATA

ARCHIVE_READ_OBJECT_BY_HANDLE

ARCHIVE_READ_OBJECT_BY_OFFSET

ARCHIVE_READ_OBJECT

ARCHIVE_REGISTER_CLASS

ARCHIVE_REGISTER_STRUCTURES

Thanks,

Shamim