[62485] in SAPr3-news

home help back first fref pref prev next nref lref last post

Re: SAP RFC

daemon@ATHENA.MIT.EDU (xnoise)
Mon May 31 09:20:04 2010

To: sapr3-news@mit.edu
Date: Mon, 31 May 2010 15:19:56 +0200
From: xnoise <nomail@italy.it>
Message-ID: <quc706p74qql4el23fbqesjdvii8qf427i@4ax.com>

On Mon, 31 May 2010 14:30:39 +0200, Christian Knappke
<chknews@gmx.net> wrote:

>Well, a name is a name is a name. You may have several different RFC
>destinations (kind of address data) in your saprfc.ini file. The tag
>DEST=<name of the RFC destination> is used to distinguish between
>different destinations.

This is my saprfc.ini :

DEST=BIN
TYPE=B
R3NAME=BIN
MSHOST=binmain
GROUP=PUBLIC
RFC_TRACE=0
ABAP_DEBUG=0
USE_SAPGUI=0

this my full connect_param :

rfc_char_t        std_client[4] = iU("006"),
                           std_user[13]  = iU("A55234"),
                           std_pass[9]   = iU("ADMIN"),
                           std_lang[3]   = iU("EN"),
	           std_dest[100] = iU("BIN");

_stprintf(connect_param,_T("DEST=%s CLIENT=%s USER=%s PASSWD=%s
LANG=%s"),std_dest,std_client,std_user,std_pass,std_lang) ;

I think that  DEST in connect_param is equal to DEST entry of
saprfc.ini file but I don't understand what DEST is physically on my
system.

>Please be a bit more specific.
>> // this line in Unicode version is not execute. The program is killed
>> //after RfcOpenEx .Why ?
>>  if (handle == RFC_HANDLE_NULL) 
>

I have result the crash with unicode library.
This is the cause :
"Could not open the ICU common library.
   The following files must be in the path described by
   the environment variable "PATH":
   icuuc20.dll, icudt20l.dll, icuin20.dll [nlsui1.c 2960] pid = 5656
Terminating.
   You may set the environment variable "NLSUI_7BIT_FALLBACK" to run
the program
   without the ICU libraries in an emergency mode. [nlsui1.c 2711] pid
= 5656"

I have installed this DLLs and the problem is OK.

bye


home help back first fref pref prev next nref lref last post