Setting up Registration on the SAP Gateway

Use

Making the settings for method B to register the RFC connection on SAP Gateway.

See also : Setting up an RFC Destination for a RFC Server

Prerequisites

The following information is required for method B :

Information

Description

ProgramID

The ID of your RFC server.

Choose a different ID for each RFC server (such as converter.All2txt.1)

Procedure

Replace the text between < and > with the values used in your enterprise.

Example Example

<GATEWAY_HOST> Replace with the name of the computer on which your SAP Gateway is running.

End of the example.
  1. Edit <RFC_SERVER>.

If you use a template program ( RunConvUtil.bat or RunConvUtil) , you must include the following information in the file:

set ProgramID=<ProgramID>

set GATEWAY_HOST=<GATEWAY_HOST>

set GATEWAY_SERVICE=<GATEWAY_SERVICE>

(RunConvUtil.bat) or

ProgramID=<ProgramID>

GATEWAY_HOST=<GATEWAY_HOST>

GATEWAY_SERVICE=<GATEWAY_SERVICE>

(RunConvUtil)

Otherwise the RFC server must be called with the following parameters:

-a <ProgramID> -g <GATEWAY_HOST> -x <GATEWAY_SERVICE>

  1. Start <RFC_SERVER>.

  1. Check the messages on the screen ( RunConvUtil.bat ) and in the output files ( RunConvUtil ).

If, after approximately 30 seconds, you do not receive any error messages, it is likely that everything is in order.

Otherwise check whether you have correctly set <GATEWAY_HOST> and <GATEWAY_SERVICE>, and whether the gateway server is operational.

  1. Start the transaction SM59 ( Display and maintain RFC destinations ) on your system.

  • Choose Create and enter any name in the RFC destination field, for example CONVERTER_ALL2TXT.

  • Enter T as the value for Connection type .

  • Enter a description and confirm your entries.

  • Choose Registration as the Activation type .

  • Enter <ProgramID> as the value for Program ID .

  • Enter <GATEWAY_HOST> for Gateway host and <GATEWAY_SERVICE> for Gateway service . Confirm the entry and save the data.

  1. Choose Test connection .

  • Everything is in order if you see the connection data with the transfer times.

  • If, after a while, you see an error message marked in red , you need to find the error.

Check whether <RFC_SERVER> is still running, and if the data <ProgramID>, <GATEWAY_HOST>, and <GATEWAY_SERVICE> that you are using in <RFC_SERVER> is the same as the data that you entered.

Conversion can only occur if the connection test is free of errors.