cancel
Showing results for 
Search instead for 
Did you mean: 

FM to rename a original file checked in to content repository

0 Kudos

Hi,

is there an existing function module to rename an original file that is checked in to a KPRO content repository? I know that there is the posibility to use a BAdI to rename files automatically. But I need it only for an seperate import program.

Regards

Florian

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Florian,

as far as I know from DMS side there is no such standard function module. The information of the original files are normally stored in tables

DMS_PH_CD1

DMS_PHF_CD1

DMS_DOC2LOIO

DMS_PHIO2FILE

Maybe this could be useful for your import program.

Best regards,

Christoph

0 Kudos

Hi Christoph,

thank's for your answer. I've renamed the attribute FILENAME in table DMS_PHIO2FILE for a original file and that worked. I learned from a colleague who is also very active in this community - thank's Benedikt! - that the DVS GUID (attribute FILE_ID) can be retrieved from the table column DMS_PH_CD1.PROP08.

The attribute FILE_NAME in table DMS_PHF_CD1 must not be renamed as it is being used for the access to the SAP Content Server. If you rename this filename the file retrieval from the SAP Content Server isn't possible anymore.

Best regards

Florian