cancel
Showing results for 
Search instead for 
Did you mean: 

Error During Mapping

Former Member
0 Kudos

Hi,

I am sending a binary data(scanned image) from XI to

legacy system.I am using sender file adapter to pick the data and using reciever adapter to write data.

I dont want to decrypt the data.

I have declared one field data as Hex binary type in DAta

types.

In sender communication channel I am declaring file type as binary and Transfer mode is also set to binary.

But I am getting error during mapping.

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_testencryptmm_</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/_testencryptmm_ 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>

How we can send binary data without decryption.

Thanx.

Rekha.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

What mapping do you define?

You cannot use graphical mapping tool or XSLT mapping on binaries. You can only can use self-written Java mapping.

But is it really necessary to use a mapping for your binary? If not, go to the configuration and delete the mapping inside the interface determination.

Regards

Stefan

Former Member
0 Kudos

Thanx Stefan,

It solved my problem.

Thanx.

Rekha

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

You can see the exception is due to mapping in the sxmb_moni.

Examine the runtime data u are gettin in moni and the design test data (xml)...if they are consistent or not.

Regards

Arpit Seth

Former Member
0 Kudos

Hi Rekha,

Chk whether you are giving the correct value during test in mapping ie hex value itself.

Regards

Priyanka

Former Member
0 Kudos

Hi Rekha,

Check whether the mapping is working fine. Use the <b>"Test"</b> tab in the Message mapping or Interface mapping.

Also check the input message that u r sending, if this is not in correct form as expected, then also u get a mapping error.

Cheers

Sunita

Former Member
0 Kudos

Hi,

Could you be more specific ...i.e in sender file adapter

what protocol you are using FTP or...

Regards,

Deepak