Archive Function Modules
We are archiving the PDF function modules from the Application Server (unix) into Archive LInk.
For this we are using these three function modules in the same order.
3. ARCHIV_CONNECTION_INSERT .
The Function module ARCHIVOBJECT_CREATE_FILE causes performance issue as it takes too much time say 4 seconds to archive each PDF file.
Then we tried with another function module " ARCHIVOBJECT_CREATE_SYNCHRON " , but it also took the same time to archive .
Can any one suggest any other similar FM to serve this Purpose PLease ?.
The performance of archiving PDF file from mentioned FM depends on the size of PDF file.
Different FM will not help in imporving the performance.
What is the purpose of archiving these PDF files? Do you want to assign these PDF files to any existing SAP business documents?
If so you can use standard SAP functionality of Archivelink - Document Archiving concept.
In additional you can also check the FM in Debug mode - For transaction OAWD while storing the physical documents.
OAWD functionality - It will help in storing the document from local system - file directory to archive server. This functional module will match for your requirement.
Note: In OAWD you can only process archiving of physical documents for single SAP business document at a time.
Since you are doing mass archiving of Physical documents so performance of your program will be long hours (as it depends on size of your PDF docuemnt).
Edited by: Ajay Kumar on Mar 8, 2010 3:00 AM