cancel
Showing results for 
Search instead for 
Did you mean: 

Error in JMS Adapter.

Former Member
0 Kudos

Hi,

I am executing the scenario JMS to IDOC.In JMS module,i have the record structure as

Header,1,D1_5102,,D1_5401,,D1_5101,,D1_5302,,D1_5201,,D1_5202,,D1_5203,,D1_5206,,D1_5205,,D1_5301,,Trailer,1

but when i sent a data from jms queue as a flat file ,where the structure is

Header

D1_5201

D1_5202

D1_5203

D1_5201

D1_5202

D1_5203

Trailer

I am getting the follwoing error in the JMS Adapter in Adpater monitoring while executing the scenario.

The error is,

<b>"Error converting Message: 'java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 5: missing structure(s) before type 'D1_5201''</b>

kindly help me in resolving this issue.

waiting for the reply.

Regards,

sujatha

Accepted Solutions (1)

Accepted Solutions (1)

turmoll
Active Contributor
0 Kudos

Hi,

Check this setting:

xml.recordsetSequence = Variable

This doc. may help too:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891">How to Use the Content Conversion Module in JMS Adapter</a>

Regards,

Jakub

Answers (7)

Answers (7)

Former Member
0 Kudos

hi xi ppl,

any more inputs to my problem.

still my problem is not yet resolved.

waiting for all inputs.

regards,

sujatha

Former Member
0 Kudos

hi,

yes still i have the same error.

anyways to resolve it?

waiting for reply.

sujatha

turmoll
Active Contributor
0 Kudos

Hi,

I would try to set:

xml.recordsetsPerMessage = *

even if you suppose to get one.

Regards,

Jakub

Former Member
0 Kudos

Hi,

yes,still i have the same error.

Any ways i can resolve it..

regards,

sujatha

Former Member
0 Kudos

hi Jakub,

i have given the same parameter.

but it is working fine with the File Content Conversion.

but it is not working for JMS Adapter.

thanks for your reply.

but stil there is no resolution for my issue.

regards,

sujatha

turmoll
Active Contributor
0 Kudos

Hi,

the same error?

Regards,

Jakub

0 Kudos

Hi Sujatha,

Check with file adapter.If it works fine then apply same parameters in JMS adapter module

Regards

Ramesh Varanganti

Former Member
0 Kudos

hi raj,

the source structure is the flat file which has the key field like header,D1_5201..etc..

so according to the key field i am converting the flat file into the xml structure.

but in my case the flat file is unable to convert it to xml...by jms adapter.

it is throwing the error in the adapter monitoring itself.

i have shown the error in the thread.

help me.

reagrds

sujata

justin_santhanam
Active Contributor
0 Kudos

Sujatha,

What is the source struture of the message coming from Queue? What all the conversion parameters did u applied?

Best regards,

raj.