Skip to Content
0
Former Member
May 18, 2010 at 01:59 PM

Link a file from one DIR to another DIR

116 Views

Hi All.

I need to make a copy of all PDF files in DIR A to a new DIR during creation. However, they are asking me to not create another copy but directly link the file to the new DIR.

I tried passing the File ID fields with the reference of the first DIR in the DOCUMENTFILES table of BAPI_DOCUMENT_CREATE2 and it worked but it did not check in the document.

When I tried to check in by giving the storage category details, it is giving an error saying the file cannot be found.

So my question is: Is it actually possible to create links between files within DIRs? If so how?

Also, is there a way to copy the files without downloading and uploading the file as my process needs to run in the back ground?

Any help would be greatly appreciated.

Thanks and Best regards,

Ramkumar Venkatasubramanian.