Automatic establish RFC Connections

Configure SAP_EM connection via upload of service key

Report is built to automatically populate required connections for SAP_EM and SAP_EM_TOKEN in SM59 transaction and set the cloud password for created instance.

Two constant parameters - SAP_EM_CLIENT_ID and SAP_EM_TOKEN_DESTINATION are also maintained automatically.

As import parameters user should fill Cloud Instance Name, RFC Connection Name and provide the path to event messaging service key file.

At the moment report creates only new connection , in next release the functionally will be enhanced.

  1. Transaction Code: se38 - report-/ASADEV/ACI_EM_RFC_CREATE.

    You need to pooulate name for Cloud Instance, RFC Connection and provide path to json file which contains service keys. Report was successfully opened and parameters were maintained.

  2. Press execute button. Two pop up with success messages were created.

  3. Go to the transaction sm59-> Connection to HTTP Connections to External Server and check if given connection was created, afterwards click on test connection and you should able to see Response code 200 as shown on the screenshot below.

  4. Same actions should be done for token connection, as described in step 3. Connection exists, pop up with user name shows up.

  5. Go to spro customizing and check if the instance with name from report was created:

    If connection exists go to the dafault values and check if Client Id, count, destination, offset are created as shown on the screenshot.