cancel
Showing results for 
Search instead for 
Did you mean: 

standalone="no" attribute getting removed in After mapping step

vikas_jangid78
Participant
0 Kudos
587

Hi Members

I am getting below error while testing a SFTP -> SOAP (XI Proxy) scenario.

On initial analyses found that standalone="no" attribute is getting removed from Before Mapping to After Mapping step. SAP ECC system is not accepting the message without the attribute.

Same scenario is configured in one of the production environment, where standalone="no" attribute is sustained at all levels.

I am not sure if this is the exact thing causing the issue, but this is the only difference I found on comparison. Kindly suggest your valuable inputs.

system - SAP PO 750

Thanks

View Entire Topic
stefan_grube
Active Contributor
0 Kudos

As the error message says something different, it would be necessary to see your payload and the settings of your SOAP adapter.
I have used SAP PI to ECC via ABAP proxy many times and I don't think that standalone="no" makes any difference at all.

Do you have a DOCTYPE declaration in your payload?

vikas_jangid78
Participant
0 Kudos

Hi Stefan

As sender is SFTP, a flat file is being picked up from server, and converted to xml using FCC by adapter itself, there is no DOCTYPE declaration in file.

As shown in image at MS level before mapping, DOCTYPE declaration <?xml version="1.0" encoding="UTF-8" standalone="no"?> is added by adapter while doing the conversion to xml.

Further DOCTYPE declaration is modified to <?xml version="1.0" encoding="UTF-8"?> in AM step. There is no logic in mapping as well to do any changes to DOCTYPE.

Regards