09-21-2010 11:00 AM
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
09-21-2010 11:05 AM
Check AS_API_READ, its well documented.
Check ARCHIVE_READ_OBJECT
09-21-2010 11:53 AM
hi, thanx for your replay, but i am looking only for File description, only the name (DESCRIPTION)
09-21-2010 11:57 AM
Then you can directly make a select from view V_ARC_OBJ and use the field OBJTEXT.
For further details check the transaction AOBJ.
09-21-2010 12:06 PM
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,
09-21-2010 12:23 PM
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.
09-21-2010 12:35 PM
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...
09-21-2010 12:40 PM
09-21-2010 12:48 PM
no sorry, the urL doesnt contain any file name, only Doc id crep id and data... but no name
09-23-2010 5:10 PM
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.