03-05-2010 6:05 PM
Hello Experts,
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.
1. ARCHIV_METAINFO_GET
2. ARCHIVOBJECT_CREATE_FILE
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 ?.
Regards
Swarna.
03-06-2010 12:03 PM
Hi Swarna,
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).
-Thanks,
Ajay
Edited by: Ajay Kumar on Mar 8, 2010 3:00 AM
03-05-2010 9:14 PM
Maybe the issue is not in FM but in content server. Have you tried to debug those FMs to see which part is taking most time?
Cheers
03-06-2010 12:03 PM
Hi Swarna,
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).
-Thanks,
Ajay
Edited by: Ajay Kumar on Mar 8, 2010 3:00 AM
05-19-2010 5:02 PM
Hi
I need to upload files from SAP frontend to filenet server via a ABAP program. Could you explain how you achieved the same in detail using the 3 function modules you have mentioned.
Would be great help.
Thanks