cancel
Showing results for 
Search instead for 
Did you mean: 

File To ABAP Proxy Scenario Error in SAP PI

Former Member
0 Kudos

Hi All,

I am working on the below scenario. Link :http://www.****************/Tutorials/XI/ABAPProxy/page2.htm. I am getting the below error 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/_EMPLOYEE_MM_</SAP:P1>

  <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>

  <SAP:P3>Content is not allowed in prolog.</SAP:P3>

  <SAP:P4 />

  <SAP:AdditionalText />

  <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_EMPLOYEE_MM_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog.</SAP:Stack>

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

  </SAP:Error>

Kindly check the details and do the needful.

Regards,

GIRIDHAR

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Please check for the input payload in smxb_moni.

Are you doing any content conversion in the file sender channel?

Former Member
0 Kudos

Hi Hareesh,

Please check the below details and do the needful:

File contains: 111,GIRI,DHAR,11

File Content Conversion is:

Document Name: EMPLOYEE_MT_OB

Document NameSpace: http://ServerProxy_giridhar

Recordset Name: EMPLOYEE_RN

Recordset Structure: EMPLOYEE,*

EMPLOYEE.fieldNames SSN,LNAME,FNAME,AGE

EMPLOYEE.fieldSeperator ,

EMPLOYEE.processConfiguration FromConfiguration

EMPLOYEE.endSeperator 'nl'

Regards,

GIRIDHAR

Harish
Active Contributor
0 Kudos

Hi Giridhar,

your error is in Message mapping step at "EMPLOYEE_MM", so please check the map if it is working fine for the input XML (what you get in monitoring0.

Regards,

Harish

former_member184720
Active Contributor
0 Kudos

Hi Giri,

I dont think you need EMPLOYEE.processConfiguration FromConfiguration

Are you able to find the converted xml in the sxmb_moni?

You can find the exact configuration @ http://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/

former_member184720
Active Contributor
0 Kudos

If the content conversion doesn't work then it create a blank xml with namespace tag which could also be the reason behind this failure..

Former Member
0 Kudos

Hi Giridhar,

I would suggest to check below steps in sequence,

1) Check if FCC[file content conversion] is happening. we can validate the Inbound payload in SXMB_MONI.

2) if FCC is fine, copy the inbound payload from SXMB_MONI & run it in MM of ESR.

   It seems, error is somwhere in the mappings.

Further analysis in mapping, should help to fix the same.

Answers (1)

Answers (1)

Dimitri
Active Contributor
0 Kudos

Hi,

First of all, the link you provided does not work.

Second, did you test your message mapping? Please do so because the error is pointing to the message mapping step.

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dimitri,

Sorry i didn't check the link properly . Kindlyc check it now.

http://saptechnical.com/Tutorials/XI/ABAPProxy/page2.htm

Kindly check it now.

Regards,

GIRIDHAR

Harish
Active Contributor
0 Kudos

Hi Giridhar,

Please check the mapping of Employee.

Regards,

Harish