on 01-20-2005 1:37 PM
Hi,
im working with an application using following code:
RfcRc = RfcCall(hRfc, "Z_PMOPEN_RECEIVE", Exporting, Tables);
switch (RfcRc)
{
case RFC_OK :
{
// define import params
Importing[0].name = "OUT_STORED_RECS";
Importing[0].nlen = 15;
Importing[0].type = TYPNUM;
Importing[0].leng = sizeof(ZPM_INPUT_TAID);
Importing[0].addr = iOutStoredRecs;
Importing[1].name = "OUT_TAID";
Importing[1].nlen = 8;
Importing[1].type = TYPNUM;
Importing[1].leng = sizeof(ZPM_INPUT_TAID);
Importing[1].addr = iOutTaid;
Importing[2].name = NULL;
// receive results
RfcRc = RfcReceive(hRfc, Importing, Tables, &RfcException);
All worked fine with the releases 4.5 and 4.6 but now Im trying to make it with SAP_BASIS 620 an always get an RFC_SYS_EXCEPTION with RfcReceive (also with RfcCallReceive and ..Ex ).
Can anyone help me?
You'd be better to post this perhaps under the ABAP forum.
What language are you using to contect? Does the Z_PMOPEN_RECEIVE work if you call it in SE37?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you get any short dumps in transaction ST22 for the problem?
What version of libraries are you using? Or is just the libraries from the SAP Gui, if so please note you require at least the 620 SAP GUI to connect to a 620 system and that GUI will also connect to all the other older versions.
Its done!
Beside using a newer library version
I located a problem with case sensitive parameters at the RfcOpen function (e.g. language).
At first I couldnt believe that this can cause such a problem (you remember RfcCallReceive(m_hRfc, cU("RFC_PING"), NULL, NULL,Tables, &RfcException); returns with RFC_SYS_EXCEPTION).
But its true!
Thanks a lot for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.