Author |
Message
|
firoj.badsa |
Posted: Tue Jan 17, 2012 8:59 pm Post subject: Empty/Blank RFC Call failure |
|
|
 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 |
|
 |
smdavies99 |
Posted: Wed Jan 18, 2012 1:21 am Post subject: |
|
|
 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 |
|
 |
firoj.badsa |
Posted: Wed Jan 18, 2012 1:52 am Post subject: |
|
|
 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 |
|
 |
marko.pitkanen |
Posted: Wed Jan 18, 2012 2:47 am Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Wed Jan 18, 2012 2:51 am Post subject: |
|
|
 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 |
|
 |
|