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 » Empty/Blank RFC Call failure

Post new topic  Reply to topic
 Empty/Blank RFC Call failure « View previous topic :: View next topic » 
Author Message
firoj.badsa
PostPosted: Tue Jan 17, 2012 8:59 pm    Post subject: Empty/Blank RFC Call failure Reply with quote

Centurion

Joined: 16 Feb 2007
Posts: 104

Hi,

I have a requirement to make a empty/blank RFC call to SAP. I am using SAPRequest node for this. In a compute node before the SAPRequest node I am preparing the below message.

SET OutputRoot.XMLNSC.ns:SapYTfmCallSap = '';

where 'SapYTfmCallSap' is the message name/Complex type. I am getting the below exception at SAPRequest node failure terminal.


Quote:
RecoverableException
File:CHARACTER:MbErrorHandler.java
Line:INTEGER:137
Function:CHARACTER:execute
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:0
Number:INTEGER:3450
Text:CHARACTER:throw a RecordNotFoundException
Insert
Type:INTEGER:5
Text:CHARACTER:com.ibm.j2ca.sap.exception.SapBAPIException
RecoverableException
File:CHARACTER:MbErrorHandler.java
Line:INTEGER:286
Function:CHARACTER:throwableToMbException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:0
Number:INTEGER:3450
Text:CHARACTER:throw a RecordNotFoundException
Insert
Type:INTEGER:5
Text:CHARACTER:com.ibm.j2ca.sap.exception.SapBAPIException


Thanks in advance for helping me on this.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jan 18, 2012 1:21 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Why do you need to call SAP in this way?

Has anyone actually said that this is possible?
Why is it a 'requirement'? What happens if it is not possible? Will the World stop dead?

Could this be to see if SAP is actually running? If so, there are better ways. Your SAP Basis Team will be monitoring this anyway.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
firoj.badsa
PostPosted: Wed Jan 18, 2012 1:52 am    Post subject: Reply with quote

Centurion

Joined: 16 Feb 2007
Posts: 104

Ha ha .. To be really honest I did not expected this in this forum. World will not stop dead if you leave this world also.

Jokes apart, this is just to trigger an event in SAP side. And this is part of a total interface where a blank RFC needs to be triggered at the end of transaction.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Wed Jan 18, 2012 2:47 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

Did you deploy your message set too? Is you message valid (all mandatory elements with correct namespaces are filled) etc?

--
Marko
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Wed Jan 18, 2012 2:51 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Quote:


this is just to trigger an event in SAP side.



That is good.

However how do you know what event will be triggered by this call? Is it to tell something in SAP that some data is ready?
Why not create a simple BAPI and call that. Then it is a defined and controlled interface. The SAP Developer can then program the BAPI to ensure that the correct event is triggered.

What happens if you send two (or more ) blank calls in quick succession? How can you handle that?

There really are better ways to trigger something inside SAP. There are whole mechanisms built into SAP to handle this sort of thing. If you really must trigger SAP from Broker then at least make it a structured call.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » Empty/Blank RFC Call failure
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.