Application Development and Automation 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: 
Read only

Archive Function Modules

Former Member
0 Likes
7,802

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
Read only

Former Member
3,001

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
Read only

mvoros
Active Contributor
0 Likes
3,001

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

Read only

Former Member
3,002

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

Read only

Former Member
0 Likes
3,001

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