Author |
Message
|
nthepak |
Posted: Fri Jun 18, 2010 6:45 am Post subject: Problem using SAP Request node |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hi All,
I am using SAP Request node in my flow on WMB61 and trying to connect to the SAP Server. RFC Destination has been created at the SAP Server side and the required credentials for the SAP node to connect to the SAP server are available and is connecting.
However, while the flow tries to send the idoc message using SAP node I am getting the exception as -
"JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'..JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "640.0.165" but required at least version "640.0.315"..."
I have tried to fetch the required version of the librfc.dll but was unsuccessfull.
Guys pls guide me in this as I am using the adapter node for the first time and need to know if I am missing out on anything over here.
Thank you for your help! _________________ BR,
Deepak N |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Jun 18, 2010 7:49 am Post subject: Re: Problem using SAP Request node |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
nthepak wrote: |
However, while the flow tries to send the idoc message using SAP node I am getting the exception as -
"JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'..JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "640.0.165" but required at least version "640.0.315"..."
I have tried to fetch the required version of the librfc.dll but was unsuccessfull.
|
See its throwing the version conflict error. get the latest version DLLs and JARs from SAP BASIS team.
there are 2 dlls and 1 jar. [Get these from SAP Basis, they will be having the latest one]
librfc32.dll [Windows related
sapjcorfc.dll [sap Connectivity DLL - windows specific]
sapjco.jar [sap Connectivity JAR]
whats your toolkit version? is it 6.1.0.5
you can give a try like this too
-Delete the sapAdapter and project from your workspace
-Clean it properly
-Ensure there are no sap Artifacts
-Re-Discover again with proper DLLS and JARS _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
nthepak |
Posted: Fri Jun 18, 2010 10:20 pm Post subject: |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
I am trying to fetch the latest version of librfc.dll from the SAP Service Marketplace, and got the latest SAP JCO R3.0.5, but seems like the librfc.dll file is missing in that as I could only find the sapjco3.jar and sapjco3.dll files.
Is there a specific site from where I can fetch this required librfc.dll file and use it? _________________ BR,
Deepak N |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jun 19, 2010 4:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
nthepak wrote: |
I am trying to fetch the latest version of librfc.dll from the SAP Service Marketplace, and got the latest SAP JCO R3.0.5, but seems like the librfc.dll file is missing in that as I could only find the sapjco3.jar and sapjco3.dll files.
Is there a specific site from where I can fetch this required librfc.dll file and use it? |
You cannot go with the latest.
You have to go with the latest version supported by your adapter. From your previous post I'd expect that to be the latest version of JCO 2.x...
There are a number of code changes mandated between JCO 2.x and JCO 3.x...., so unless you're on broker V7 I doubt that you'd be using JCO 3.x
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nthepak |
Posted: Mon Jun 21, 2010 3:09 am Post subject: |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hi All,
Thank you for your help! finally I am able to connect to SAP and send the IDOC via SAP request node. However, I need to know whether the IDOC has reaced the SAP server successfully.
Is there any way at the Broker side to do this? _________________ BR,
Deepak N |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 21, 2010 4:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
nthepak wrote: |
Hi All,
Thank you for your help! finally I am able to connect to SAP and send the IDOC via SAP request node. However, I need to know whether the IDOC has reaced the SAP server successfully.
Is there any way at the Broker side to do this? |
From the results of the SAPRequest node. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Jun 21, 2010 5:35 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
one more option,
connect a trace node to the out terminal of SAP Request node, you will get the SAP Trasaction ID
go and check this sap transaction ID in SAP server, to know whether it is
Red, Green or Yellow _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
|