10-12-2010 2:13 PM
Hi All,
I am using BizTalk 2006 R2, Microsoft BizTalk Adapter v2.0 for mySAP Business Suite SP1 & SQL Server 2005 as a Database server.
In past we developed Orchestrations which were communicating with SAP version 4.7. Currently SAP has been upgraded in ECC 6(Unicode) system.
I have configured new Send Port on server. Orchestration was able to communicate with SAP ECC 6.0 (Non- Unicode) system but while trying to connect with SAP ECC 6.0 (Unicode) I am getting error.
A message sent to adapter "SAP" on send port "ECC 6 SendPort" with URI "sap://AS:**..*.*//**/" is suspended.
Error details: RFC_ERROR_SYSTEM_FAILURE
I also installed RFC SDK 7.10 Unicode version an also set environment variables for SAP GUI tracing. Now I can execute RFC which returns CHAR value but in case of NUM data type, I am getting following error in trace file,
T:4012 Error in program 'BTSNTSvc':
>> ERROR: Import parameter length difference detected.
Read length: 7. Expected length: 0. Type: 2.
T:4012 Error in program 'BTSNTSvc': <* RfcReceive [2] : returns 19:RFC_INVALID_PARAMETER
T:4012 Error in program 'BTSNTSvc': <* RfcCallReceive [2] : returns 19:RFC_INVALID_PARAMETER
T:4012 Error in program 'BTSNTSvc': <* RfcCleanupContext [2] : returns 18:RFC_INVALID_HANDLE
T:4012 Error in program 'BTSNTSvc': <* RfcCleanupContext [2] : returns 18:RFC_INVALID_HANDLE
Thanks in advance.
10-13-2010 2:18 PM
Hi Pankaj,
please note that there are metadata length differences between non-Unicode and Unicode systems.
This has to be taken into account if you have hardcoded the length in the used connector.
Please also have a look at the RFCSDK Guide:
http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000047816&_OBJECT=011000358700001892452002E
--> Unicode Programs --> Page 35
Best regards,
Nils Buerckel
SAP AG
10-14-2010 10:21 AM
Hi Nils Buerckel ,
Thanks for your reply.
I have installed & registered the lib32.dll & lib32u.dll files. Also I have checked the settings on biztalk server.
Still I am not able to use the custom RFC having num or currency data type. Rest of custom RFCs works fine.
Please help me on this .
10-18-2010 8:56 AM
Hi Pankaj,
you stated that you 'developed Orchestrations' - how did you realize this functionality ? Do you use C or C++ ?
Best regards,
Nils Buerckel
SAP AG
10-18-2010 9:12 AM
Hi Nils Buerckel ,
We have developed Orchestrations on Biztalk server using C# .
Thanks.
10-19-2010 12:35 PM
10-26-2010 10:50 AM
Nils Buerckel ,
My problem is solved.
I have removed all export parameters from my custom RFC and instead of that used tables to return data from RFC .
Your last answer was really helpful.
Thanks for your help.
Regards,
Pankaj Laddha