SAP Knowledge Base Article - Preview

2654088 - External programs are started with wrong Environment variables

Symptom

You have two SAP systems running in the same host: <sid1> & <sid2>

From system <sid1> you want to start an external program e.g sapxpg, to be run with environment variables from <sid2>
To do that, you set in SM59 the RFC destination with Gateway Options:
 
           Gateway Host       : <hostname>
           Gateway Service   :  <gateway service from <sid2>>

When executing the external program e.g via SM49 it takes the environment variables from <sid1> instead of <sid2> ones.


Read more...

Environment

SAP Netweaver

Product

SAP NetWeaver all versions

Keywords

sapxpg, rfc/use_gwstart, DB13, env , KBA , BC-CST-GW , Gateway/CPIC , BC-MID-RFC , RFC , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.