Entering content frame

Procedure documentation Executing ConnTrans from the Command Line Locate the document in its SAP Library structure

Use

You use this procedure to execute ConnTrans through the command prompt by specifying the required command parameters.

Prerequisites

·        The system administrator has configured the site in the CRM server by using Administration Console. For more information, see ConnTrans and refer to the Integration section.

·        The system administrator has assigned the site to the mobile client by using Client Console. For more information, see Assigning and Reassigning a Site ID to the Mobile Client.

·        If the site is configured to use the Default Connection Group, the system administrator must have defined a dial-up connection in the mobile client. For more information, see Creating a Dial-Up Connection.

Procedure

...

       1.      On the Taskbar, choose Start à Run.

The Run dialog box appears.

       2.      Enter cmd and choose OK.

The Command Prompt appears.

       3.      Enter the following command:

<Application Path>\ConnTrans.exe [/auto] [/close] [/forceclose] [/minimize] [/options] [/operations=x]

This graphic is explained in the accompanying text

The default application path is C:\Program Files\SAP\Mobile\Bin.

The following table explains the parameters of the command.

Parameter

Optional / Mandatory

Description

/auto

Optional

Starts data synchronization automatically.

/close

Optional

Closes ConnTrans only if the data synchronization is successful.

/forceclose

Optional

Closes ConnTrans irrespective of the success or failure of the data synchronization process.

/minimize

Optional

Invokes ConnTrans in the minimized mode.

/options

Optional

Displays the Options pane.

/operations

Optional

Indicates the operation to be performed. You can assign the following values to X:

·        1 – Send Only

·        2 – Receive Only

·        3 – Both Send and Receive

·        0 – Default Options

This graphic is explained in the accompanying text

By default, X is assigned 0.

Result

The ConnTrans_Log.xml file is generated and the runtime information associated with the execution of ConnTrans is logged into this file. By default, the log file is created in the ConnTrans folder under the default windows temporary folder. For information on the contents of this file, see The ConnTrans Log File.

Example

Enter the following command to execute ConnTrans in the minimized mode to send and receive data. ConnTrans automatically closes after successfully synchronizing data.

C:\Program Files\SAP\Mobile\Bin\ConnTrans.exe /auto /close /minimize /operations = 3

See also:

Synchronizing Data

Leaving content frame