cancel
Showing results for 
Search instead for 
Did you mean: 

File To IDOC Scenario issue

Former Member
0 Kudos

Hello Friends,

I am facing an issue during File To IDOC Scenario.

Sender side: Text file

It contains data:

name,surname,7894561230 i.e. phone no.

My sendor data type is also desined in same way.

I am facing given below wrror in SXMB_MONI.

<?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_file_to_idoc_</SAP:P1>

<SAP:P2>java.lang.NullPointerException</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_mm_file_to_idoc_:</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

In sendor file adaptor I am using 'File' as message protocol.

Should I have to use 'File content Conversion'.

I tested message mapping. It is working fine.

Kindly suggest me for above error. How I can resolve it?

Regards,

Narendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello Narendra,

yes you have to use File content conversion.

As your file is not in XML structure,you need to add the paramters for file conversion.

thanks

kannu

Former Member
0 Kudos

Hi,

Can you suggest me file content conversion parameters.

I am using only three fields as mentioned above.

Thanks in advance.

Regards,

Narendra

Former Member
0 Kudos

Hi Narendra,

Please go through below 2 wikis:

http://wiki.sdn.sap.com/wiki/display/XI/XI_File_Content

http://wiki.sdn.sap.com/wiki/display/XI/ErrorHandlinginFile-IDOCScenario

Thanks,

Nayan

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
It contains data:
name,surname,7894561230 i.e. phone no.
java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_mm_file_to_idocc
In sendor file adaptor I am using 'File' as message protocol.
Should I have to use 'File content Conversion'

can you tell in what format is your source structure? I mean is it an XML or a CSV file?

If it is a CSV file then you need FCC....but then in this case the error should have been thrown by the channel itself and the message wont have come till mapping step....

If your source file is really in csv format then apply FCC....many blogs, references are readily available on SDN.

Regards,

Abhishek.

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

Check you message mapping , some thing wrong in mapping.

ficrt test the message mapping in IR it selft and evrything working fine then execute end to end.

Regards,

Raj