Program sapcpe
If changes have been made to the executables on the central instance, program sapcpe ensures Automatic Synchronization of the locally installed executables.
Program sapcpe does the following:
● Copies or links (UNIX only) the executables from the central directory to the local directory.
As of Release
7.00, directories can also be synchronized. This means that directories
entered in the sapcpe copy lists are synchronized recursively. Directories and their contents can also be
deleted locally. This is done
when these directories are no longer available in the central executables
directory.
Under UNIX, the root user is
therefore not allowed to run sapcpe and, as a consequence, cannot synchronize
this directory.

Note that local directories could be deleted if the directories are synchronized using sapcpe.
●
By default, all
executables are copied.
UNIX: The executables for which a soft link is created
are specified in sapcpeft.
● This checks that the local executables are up to date each time an SAP instance that uses local executables is started. sapcpe checks the local executables against the central directory (according to the settings in the profiles). It copies new executables whose date or size has changed.
This feature of sapcpe means that it is not necessary to distribute executables manually after an SAP release has been installed or upgraded. To update your distributed SAP system, you only need to restart the SAP instances that are set up for automatic synchronization.
If sapcpe finds any of the following list files in the central executables directory, it copies only those executables that are contained in these files to the local directory:
instance.lst, instancedb.lst, tools.lst, inhouse.lst, frontend.lst, dbclient.lst, igsexe.lst.
The files that are copied or linked to are specified in the configuration file sapcpeft.
If none of the
above-mentioned list files are available, sapcpe copies or links to all
the files defined in configuration file sapcpeft.
The configuration file contains
the executables that are required for normal operation of an SAP
instance. All of the executables
in this list are copied to the local directory in accordance with their
attributes.