2009 Jan 27 10:53 AM
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.
2009 Jan 27 10:55 AM
Hi
Use the FM 'ARCHIVOBJECT_GET_CLIENT'. Hope this should work.
Vinod.
2009 Jan 27 11:27 AM
Thanks Vinod, but this FM stores it on presentation server.
Is there an FM that can help store the files on application server?
2009 Jan 29 11:46 AM
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