cancel
Showing results for 
Search instead for 
Did you mean: 

Sender RFC channel failing with XML Parser Error

Former Member
0 Kudos

Hi Friends,

I am facing issue with Sender RFC channel.  Below is error what I am facing.  I searched in sdn for the help but didn't find the relevant threads.

Have tried below steps to avoid the issue, but still facing the problem

1. Reimported the BAPI into ESR

2. Created new RFC Sender channel.

Your help is more appreicate.

Thanks in Advance,

Regards,

Satish.

Accepted Solutions (0)

Answers (5)

Answers (5)

gagandeep_batra
Active Contributor
0 Kudos

Hi Satish,

Can you debug the RFC and Add some empty or dummy data and then test it

Regards

GB

Former Member
0 Kudos

Hi Gagan,

Sorry for the late reply..

I have triggered RFC directly from SE37 then didn't find any errors in Sender RFC channel, but when I am triggering the report(RFC calling inside the report) channel is failing to create xml tag for one of the fields.. 

Please guide me how to rectify the issue.

Thanks,

Satish.

rhviana
Active Contributor
0 Kudos

Hi Santish,

There is a error into tag <VBLEN>, check the value, shoud be 8 char's only and there are 10 chars.

Check into BAPI structure if the value it's delimited in 8 chars, if yes, you can't insert more than this.

Also post the XML file here, as Mikahil commeted.

Regards,

Former Member
0 Kudos

Hi,

Can any one guide me how to fix this issue.

Thanks,

Satish.

rhviana
Active Contributor
0 Kudos

Satisch,

Look at RFC in SAP system field <VBLEN>, check type and size, after that check the xml the value of tag <VBLEN> contain the same type and size.

Could please post a image of input structure of RFC and also XML, extract it from Adapter Engine.

Regards,

Former Member
0 Kudos

Hi Ricardo,

The length of the field type & size 10 in both SAP and xml.

There is no xml generated in Adapter Engine, message is failing at Sender RFC channel.  Below is the input structure.

When I push the test data from RWB I didn't facing any problem.

Thanks,

Satish.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Satish,

What about starting/stopping the communication channel just to rule out caching issues?

Regards,

Mark

rhviana
Active Contributor
0 Kudos

Satish,


Question.


Check the VBLEN value into SAP Table if accepts size 8 only.


Try to triggered msg with <VBLEN>"empty"</VBLEN>, post error.


Regards,

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Satish,

Check the unicode settings of your RFC sender both on the backend and in PI.

Regards,

Mark

former_member192343
Active Contributor
0 Kudos

Hi Satish, can you show us your XML structure and example of xml message?

iaki_vila
Active Contributor
0 Kudos

Hi Satish,

According to the exception the problem seems to be with the incoming XML. Are you using an ABAP SAP ERP to the sender RFC or another language?, because the problem seems to be in the XML structure. Check how the sender is sending the message.

Regards.

Former Member
0 Kudos

Hi Inaki,

RFC Call is from SAP ERP system only.  Where I can check the xml file, Sender channel is failing to create the xml file.

I have checked the Unicode settings of RFC Destination and it is fine.

Thanks,

Satish.