Executing a scenario in remote mode

You must start a remote connector before executing a scenario.

Caution

Do not implement a remote import/export connector (IEC) in a production system landscape during the production operation phase. You implement a remote IEC during the implementation project phase to transport data to the SAP CC systems.

 

Starting a remote connector

To establish a connection with the CAT Tool user interface, you start a connector by launching an executable file with the following arguments:

Procedures

Refer to the table below:

Environment

Executable

Procedures

MS Windows

iec_remote.bat

To launch a remote connector program

1. Open a COMMAND window

2. Type: cd <IEC_INSTALL_DIR>\bin

3. Press ENTER

4. Then type: iec_remote.bat <ARGUMENTS>

5. Press ENTER

 

To stop a connector, close the COMMAND window.

UNIX

iec_remote.sh

To launch a remote connector program

1. Open a UNIX console window

2. Type:

<IEC_INSTALL_DIR>/bin/iec_remote.sh <ARGUMENTS>

3. Press ENTER

 

To stop a connector, close the UNIX window.

Where:

 

The description of the command arguments is the following:

 [-repositoryDir=<SCN_REP_DIR>] -uri <CCD_URIS> [-port=<IEC_PORT_NB>] [-logDir=<LOG_DIR>]

Where:

Examples

The table below shows some examples to start a remote connector:

Environment

Command

Windows

iec_remote -repositoryDir=C:\home\job\MyRepository

-port=2002

-logDir=c:\home\job\MyLogs

UNIX

iec_remote -repositoryDir=/home/job/MyRepository

-port=2002

-logDir=/home/job/MyLogs

Executing and stopping a scenario

After a remote connector starts, you can manage the execution of a scenario by using the CAT Tool user interface.

To execute a scenario

  1. Make sure that the remote connector is running; otherwise, CAT Tool displays an error message.

  2. Open CAT Tool to execute a scenario

  1. Import the scenario to be executed from the connector repository

  2. Make sure that the scenario to be executed is selected; otherwise, click the Scenario window, and then select the scenario.

  3. On the Action menu, click Execute. After the scenario has been executed, the message "Activated" appears in the title bar. If the remote connector is not running, an error message is displayed.

  4. Monitor the logs saved by the remote connector

To stop a scenario

Stopping a connector

Close the window (COMMAND or UNIX) in which the connector program is running.