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: 

Archive Function Modules

former_member487858
Active Participant
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member

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

3 REPLIES 3

mvoros
Active Contributor
0 Kudos

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

Former Member

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

Former Member
0 Kudos

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