Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Including DOCTYPE tag in the outgoing PI message

Hi ,

Our project includes an IDoc to file (xml) scenario where we are using a dtd (data type definition) as the external definition for the messages to be sent to a remote system.

We have used a graphical mapping step and as a result PI created the output xml file in the below format.

<?xml version="1.0" encoding="UTF-8" ?> 
<root>
...message
</root>

However, the customer wants us to include the DOCTYPE tag along with output xml file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE batch SYSTEM "xyz.dtd">
<root>
...message
</root>

Is there a way of adding this DOCTYPE information to the output xml?

Thanks & Regards,

Himanshu

Not what you were looking for? View more on this topic or Ask a question