There are one or more calls for sapcpe included in the start profile of every SAP system instance. Program sapstart is started with an SAP system instance is started. This program automatically calls program sapcpe. Program sapcpe ensures the automatic synchronization of executables using copies of them from the central directory to the local directory. At all future start-ups, sapcpe checks that the local executables are still current and copies any new or changed executables from the central directory.
Calling from the start profile profile_1. sapcpe, the default list file processes:
Syntax
[…]
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
_PF = $(DIR_PROFILE)/profile_1
[…]
Execute_25 = immediate $(DIR_CT_RUN)/sapcpe$(FT_EXE) pf=$(_PF)
[…]
A call from a start profile profile_2. sapcpe processes a list file with the name example.lst:
Syntax
[…]
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
_PF = $(DIR_PROFILE)/profile_2
_CPARGO = $(DIR_PROFILE)/example.lst
[…]
Execute_00 = immediate $(DIR_CT_RUN)/sapcpe$(FT_EXE) pf=$(_PF) $(_CPARG0)
[…]