How to Recover / Recreate Deleted Cofiles & Data Files

You have accidentally deleted the cofiles or data files from the \usr\sap\trans directory. You wanted to recover the deleted files by recreating both of cofiles and data files back.

Solution

Login to the operating system level and perform below command line.

TP EXPORT [TR-NUMBER] pf=[TP-DOMAIN-PROFILE]

Example command,

TP EXPORT SIDK900123 pf="E:\usr\sap\SID\SYS\profile\TP_DOMAIN_SID.PFL"

The command will automatically generate the cofiles and data file. You can check both files from the \usr\sap\trans directory once the command successfully completed.

You May Also Like

Leave a Reply?