Show TOC

Defining a Method for the File Transfer to the Target SystemLocate this document in the navigation structure

Use

You have the following options to transfer non-ABAP objects from transport requests to the target system:

  • You can use a mount directory or a share directory using the DEPLOY_DATA_SHARE parameter. The transport directory transdir/data is configured as the default directory when the non-ABAP system is created in Transport Management System. You can change this default.

    Note See also the recommendations about securing the deploy data share under Security for the Enhanced Change and Transport System (CTS+).
  • If you have configured servers which cannot be connected using file shares, you can use a SAP Java Connector connection (JCo connection) using the CTS_FILE_PROVIDER_URI parameter. The JCo connection is for communication between the AS Java system where the CTS Deploy Web service is running and the CTS server (AS ABAP). You can either specify a static or a dynamic JCo connection.

    Recommendation For security reasons, use a static JCo connection. For more information, see Security for the Enhanced Change and Transport System (CTS+).
Configuring a Mount/Share Directory

The transport directory transdir/data is set as the default directory where the CTS Deploy Web Service searches for data that was stored by the transport program tp. If you want to use another mount/share directory, proceed as follows:

  1. Open the Transport Tool tab in the TMS configuration in the Transport Management System on the AS ABAP of the CTS system.

  2. Change the value of the DEPLOY_DATA_SHARE parameter to the path of the directory you want to use.

Configuring the JCo Connection

Authorizations for the JCo Connection

  • The user used for the JCo connection requires the following authorizations on the AS ABAP of the CTS system:

    • Authorization for RFC access (S_RFC):

      • Activity: Execute (16)

      • RFC_NAME: EPSF

      • RFC_TYPE: FUGR

    • Authorization for file access (S_DATASET):

      • Activity: Read (33)

      • PATH: <transdir>/*

    • Transport Organizer (S_TRANSPRT):
      • Activity: Display (03)

    • Authorizations for JCo connections according to SAP Note 460089 Information published on SAP site.

  • If you want to use a dynamic JCo connection the Java user that is used for the CTS Deploy Web Service needs additional authorizations on the AS Java of the CTS system. Assign the action Destination_Service_Write_Permission to the Java user that you entered in the HTTP connection CTSDEPLOY in transaction SM59. If you are using CM Services, assign the same action to the Java user used for CTSCONFIG as well.

    This applies if the HTTP connections point to an AS Java of SAP NetWeaver 7.2 or higher. No special authorizations are required for lower AS Java releases.

    For more information on the destinations, see Configuring the CTS Deploy Web Service and Configuring the CTS Config Web Service.

Procedure

  1. If you want to use a static JCo connection create it on the AS Java where the Deploy Web Service runs, or use an existing one. You do this in the SAP NetWeaver Administrator. Proceed as described under Configuring Export Destinations. However, enter a different name for the destination.

  2. If you want to use a dynamic JCo connection, configure a user for it in the TMS Configuration of the AS ABAP of the CTS system. To do this, choose Start of the navigation path Goto Next navigation step File Provider User/PW End of the navigation path. Enter a user for SAP NetWeaver Application Server ABAP that has the relevant authorizations as described above, as well as the password.

  3. In the TMS configuration on the Transport Tool tab delete the DEPLOY_DATA_SHARE parameter.

  4. Set the CTS_FILE_PROVIDER_URI parameter and specify the properties of the connection as values.

Note

You must delete the DEPLOY_DATA_SHARE parameter to be able to use the CTS_FILE_PROVIDER_URI parameter. Otherwise the system tries to access the Deploy Data share.

Possible Connection Properties

Here you enter the connection data for the communication system. You can either specify a static destination or list the properties of a connection dynamically.

  • You enter the static destination in the following format: jco:destination=<MyDestination>. This destination must exist on the system where the CTS Deploy Web service is running, as described above.

  • You enter the dynamic connection with properties and values in the following format: jco:<property1>=<value1>,<property2>=<value2>,<...>.

    The following properties are available for dynamic connections:

    • If you use a message server (with load balancing), you can use these properties:

      • mshost

        Default: none

        Message Server Host

      • r3name

        Default: none

        System ID of the CTS system

      • group

        Default: PUBLIC

        Logon group

      • client

        Default: none

        Client of the CTS system

      Note

      These properties are only used if the ashost and sysnr properties are not set.

    • If you use an application server (without load balancing), you can use these properties:

      • ashost

        Default: none

        Application Server Host

        This property is only used if the sysnr is also set.

      • sysnr

        Default: none

        System Number

        This property is only used if the ashost is also set.

      • client

        Default: none

        Client of the SAP System

    • Optional properties (for message server and application server):

      • idletimeout

        Default: 720, smallest value: 0

        Example: jco:idletimeout=600

        Idle timeout in seconds

      • chunks

        Default: 1

        Value range: 1 - 100

        Number of chunks that a file is split into and which are transmitted in parallel. Values greater than 1 acclerate the data transfer for higher resource consumption (work processes). Files smaller than 1 MB are not split, regardless of the value specified in the parameter.

      • buffersize

        Default: 51200, (500KB), smallest value: 1

        Buffer size of input stream in bytes.

      • transfertimeout

        Default: 1800000 (30 Minuten)

        Transfer timeout for a file in milliseconds. If the transfer takes longer than the specified time, the system terminates the transfer.

Example
  • Example for a static destination: jco:destination=MyDestination,buffersize=100000

  • Example for a dynamic connection (with load balancing): jco:mshost=pwdf2318,client=001,r3name=CTS

  • Example for a dynamic connection (without load balancing): jco:ashost=pwdf2318,client=001,sysnr=20

  • Example for a dynamic connection (with load balancing and optional properties): jco:mshost=pwdf2318,client=001,r3name=CTS,idletimeout=600,group=PUBLIC,buffersize=100000,transfertimeout=1200000

More Information