Solution : https://service.sap.com/sap/support/notes/662895 (SAP Service marketplace login required)
Summary :
When using transaction SM51 to switch from server "A" to server "B" in the same ABAP system, an error occurs due to improper setup in the gw/alternative_hostnames profile parameter. The local SAP gateway on server "A" wrongly handles the login attempt for server "B", preventing connection establishment. Older SAP versions may also show "Transaction termination 14 025" when initiating a new external session on server "A". Configuring the gw/alternative_hostnames correctly on server "A" resolves this issue, ensuring correct remote logins.
Key words :
external mode gw/alternative_hostnames reason, profile parameter gw/alternative_hostnames, local sap gateway, older sap releases, external session, transaction sm51, application server, abap system, ---- double-click, double-click
Related Notes :
90323 | Display of RFC logon screen in SM51 |
49208 | Gateway does not recognize its own host |