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: 

FM to get archived document Info

Former Member

Hallo all,

is there any FM that returned all information about a document in Archive System? i need to get only the name of the document, i have document id and content repository id. but i am looking for the name of the file,

thank you all

9 REPLIES 9

kesavadas_thekkillath
Active Contributor
0 Kudos

Check AS_API_READ, its well documented.

Check ARCHIVE_READ_OBJECT

0 Kudos

hi, thanx for your replay, but i am looking only for File description, only the name (DESCRIPTION)

kesavadas_thekkillath
Active Contributor
0 Kudos

Then you can directly make a select from view V_ARC_OBJ and use the field OBJTEXT.

For further details check the transaction AOBJ.

0 Kudos

thank you again, but i will explaine more: i have uploaded a file via TR OAAD, this document is stored now in TOAHR, and what i am looking for, is how to get back the description (name of the document), from OABJ it wont work cause its standard and its an other thema,

0 Kudos

May be you have to check the code written in fm ALINK_RFC_DOCUMENT_URLS_GET wrapped in HRF_JP_READ_DIM_ARCLINKOBJID.

Here it dynamically selects the table.

0 Kudos

here an exampl:

Upload a file from frontend: C://Thomas_foto.jpg

in TOAHR we can find Document ID and Content Repository ID, of course other attributes, but no file name (Thomas_foto)

and that waht i am looking for the name of the document . the FM that you send me its not returning the name of te document. but mimetype...

0 Kudos

Check ARCHIVE_ADMIN_GET_FILE_INFO

0 Kudos

no sorry, the urL doesnt contain any file name, only Doc id crep id and data... but no name

0 Kudos

It looks a bit like mixing data archiving with optical archiving.

Make it easier for the community, and tell the transactions that you used to upload your foto and tell the transaction that you use to access this foto from within SAP

I guess you see your file name in the transactions where you load or display the document?

So just debug the SAP program and you will see what SAP does to get the name.