[62483] 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 08:08:17 2010

To: sapr3-news@mit.edu
Date: Mon, 31 May 2010 14:08:09 +0200
From: xnoise <nomail@italy.it>
Message-ID: <o09706dh15b1anrkis204l95bo4ll9pqat@4ax.com>

On Mon, 31 May 2010 13:48:23 +0200, Christian Knappke
<chknews@gmx.net> wrote:


>> What's :
>> DEST ?
>
>The name of the RFC destination

I don't understand here.
What's the name of RFC destination ?
In the string connect_param of RfcOpenEx I use the ID  DEST= to use
saprfc.ini file.In this file I have a entry named DEST= .
How to use it ?

My Application ONLY in unicode version is killed with code -1 after
call RfcOpenEx. Why ?



this is the code:

// I use saprfc.ini file
_stprintf(connect_param,_T("DEST=%s CLIENT=%s USER=%s PASSWD=%s
LANG=%s"),std_dest,std_client,std_user,std_pass,std_lang) ;

_tprintf(_T("Premere un tasto per avviare la connessione...\n")) ;
	getch() ;

  handle = RfcOpenEx (connect_param, &error_info);
   	
// this line in Unicode version is not execute. The program is killed
//after RfcOpenEx .Why ?
 if (handle == RFC_HANDLE_NULL) 


bye

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