cancel
Showing results for 
Search instead for 
Did you mean: 

Error exception when testing Adapter

Former Member
0 Kudos

Hi all

1.I am doing XML to File and I am getting error when I am testing the scenario with my input.dat xml file...FYI when I do XML2XML in the same scenarion - the Flag is OK and everything looks great ! I also Do Message Mapping Test and I have OK there...So I am 99% mapping should be fine ..

2. I also wonder how many substracture Fiel Adapter can handle - at Receiver Part

At receiver I have :


Recordset 
  Header
  Record
     RecordInfo1
       f1
       f2
       f3
     RecordInfo2
       f5
       f6
       f7
     RecordInfo3
       f8
       f9
       f10
  Trailer

RecordInfos are substructures of Records - Can this be handled by FCC in File Adapter?

Here is the error :


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
- <!--  Request Message Mapping 
  --> 
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>Application</SAP:Category> 
  <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> 
  <SAP:P1>com/sap/xi/tf/_MM_MAPPING_</SAP:P1> 
  <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2> 
  <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_MAPPING_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

Appreciate any clues asap !

Thanks

J

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Most likely you have an error in Receiver File adapter conversion form xml to plain

Thanks

Sai

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jon,

You can test your entire configuration in ID..

Goto ---> Tools -


> TestConfiuration

Put your actual payload data here and test it....

Hope its helps..

Kumar.S

Former Member
0 Kudos

FYI when I go same scenario but XML2XML - everything works great - meaning - probably there is no error in Mapping ...correct?

So I wonder if File adapter FCC at reciever can create this error somehow??

thanks

justin_santhanam
Active Contributor
0 Kudos

Jon,

I won't think so there is error in adapter engine. I'm pretty much sure that this error caused due to Message mapping only. Copy the inbound payload and test the same in ur Mapping editor and reply ur findings!!

-raj.