on 03-26-2013 10:46 AM
Dear All,
Is it possible to search content server and get how many files do we have that have file size greater than 100 MB?
With Regards,
Brijesh Sah
Hi Brijesh,
for getting the file size you can use database table DMS_PHF_CD1. Here you can select by using the PHIO-ID which is available and unique for each original file stored in the content server. This PHIO-ID can be retrieved by using report DMS_KPRO_READ.
In table DMS_PHF_CD1 you will also find the field FILE_SIZE which shows the size in bytes.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hei Christpoh,
Thanks for your reply.
We were thinking to create ABAP program and use function module 'SDOK_PHIOS_FILE_PROPERTIES_GET' to get the file size. As per my knowledge, Files are stored in compressed and encrypted format in contenet server so we can not get file size without using ABAP program.,
With Regards
Brijesh Sah
Yes . Write a program which will input the document type. Go to table draw and get all the document numbers (or use a BAPI). loop at that internal table and use 'BAPI_DOCUMENT_GETDETAIL2' and count the entries in table documentfiles.
The size i am not completely sure about it. Will search and let you know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.