cancel
Showing results for 
Search instead for 
Did you mean: 

DocType

Former Member
0 Kudos

Hello Guru's

I have a mapping within XI, the source message is based on an external Message without a DOCTYPE declaration. My incomming messages do contain a DOCTYPE. Now I need to get rid of the DOCTYPE. I have seen the SAP Note 812966, where there is a java-package to remove the DOCTYPE, how do I use it?

Hope someone can help me with that.

Best regards,

Guido

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Koopmann,

Instead of removing the DOCTYPE from the incoming message , try to add the DOCTYPE to your external message by using any one of XML editor.You can easily acheive this

Let me know if there is any issues to do like this ..:)

Cheers

Veera

>>> Reward Points if it is needful

Answers (1)

Answers (1)

Former Member
0 Kudos

I created a pieces of ABAP code which removes the doctype.

Former Member
0 Kudos

Hello Koopmann,

I'm having this problem in a response from a http post. The message comes with a DocType declaration and the XI parser do not accept the incoming message.

How did you implement the APAB code for removing the doctype?

I'm not familiarized with ABAP.