SAP System Directories on UNIX

Here you can find information about the directory structure of an SAP system.

SAP System Directory Types

An SAP system contains the following types of directories:

  • Physically shared directories, which reside on the global host and are shared by Network File System (NFS)

  • Logically shared directories, which reside on the local host with symbolic links to the global host

  • Local directories, which reside on the local host

The figures below assume that you have set up one file system for the SAP system mount directory /<sapmnt> and one file system for the /usr/sap directory.

Standard System Directories for an SAP ABAP System

An ABAP system can be Unicode or non-Unicode.

SAP ABAP System (Unicode) based on SAP NetWeaver 7.5 to 7.52

For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
SAP ABAP System (Unicode) based on SAP NetWeaver 7.5 to 7.52

SAP ABAP System (Unicode or Non-Unicode) based on SAP NetWeaver 7.1 to 7.4

SAP ABAP System (Unicode or Non-Unicode) based on SAP NetWeaver 7.1 to 7.4

For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
SAP ABAP System (Unicode or Non-Unicode) based on SAP NetWeaver 7.1 to 7.4

SAP ABAP System (Unicode or Non-Unicode) based on SAP NetWeaver 7.0

SAP ABAP System (Unicode or Non-Unicode) based on SAP NetWeaver 7.0:

For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
SAP ABAP System (Unicode or Non-Unicode) based on SAP NetWeaver 7.0. For more information, see section SAP System Directories in Detail

Standard System Directories for an SAP Dual-Stack (ABAP+Java) System

A dual-stack system can be Unicode or non-Unicode. That is, the ABAP system can be Unicode or non-Unicode, whereas the Java system can only be Unicode.

Standard SAP Directories for a Dual-Stack (ABAP+Java) System based on SAP NetWeaver 7.1 to SAP NetWeaver 7.4

For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
Standard SAP Directories for a Dual-Stack (ABAP+Java) System based on SAP NetWeaver 7.1 to SAP NetWeaver 7.4

Standard SAP Directories for a Dual-Stack (ABAP+Java) System based on SAP NetWeaver 7.0

  • SAP Directories for a Dual-Stack (ABAP+Java) System (ABAP Unicode) based on SAP NetWeaver 7.0:

    For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
    Standard SAP Directories for a Dual-Stack (ABAP+Java) System (ABAP Unicode) based on SAP NetWeaver 7.0
  • SAP Directories for a Dual-Stack (ABAP+Java) System (ABAP non-Unicode) based on SAP NetWeaver 7.0:

    For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
    Standard SAP Directories for a Dual-Stack (ABAP+Java) System (ABAP non-Unicode) based on SAP NetWeaver 7.0

Standard System Directories for an SAP Java System (Unicode)

A Java system can only be a Unicode system.

Standard SAP Directories for a Java System (Unicode) based on SAP NetWeaver 7.1 to 7.5

For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
Standard SAP Directories for a Java System (Unicode) based on SAP NetWeaver 7.1 to 7.5

Standard SAP Directories for a Java System (Unicode) based on SAP NetWeaver 7.0

For a detailed description of the directory structure, refer to section SAP System Directories in Detail underneath
Standard SAP Directories for a Java System (Unicode) based on SAP NetWeaver 7.0

SAP System Directories in Detail

System Directories of an SAP System based on SAP NetWeaver 7.5 to 7.52

Directory Description
/<sapmnt>/<SAPSID>

Software and data for one SAP system

This directory and its subdirectories need to be physically shared using Network File System (NFS) and mounted for all hosts belonging to the same SAP system. It contains the following subdirectories:

  • exe

    This directory contains executable kernel programs. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

  • global

    This directory contains log files. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

  • profile

    This directory contains the start and operations profiles of all instances. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

/usr/sap/<SAPSID>

Instance-specific data, symbolic links to the data for one system

This directory contains files for the operation of a local instance.

  • There is a subdirectory for each instance. Each instance directory has the name of the related instance:

    • The instance names (instance IDs) of an ABAP system are as follows:

      • Primary application server instance: D<Instance_Number>

      • Additional application server instance: D<Instance_Number>

      • ABAP Central Services instance (ASCS instance): ASCS<Instance_Number>

      • Enqueue replication server instance (ERS instance): ERS<Instance_Number>

      • The enqueue replication server instance is only mandatory in a high-availability system.

    • The instance names (instance IDs) of a Java system are as follows:

      • Application server instance: J<Instance_Number>

      • Central services instance for Java (SCS): SCS<Instance_Number>

      • Enqueue replication server instance: ERS<Instance_Number>

      • The enqueue replication server instance is only mandatory in a high-availability system.

  • The directory /usr/sap/<SAPSID>/SYS contains soft links to appropriate directories in /<sapmnt>/<SAPSID>/ for storing data used by several instances.

    SYS is logically shared and available on each host of the SAP system. Its subdirectories contain symbolic links to the corresponding subdirectories of /<sapmnt>/<SAPSID> on the SAP global host, as shown in the figures above.

Whenever a local instance is started, the sapcpe program checks the executables against those in the logically shared directories and, if necessary, replicates them to the local instance. For more information about sapcpe, see The sapcpe Program documentation. Executables located in /usr/sap/<SAPSID>/SYS/exe/run are replicated by sapcpe to the exe subdirectory of the instance directories.

/usr/sap/trans

Global transport directory for all SAP systems

The global transport directory is used by the Change and Transport System (CTS). The CTS helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP systems in your system landscape. For more information, see the Change and Transport System documentation.

