cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Premature end of file

Former Member
0 Kudos

Hi Guys,

In my JDBc to IDOC scenario while testing in moni it shows as

Runtime exception occurred during application mapping com/sap/xi/tf/_MM_P1EUCI_ExCarSales_ISMSSCISQL_TO~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Premature end of file.

Please anyone give me solution.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

the XML instance is invalid (rather incomplete).....compare it with the message structure (DT/ ED) used

Former Member
0 Kudos

Hi Salvi,

I have compared with Mapping and ED but in ED Structure as Root>Root>fields

and Mapping as Root-->Fields.

is it right or give me reason.

Thanks

former_member200962
Active Contributor
0 Kudos

The structure of the Inbound Message XML (in SXMB_MONI) should be exactly the same as that of the DT/ ED that you are using in your source MI......compare the structure of SXMB_MONI with the one that you see in the Source of your MM...if not same then you get the above error.....are you able to execute the mapping in IR-> MM-> Test with the payload that you get in SXMB_MONI?

Regards,

Abhishek.

Former Member
0 Kudos

Hi Salvi,

In MONI-->Inbound Message ( CENTRAL ) -->Payloads shows as

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

-


A name was started with an invalid character. Error processing resource 'file:///C:/Documents and Settings/vgongadi/Local S...

<></>

Please give me reason

Thanks

Former Member
0 Kudos

hi jayan,

the xml payload is having invald character, try to check the XML payload in XMLValidator and find out the error

thnax,

Sampath

former_member200962
Active Contributor
0 Kudos

then check in RWB-> Component Monitoring-> AE-> CC Monitoring-> Choose your Sender JDBC channel and check the message content passed by this channel

Hopefully you should be able to see the message send by your JDBC sender over here....can only see the payload if you have the required roles....if not then ask some admin person to view the payload for you

Edited by: abhishek salvi on Jul 20, 2009 12:58 PM

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

try testing the mapping with the payload from sxmb_moni

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios