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: 

Get archive link file size

Former Member
0 Kudos

Hello All,

I need to get the archived link file size. In invoice there are some attachments. I am receiving the archive id from TOA01 table.

Is there any function module or program to get the size of each attachment archived ?

Please assist !!

Thanks & Regards,

Karthi

3 REPLIES 3

FredericGirod
Active Contributor
0 Kudos

Hi Karthi,

you probably used a content server ... if you use TOA01

You are only able to see the size of the database using the database manager of the content server.

for your invoices issue, I maid a simple calculation : size of the content server / ( number of line in TOA01 (for VBRK) * average page number of invoice )

you will find the cost of one page of an invoice ...

Usually you do that at the beginning of a content server project.

regards

Fred

0 Kudos

Hi Fred,

Thanks for your reply. Yes it deals with the content server.

I found this Fm - ARCHIVOBJECT_GET_TABLE and i tried to run this with the details form TOA01 table.

But I am getting the following exception :

Exception   ERROR_ARCHIV
Message ID:      CMS                    Message number:       025

Message: HTTP error: 404 Not Found 3015 - the object was not found

Do you have any idea on this ? I think this FM will return the content of the file archived.

Regards,

Karthik

0 Kudos

I'm not sure this function will give you the size.

maybe look at the program RSCMST  it's the test program to check if the content repository is up

regards

Fred