System Directories of an SAP System based on SAP NetWeaver 7.1 to 7.4

Directory Description
/<sapmnt>/<SAPSID>

Software and data for one SAP system

This directory and its subdirectories need to be physically shared using Network File System (NFS) and mounted for all hosts belonging to the same SAP system. It contains the following subdirectories:

  • exe

    This directory contains executable kernel programs. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

  • global

    This directory contains log files. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

  • profile

    This directory contains the start and operations profiles of all instances. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

/usr/sap/<SAPSID>

Instance-specific data, symbolic links to the data for one system

This directory contains files for the operation of a local instance.

  • There is a subdirectory for each instance. Each instance directory has the name of the related instance:

    • The instance names (instance IDs) of an ABAP system are as follows:

      • Primary application server instance: DVEBMGS<Instance_Number>

      • Additional application server instance: D<Instance_Number>

      • ABAP Central Services instance (ASCS instance): ASCS<Instance_Number>

      • Enqueue replication server instance (ERS instance): ERS<Instance_Number>

      • The enqueue replication server instance is only mandatory in a high-availability system.

    • The instance names (instance IDs) of a dual stack (ABAP+Java) system are as follows:

      • Primary application server instance: DVEBMGS<Instance_Number>

      • Additional application server instance: D<Instance_Number>

      • ABAP Central Services instance (ASCS instance): ASCS<Instance_Number>

      • Central Services instance (SCS instance): SCS<Instance_Number>

      • Enqueue replication server instances (one for the ASCS and one for the SCS instance): ERS<Instance_Number>

        The enqueue replication server instances are only mandatory in a high-availability system.

    • The instance names (instance IDs) of a Java system are as follows:

      • Application server instance: J<Instance_Number>

      • Central services instance for Java (SCS): SCS<Instance_Number>

      • Enqueue replication server instance: ERS<Instance_Number>

      • The enqueue replication server instance is only mandatory in a high-availability system.

  • The directory /usr/sap/<SAPSID>/SYS contains soft links to appropriate directories in /<sapmnt>/<SAPSID>/ for storing data used by several instances.

    SYS is logically shared and available on each host of the SAP system. Its subdirectories contain symbolic links to the corresponding subdirectories of /<sapmnt>/<SAPSID> on the SAP global host, as shown in the figures above.

Whenever a local instance is started, the sapcpe program checks the executables against those in the logically shared directories and, if necessary, replicates them to the local instance. For more information about sapcpe, see The sapcpe Program documentation. Executables located in /usr/sap/<SAPSID>/SYS/exe/run are replicated by sapcpe to the exe subdirectory of the instance directories.

/usr/sap/trans

Global transport directory for all SAP systems

The global transport directory is used by the Change and Transport System (CTS). The CTS helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP systems in your system landscape. For more information, see the Change and Transport System documentation.

System Directories of an SAP System based on SAP NetWeaver 7.0

Directory Description
/<sapmnt>/<SAPSID>

Software and data for one SAP system

This directory and its subdirectories need to be physically shared using Network File System (NFS) and mounted for all hosts belonging to the same SAP system. It contains the following subdirectories:

  1. exe

    This directory contains executable kernel programs. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

  2. global

    This directory contains log files. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

  3. profile

    This directory contains the start and operations profiles of all instances. In an SAP system with distributed instances, this directory must be shared for all hosts with the same operating system.

/usr/sap/<SAPSID>

Instance-specific data, symbolic links to the data for one system

This directory contains files for the operation of a local instance.

Whenever a local instance is started, the sapcpe program checks the executables against those in the logically shared directories and, if necessary, replicates them to the local instance.

  • There is a subdirectory for each instance. Each instance directory has the name of the related instance.
    • The instance name (instance ID) of the ABAP central instance is DVEBMGS<Instance_Number>, and the instance name of an ABAP dialog instance is D<Instance_Number>. In a high-availability system, there is also an ABAP Central Services instance called ASCS<Instance_Number>.
    • The instance name (instance ID) of the dual-stack (ABAP+Java) central instance is DVEBMGS<Instance_Number>, the instance name of the Java central services instance is SCS<Instance_Number>, and the instance name of a dual-stack (ABAP+Java) dialog instance is D<Instance_Number>. In a high-availability system, there is also an ABAP Central Services instance called ASCS<Instance_Number>
    • The instance name (instance ID) of the Java central instance is JC<Instance_Number>, the instance name of a Java dialog instance is J<Instance_Number>, and the instance name of the Java central services instance is SCS<Instance_Number>. The instance name (instance ID) of the central instance is JC<Instance_Number>, the instance name of a Java dialog instance is J<Instance_Number>, and the instance name of the Java central services instance is SCS<Instance_Number>.
  • The directory /usr/sap/<SAPSID>/SYS contains soft links to appropriate directories in /<sapmnt>/<SAPSID>/ for storing data used by several instances. SYS is logically shared and available on each host of the SAP system. Its subdirectories contain symbolic links to the corresponding subdirectories of /<sapmnt>/<SAPSID> on the SAP global host, as shown in the figures above.

For more information about sapcpe, see The sapcpe Program documentation. Executables located in /usr/sap/<SAPSID>/SYS/exe/run are replicated by sapcpe to the exe subdirectory of the instance directories.

/usr/sap/trans

Global transport directory for all SAP systems

The global transport directory is used by the Change and Transport System (CTS). The CTS helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP systems in your system landscape. For more information, see the Change and Transport System documentation.