ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem using SAP Request node

Post new topic  Reply to topic
 Problem using SAP Request node « View previous topic :: View next topic » 
Author Message
nthepak
PostPosted: Fri Jun 18, 2010 6:45 am    Post subject: Problem using SAP Request node Reply with quote

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
View user's profile Send private message Send e-mail
Gaya3
PostPosted: Fri Jun 18, 2010 7:49 am    Post subject: Re: Problem using SAP Request node Reply with quote

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
View user's profile Send private message
nthepak
PostPosted: Fri Jun 18, 2010 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sat Jun 19, 2010 4:17 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
nthepak
PostPosted: Mon Jun 21, 2010 3:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Jun 21, 2010 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Mon Jun 21, 2010 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem using SAP Request node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.