RFC Exception
Hello,
I am using the RFC method "Susr_Login_Check_Rfc_Input" with Web Dynpro to make a connection and to validate the user. Since this RFC method has no Export parameters / output and just exceptions. How can I make use of this exception to be able to display the message in case of login failure!
Any ideas???
Best regards,
Dharmi
It is possible via the controller and Message Manager.
Similar Messages
-
PI 7.11 - Alert creation for RFC Exceptions does not work
Hi folks!
In our PI 7.11 SP04 system we have created an Alert Category as well as an Alert Rule to be informed about errorneous messages in the Integration Engine (ABAP).
The scenario is synchronous SOAP Axis to sRFC, where the RFC answers with an exception that is transferred to a SOAP Fault response message.
Now we see messages with Application Errors in the Integration Engine, but no alert is created. Having a look at the alert creation log using report SXMSALERT_LOGREADER shows us that the system even does not try to create an alert for these messages. Alerts are only created for errors in the Adapter Engine.
Question:
Why does the system not create alerts in this case and how can we achieve this?
Thanx for any hint!
Kind Regards,
VolkerHi!
Additional information for all:
When forcing an error like "receiver not found" both kinds of alerts are created: AE Alert and IE Alert. Thus in general the alert configuration and the alert rule for IE errors are correct and working - only not for RFC exceptions ....
Regards,
Volker -
An RFC exception has occured: in ESS Enterprise portal
Hi guys,
Whenever I logon to Enterprise portal > Employee Services > My Details > Personal Details tab on Employee self services, I get following error message: An RFC exception has occured:
However, this message does not stop me from updating my personal information. I traced in ST01 and SU53 but nothing comes up as missing authorizations.
Could you tell me how to look upon/trace RFC exception error message? Is there any transaction in backend SAP system which raises RFC exception flag?
Thanks,
Pritesh
Edited by: mehta1p on Jan 19, 2010 8:38 PMHi
can you post the full error message, you can get in the portal screen or from http://<hostname>:<port>/nwa
and Monitoring-logs and traces and look for default trace
In the column customization you have the user, which will help in searching the error log. post the error from default trace....
Cheers-
Pramod -
How to handle RFC exception in XI
We have developed a proxy-> RFC scenario. But its not able to handle the RFC exception. In case of an exception the response payload is as below
<rfc:Y_BAPI_GET_POSTING_PERIOD.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>Screen output without connection to user.</Text><Message><ID>RFC_ERROR_SYSTEM_FAILURE</ID><Number>044</Number></Message><Attributes><V1>DYNPRO_SEND_IN_BACKGROUND</V1></Attributes></rfc:Y_BAPI_GET_POSTING_PERIOD.Exception>
Is it correct way to get exception from RFC in such a way or the error/exception text should come in RETURN part of the RFC response?
What is the best approach or solution to handle the sync. RFC call exception in XI?Hi,
You can create a Fault Message Type and map the RFC exception text to this.
In the interface mapping in addition to Request and response
mapping you will get an additional fault message mapping.
This will handle your exception properly.
Regards,
V.Ramya -
Problem with RFC exception in BPM
Hi,'
I have created control step for RFC exception. Assigned the alert catagory and given alert message.
i have below steps:
Transformation-control-send RFC-cancel process.
while trying to test i changed ip address of rfc channel and tested but i am not receiving any alert but messages are getting stucked in BPM with error -
permanent error in message proccessing
could you please suggest how to trigger rfc execptionSuggestions..
refer BPMPatternReqRespTimeout for triggering exception.
Basically you might change the sequence of steps as follow
Create Block with deadline branch where you use control step to trigger exception and have another branch exception handler and in that branch you have transformation and senderror. This will help. -
How to populate the RFC .Exception Message Type?
Hi All,
I am invoking an RFC synchronously from PI.
I am using the RFC.Exception message type to capture the exception raised from the RFC.
In the RFC, I have created a Non-class based exceptino anf raising it using the "Raise" command.
But it is only pupulating "Name" and "Text" of the Exception message. All other fileds are blank.
Is their a special way to raise the excpetion in rfc so as to populate the Exceptoin message type in PI completely?
thanks,
PiyushBut it is only pupulating "Name" and "Text" of the Exception message. All other fileds are blank.
Did you follow the steps as mentioned in this blog: /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
Regards,
Abhishek. -
Anybody has successfully getting the RFC.exception in a synchronous call via BPM? What i mean, is to get the RFC.exception then use it inside BPM.
I have already searched the forum, and i think nobody have done it before. Any clue guys??? Thank you very much in advanced....Sorry, i still dont get it. Here i will illustrate my problem.
I got an abstract sync message interface (lets call it: MIAS_RFC) with structure like this:
1. Output Msg: From RFC
2. Response Msg: From RFC.response
3. Fault Message: From RFC.exception
I use MIAS_RFC in a SEND node in my BPM inside a block with exception handler branch for my RFC exception handling.
My purpose is to map the RFC.exception to other message interface abstract async inside the exception handler.
How can i do this? You said earlier that i should create another sync abstract message interface (MIAS) then use it in a mapping...Am i correct? Could you please describe to me more detail (sorry about this ) Thank you so much.... -
RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does n
Hi all , i did a small application in webdynpro abap by calling BAPI . MY application is when i enter the studentid and click the submit button i shoutl get student details .
but when i'm clicking the submit button i'm gettting the error
"RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does not exist. Occurred " can any one help me out.hi rajeev.....
i am sure that you would have used service call.
in service call, in the destination part, you would have given a name. the service call automatically creates a destination in this name. but your user id would not have had that rights. so only you get this error. either use a already existing destination or get the access for that.
---regards,
alex b justin -
Catching RFC exception and "moving" it to soapenvlp:Fault.faultcode
Hi,
i have a simple SOAP2RFC (sync) interface. my question is:
how can i catch an exception (thrown by RFC) and use it as soapenvlp:Fault.faultcode content?
Regards
UriHi!
have a simple SOAP2RFC (sync) interface. my question is:
how can i catch an exception (thrown by RFC) and use it as soapenvlp:Fault.faultcode content?
Yes I think you can catch an exception by using RFC EXception (Fault) Message instead of RFC Response in the mappings. and remaining all steps are same.
But that is mostly depends upon the RFC Function module that you are using and at which the logical coding of that Function module.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f4dce]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8c10aa90-0201-0010-98a0-f071394bc9ae]
[http://help.sap.com/saphelp_nw70/helpdata/EN/44/2a41f420323f0ee10000000a114a6b/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/EN/76/4a42f4f16d11d1ad15080009b0fb56/frameset.htm]
Regards::
Amar Srinivas Eli
Edited by: Amar Srinivas Eli on Apr 8, 2009 8:44 PM -
How to Extract Error Text from RFC.Exception within BPM?
Hi,
I have a scenario MPA -> XI <-> RFC. A synchronous RFC call will be performed inside a BPM on a SAP system. An exception message is expected if RFC raises exception. However, there don't seem to be any mechanism that allows logic/step in BPM to extract the error text from the RFC exception message in order to send it out to user as an error alert.
Appreciate if anyone can shed some lights. Thx in advance.
Regards
Chong WahHi,
you can always wrap your RFC with another one
in which you'll catch the exception
and pass in a normal field back to the XI
and then do the standard as per my weblog:
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Web application Designer - RFC Exception
Hy guru, i have a serious problem: when open or execute a web templat on web application designer 7.0 i receive a error type RFC Exception.
Could you hlep me? Thank's a lot.
This is the content of bex_trace file:
-EXCEPTION-START- : Open Save Services Failure. Breaking the Action. ---
Exception Message: Check: RFC Exception
Exception at com.sap.bi.et.BExOpenSaveServices.OSDataProvider70.RFCGetMessages(String& piLastNCalls, BExMessages& peMsgList)
at com.sap.bi.et.BExOpenSaveServices.OSDataProvider70.ClearServerMessageHandler()
at com.sap.bi.et.BExOpenSaveServices.OSDialog.GetHistory(BExObjectType pObjType, BExMessages& peMessages)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.GetHistoryTemplateList()
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Trace.Exception(Exception, String)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.GetHistoryTemplateList()
at com.sap.bi.et.wad.man.WADTemplateController.GetHistoryForDisplay()
at com.sap.bi.et.wad.man.WADfrmMDIInitialSelection.renderHistory()
at com.sap.bi.et.wad.man.WADfrmMDIInitialSelection.Refresh()
at com.sap.bi.et.wad.man.WADfrmMainWindow.RefreshInitialTemplateList()
at com.sap.bi.et.wad.man.WADTemplateController.OnTemplateOpened(WebTemplate)
at com.sap.bi.et.wad.pageobjects.TemplateOpenedEventHandler.Invoke(WebTemplate)
at com.sap.bi.et.wad.pageobjects.WebTemplateFactory.AddTemplateOrLibrary(WebTemplate)
at com.sap.bi.et.wad.pageobjects.WebTemplateFactory.RegisterTemplateOrLibrary(IWebTemplate)
at com.sap.bi.et.wad.man.WADTemplateController.LoadTemplate(EnumLoadMode, String, String, Boolean, String, Boolean, Boolean)
at com.sap.bi.et.wad.man.WADTemplateController.DoLoadTemplateFromBW(String)
at com.sap.bi.et.wad.man.WADfrmMainWindow.Menu_OpenSelectOH(BExOpenHistoryEventArgs)
at com.sap.bi.et.common.BExOH.BExOpenHistory.RaiseSelectOpenEntry(dtaBExOHRow)
at com.sap.bi.et.wad.man.WADfrmMDIInitialSelection.StartTemplate(dtaBExOHRow)
at com.sap.bi.et.wad.man.WADfrmMDIInitialSelection.lblLinkName_LinkClicked(Object, EventArgs)
at System.Windows.Forms.Control.OnClick(EventArgs)
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.Label.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----
END com.sap.bi.et.wad.WADBackend.WADOSDialogues.GetHistoryTemplateList ##########
--> com.sap.bi.et.wad.WADBackend.WADBackendTemplateServices.ValidateTemplateOnServer ##########
-EXCEPTION-START- : DEBUG ### JSP-Conversion: ---
Exception Message: RFC_ERROR_SYSTEM_FAILURE
Exception at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)
at SAP.Connector.Rfc.RfcClient.RfcInvoke(SAPClient proxy, String method, Object[] methodParamsIn)
at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)
at com.sap.bi.et.Communication.RSWAD.BExGeneratedRSWAD.RSWAD_WEBPUB_CALL_SERVICE(String I_ACTION, String I_CONTEXTDESCRIPTION, String I_CONTEXTFRAGMENT, String I_NODEFRAGMENT, String I_TEMPLATE, String I_TMPLID, String& E_MAX_MESSAGE_TYPE, String& E_MESSAGES, String& E_RESULT, Int32& E_SUBRC, BICS_PROV_T_MESSAGE& E_T_MESSAGE)
at com.sap.bi.et.Communication.RSWADrfc.RSWAD_WEBPUB_CALL_SERVICE(String& I_ACTION, String& I_CONTEXTDESCRIPTION, String& I_CONTEXTFRAGMENT, String& I_NODEFRAGMENT, String& I_TEMPLATE, String& I_TMPLID, String& E_MAX_MESSAGE_TYPE, String& E_MESSAGES, String& E_RESULT, Int32& E_SUBRC, BICS_PROV_T_MESSAGE& E_T_MESSAGE)
at com.sap.bi.et.wad.WADBackend.WADBackendTemplateServices.ValidateTemplateOnServer(WebTemplate iTemplate)
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Debug.Exception(String, Exception)
at com.sap.bi.et.wad.WADBackend.WADBackendTemplateServices.ValidateTemplateOnServer(WebTemplate)
at com.sap.bi.et.wad.man.WADTemplateManipulator.ValidateTemplate(WebTemplate)
at com.sap.bi.et.wad.man.WADfrmMainWindow.itmValidateOnTheServer_Click(Object, EventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.NotifyItem(BarItem)
at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.HidePopup(PopupCloseType)
at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.ProcessItemClick(BarItem)
at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.OnMouseUp(MouseEventArgs)
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at Syncfusion.Windows.Forms.ScrollControl.WmMouseUp(Message&)
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message&)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message&)
at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----
: DEBUG ### False - RSWAD_WEBPUB_CALL_SERVICE:V:Validate on Server returned e_subrc=99
END com.sap.bi.et.wad.WADBackend.WADBackendTemplateServices.ValidateTemplateOnServer ##########
--> com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenObject ##########
-EXCEPTION-START- : Open Save Services Failure. Breaking the Action. ---
Exception Message: Check: RFC Exception
Exception at com.sap.bi.et.BExOpenSaveServices.OSDataProvider70.RFCGetMessages(String& piLastNCalls, BExMessages& peMsgList)
at com.sap.bi.et.BExOpenSaveServices.OSDataProvider70.ClearServerMessageHandler()
at com.sap.bi.et.BExOpenSaveServices.OSDialog.OpenObject(BExObjectType pServiceObjType, BExObjectType[] pSelectableSubObjTypes, Form pParentForm, String pDlgTitle, BExMessages& peMessages)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenObject(Form parent, String iType)
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Trace.Exception(Exception, String)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenObject(Form, String)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenSimpleObject(BExObjectType, String&, String&, Form)
at com.sap.bi.et.wad.man.WADTemplateController.DoLoadTemplateFromBW(String)
at com.sap.bi.et.wad.man.WADfrmMainWindow.itmOpenWebTemplate_Click(Object, EventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs)
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----
-EXCEPTION-START- : Open Save Services Failure. Breaking the Action. ---
Exception Message: Check: RFC Exception
Exception at com.sap.bi.et.BExOpenSaveServices.OSDataProvider70.RFCGetMessages(String& piLastNCalls, BExMessages& peMsgList)
at com.sap.bi.et.BExOpenSaveServices.OSDataProvider70.ClearServerMessageHandler()
at com.sap.bi.et.BExOpenSaveServices.OSDialog.OpenObject(BExObjectType pServiceObjType, BExObjectType[] pSelectableSubObjTypes, Form pParentForm, String pDlgTitle, BExMessages& peMessages)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenObject(Form parent, String iType)
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Trace.Exception(Exception, String)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenObject(Form, String)
at com.sap.bi.et.wad.WADBackend.WADOSDialogues.OpenSimpleObject(BExObjectType, String&, String&, Form)
at com.sap.bi.et.wad.man.WADTemplateController.DoLoadTemplateFromBW(String)
at com.sap.bi.et.wad.man.WADfrmMainWindow.itmOpenWebTemplate_Click(Object, EventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs)
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----Andrea,
Try using ST22 to see if it gives you a detailed error message. If it is listed it will tell you what it is missing.
Cheers,
Rusty -
Hi guys:
When I call RFC to implement that reject a purchase requistion.In the RFC,rejecting purchase order is implemented using
BDC program.When i run the RFC in sap systerm,it run OK.But when I call it in vb.net.I get a message 'Exception ****'!Can anyone
tell me why?Thanks!
Edited by: foxconn_jerry on Jul 21, 2009 5:03 PMHi
Which exception?
Which RFC are calling?
Max -
How to duplicate return of RFC.Exception Application error to test fix
I am calling a RFC using a sync step in an BPM process. I am checking for system error and have an exception branch. However we got the below error (probably due to the ECC system not being available at that precise moment or something) which was not trapped by the exception alert handling because this comes in as an Application error and not a System error. My questions are :
1) How to handle this return of .Exception message so that the BPM raises the alert in the exception branch? I have read in other threads that we need to assign the below message structure as the Fault Message and set this under the Exceptions property of the Synchronous send step. If this is true, I am mostly interested in the below question so I can test this.
2) How to duplicate this issue? I am not sure when exactly the .Exception message is returned on a RFC call, this is not configured anywhere on the ABAP side.
<rfc:ZRFC_GET_DATA.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<Name>RFC_ERROR_COMMUNICATION</Name>
<Text>CPIC-CALL: CMRCV on convId: 01667803
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR connection to partner broken
TIME Mon Mar 16 11:21:51 2009
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -6
MODULE niuxi_mt.c
LINE 905
DETAIL NiPRead (xx.xx.xx.xx/yyyy, hdl 64)
SYSTEM CALL recv
COUNTER 2
</Text>
<Message>
<ID>RFC_ERROR_COMMUNICATION</ID>
<Number>null</Number>
</Message>
</rfc:ZRFC_GET_DATA.Exception>Is the error resolved means that the RFC is working fine?
I think this error due to the RFC destination set to Non-unicode which is expecting unicode option
Check the R/3 machine whether it is unicode or not try to set the RFC destination option of unicode in other way and check the error getting replicated or not
Rajesh -
Asynchronus RFC exception handling
Hi,
I have scenario File-XI-RFC.I have created an RFC enabled FM in R/3 and raising an exception if some errors occurs.I want that exception should be visible in sxmb_moni when RFC raises that exception.I am not using
BPM.How can I use Fault message for this in my scenario.
Any help will be appericiated.
Thanx
RekhaHi Michal,
I have seen that thread.It seems similar to my scenario except I dont have to send the response back.I want to have that fault message in SXMB_moni for monitoring.
How I will achive the step3 in my case.
This is my scenario.
Outboundinterface-FILEMI "To pick data from file
Inboundinterface - ZRFC_TST.
>>Step3: In interface mapping with target interface as ZRFC_Tst you will have to do three mappings
>>3.1 Request
This is ok I will map my FILEMI - ZRFC_tst.
>>3.2 Response : map result
What will be my source and target interface?
>>3.3 Fault
>>map zrfc_tst.Exception to FaultMessage
What will be my source and target interface?
How will I handle these three interface mapping in Interface determination in configuration?I dont have to send back response and exception back to any system.Instead I will keep them in monitoring.
I can see this in sap help for fault message type but how we will achieve it.
The fault message of the application for an asynchronous inbound interface is persisted for monitoring.
Thanx for the reply and hope to hear from you on this.
Rekha. -
Hi,
I have a Syn-RFC call in my BPM. I would appreciate help regarding the exception handling on the RFC.
Ideally the RETURN parameter in RFC will be populated if theres an error. The BPM needs to check if there are entries in RETURN, if so then stall the message in MONI as error and mail support with contents of RETURN. only if RETURN is empty (success), it should go ahead with next step.
Thanks.What ERP version are you working with?
If 4.7+, consider using ABAP Proxy instead of RFC.
There, you can define a fault message in the interface and it will be triggered if there is an exception at server application.
Regards,
Henrique.
Maybe you are looking for
-
Stretching problem in Oracle ADF..
Hi All... Oracle ADF Inline Frame is not stretching properly. Any solution... The following code for your reference... <?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.co
-
ECC 6.0 HA installation not worked on node B
Dear SAP Experts, i have installed ECC 6.0 on AIX 5.3/Oracle10g using virtual host " HA installation" - i created the users on Host B using the virtual name using the sapinst - i installed the ASCS instance on node A - DB instance on the node A - CI
-
No 4G connectivity option using Wind GR
Hello to all! I am a happy owner of a BlackBerry Z30 smartphone. Few days now Wind mobile operator here in Greece provides 4G connectivity but unfortunately i can't have that on my Z30.. Below you will find few details that might be important: - Mode
-
Hi, I want to see existing standard IDOC. for example I want to see the HRMD_A06. So what is the transaction code to see IDOC structure. Thanks & Regards, Satish.
-
SAPScript: About Longtext Output
Dears, I want to output longtext in SAPScript in my form. The length of the text is 120, and I want them output just full of the lines, And the lines should be 30 columns, and I want to save some space Is there any method to let these words align bot