cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcing integration: message "ID: Content is not allowed in prolog."

Karsten_Haubold
Explorer
0 Kudos

Dear all,

I'm integrating SAP Sourcing wave 9 on demand with SAP ECC 6 EhP 6 and I get an error when transferring sourcing awards to ECC quotations: "Message from webpage: ID: Content is not allowed in prolog.". There is no error shown in the PI, and when I test the mapping directly in the PI I also get no error.

I found out that this error message generally means that there are some characters preceding the xml opening tags

<?xml version="1.0" encoding="UTF-8" ?>

<ns0:MT_Award xmlns:ns0="http://sap.com/xi/ESourcing/SRMJS">

but I found none.

My questions are:

  1. does this error message result from the PI or from Sourcing?
  2. how can I track down the error as nothing is shown in the PI?

Can anybody give any hints?

Thanks,

Karsten

Accepted Solutions (1)

Accepted Solutions (1)

alvaro_lorenzoni
Explorer
0 Kudos

Hi Karsten

The ID: Content is not allowed in prolog error, usually happen due to a missing/incorrect parameters in the XI/PI configuration in the following path: Setup -> System Setup -> Master Data -> SAP Integration Configuration.

Could you please review that?

Best Regards

Alvaro

Karsten_Haubold
Explorer
0 Kudos

Hello Alvaro,

thanks, that was the necessary hint. I checked the settings again and found a wrong character in the PI URL: "\" instead of "&":

https://<servername>:443/sap/xi/adapter_plain?namespace=<customer   namespace>\service=BC_ESOURCING&scheme=&QOS=BE&sap-user=<user name>&sap-client=001&sap-language=de

instead of


https://<servername>:443/sap/xi/adapter_plain?namespace=<customer   namespace>&service=BC_ESOURCING&scheme=&QOS=BE&sap-user=<user name>&sap-client=001&sap-language=de

Now that messages does not appear anymore, instead I got a PI error message about a missing mapping program 😞

I will investigate that further and maybe open another thread if necessary.

Best regards and many thanks

Karsten

Answers (1)

Answers (1)

Karsten_Haubold
Explorer
0 Kudos

Hi all,

I'm still fighting with this issue. I already tested the mappings in the PI with in- and outbound messages generated from Sourcing and from the ECC function module, but without any errors.

Has anybody any hints for me or has successfully replicated awards to ECC?

Best regards

Karsten

Former Member
0 Kudos

hi Karsten,

can u plz check connection details from sourcing to PI,where we will maintain the PI url and user name password

regards

Siva

Karsten_Haubold
Explorer
0 Kudos

Hello Siva,

the connection is working as there are no errors in PI anymore - first I had some, but now I find neither error nor success messages in the PI system.

PI user & password are correct as there are no login errors, the PI URL is as follows:

https://<servername>:443/sap/xi/adapter_plain?namespace=<customer  namespace>\service=BC_ESOURCING&scheme=&QOS=BE&sap-user=<user name>&sap-client=001&sap-language=de

I also set attributes ExportHandler.outertag.attribute.name to xmlns:ns0 and ExportHandler.outertag.attribute.value to http://sap.com/xi/ESourcing/SRMJS to enable the integration of RFx and awards between ECC and Sourcing.
Best regards
Karsten
0 Kudos

Hi Karsten,

This scenario is working in our landscape. Did u enable the SAP Sourcing debugging mode and checked the log?

Any other integration scenario is working in this system?

Karsten_Haubold
Explorer
0 Kudos

Hello Venkat,

for debugging I will ask our administrators, maybe they can switch on debugging.

And yes, we're successfully replicating suppliers, materials and RFx from ECC to Sourcing.

Best regards

Karsten

0 Kudos

Hi Karsten,

Are you getting this error in SAP Sourcing system? if so do you see any successful messages in PI inbound and response? then high chances that it is a data issue and in this case you will be able to see very clear log.

if you need to know any of the settings from our landscape then let us know.

Regards,

Venkat