cancel
Showing results for 
Search instead for 
Did you mean: 

Error in RWB

Former Member
0 Kudos

Hi,

I have a scenario of sending data from a SQL server to a RFC function module.i am passing a internal table from the SQL to the BAPI.i get the following error after passing the data in the RWB

Audit Log for Message: 1ec4f330-2ed0-11da-adfa-001143dc2ff9

Time Stamp Status Description

2005-09-26 21:18:17 Success The message was successfully received by the messaging system. Profile: XI URL: http://xidev:50000/MessagingSystem/receive/AFW/XI

2005-09-26 21:18:17 Success Using connection AFW. Trying to put the message into the receive queue.

2005-09-26 21:18:17 Success The message was successfully retrieved from the receive queue.

2005-09-26 21:18:17 Success The message status set to DLNG.

2005-09-26 21:18:17 Success Delivering to channel: HEMAS_RFC

2005-09-26 21:18:18 Error Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$Exception: (130) JCO_ERROR_XML_PARSER: Expecting a tag to begin with '<' instead of 'H', in "<

2005-09-26 21:18:18 Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$Exception: (130) JCO_ERROR_XML_PARSER: Expecting a tag to begin with '<' instead of 'H', in "<.

2005-09-26 21:18:18 Success The asynchronous message was successfully scheduled to be delivered at Mon Sep 26 21:23:18 UTC 2005.

2005-09-26 21:18:18 Success The message status set to WAIT.

2005-09-26 21:23:18 Success The message was successfully retrieved from the receive queue.

Thanks and Regards,

Jishi

Message was edited by: Jishi Abraham

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I got this in help.sap.com

<b>Error:</b>

JCO_ERROR_XML_PARSER

<b>Description:</b>

A parse error due to an invalid XML document has occurred

<b>Possible Actions:</b>

get the XML part which caused the error from the JCo trace and check the XML document used in the application

Go into <b>Visual Adminstrator</b> to see the JCO trace.

And then compare the xml msg of trace with what u hav sent in application.

Hope it helps.

Regards

Arpit Seth

Former Member
0 Kudos

Hi Arpit,

In Visual administartor wher can i find the JCO trace.

Thanks and Regards,

Jishi

Former Member
0 Kudos

Hi

In Visual Admin Click on Cluster->LogViewer

Then in the right side pan go into following path

<b>directory j2ee/cluster/server*</b>

If the JCO Trace are not enabled then go thru this link

http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm

<b>Plz send me ur XML msg which u r sending in this scenario..so tht i can chk it and find error.Becoz the error mainly suggesting tht thr is error in ur XML msg.</b>

Reagrds

Arpit Seth

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Jishi,

please look to ur mapped message: sxmb_moni/request message mapping/payloads/maindocument: Download it (context) and proof to wellformed with XML Spy or Internet Explorer and correct ur mapping. Search for 'H', it must be somewhere outside of a tag.

Regards,

Udo