cancel
Showing results for 
Search instead for 
Did you mean: 

Messages are terminated with Error [File to RFC] synch scenario

Bhargavakrishna
Active Contributor
0 Kudos

Hi Experts,

we are facing issue with the File to RFC synchronous scenario. some of the messages are "Terminated with error " in RWB. 

--> I tried to re-send the messages but it didn't work.

--> I didn't find the payload of failed messages but message id is created.

--> Tested the RFC connection, it is working fine.

--> No RFC errors in SM 58.

--> SMQ1,SMQ2,SMQR are empty.

--> i could not locate the file name in message details.

--> communication channel is working fine

Please find the below screen shots of the message.

i could not identify the issue, the interface is working fine. it is processing the messages as well. but some of the messages are showing in error.

Please refer the attached screenshot for the message data.

If it is interface problem, how it is processing the other messages..

If it is mapping issue.. it should show the file picked in the message details and payload in Moni.

Please help me to re-solve the issue.

Regards

Bhargava krishna

Accepted Solutions (0)

Answers (5)

Answers (5)

Bhargavakrishna
Active Contributor
0 Kudos

Hi All,

i restarted the server.. now no error messages in Moni.

Really strange..

Regards

Bhargava krishna

manigram
Active Participant
0 Kudos

Hi.

It seems issues with the data, check whether any html tag present in the payload or the xml data might not well formed one.

Check the source file. what type of file you are picking from source folder?

Regards,

Manigandan

ambrish_mishra
Active Contributor
0 Kudos

Hi Bhargava,

My assumption from the error (like other experts have hinted) is the file is not being read properly or if XML (is not well formed)

I would suggest first try to read a file with a dummy file to file scenario and then map the source payload to RFC and take it forward from there.

Ambrish

iaki_vila
Active Contributor
0 Kudos

Hi Bhargava,

Have you checked the tags in the payload?, this error could happend when you have a tag with an empty space before the first letter or after the last one like < tagname>

Regards.

Bhargavakrishna
Active Contributor
0 Kudos

Hi inaki vila,

Thanks for the response..

i could not locate the payload.

Regards

Bhargava krishna

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Are you using fcc in your scenario or is the payload already in XML format?

Regards,

Mark

Former Member
0 Kudos

Can it be some of your input files are corrupted?

The error message says

...markup...document...must be well-formed.

Try to apply "Msecs to Wait Before Modification Check" in the sender channel under additional parameters, as described in the following SAP Help

Configuring the Sender File Adapter

When you are using FTP, make the file provider write to a temp file first and then make him rename it when the file is completely written. Like this, you won't read incomplete files.