on 02-09-2006 7:45 PM
Hi!
I have a problem to transfer IDOC to XML.
During Migration from Business connector to XI 3.0,
At original result xml header,
....<?xml version="1.0" encoding="ISO-8859-1"?>
....<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
.................................~~~~~~~~~~~~~~~~~~~~~~~~~~~
But, thru XI,
....<?xml version="1.0" encoding="iso-8859-1"?>
....<!DOCTYPE Shipments>
so, target system can't recognize that result xml.
we are using mapping program with abap-class, XI3.0 SP14.
How to add it at xml header in abap class?
regards
Message was edited by: ChangSeop Song
Hi,
I don't know if this will work
but I'd try with xslt and <b>doctype-public</b> and <b>doctype-system</b> declarations to do what you want
in the second mapping (after the abap mapping)
of the interface mapping that you're using
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
*.create output document
data: doc_type type ref to if_ixml_document_type.
a_odocument = ixmlfactory->create_document( ).
doc_type = a_odocument->create_document_type( name = 'Shipments' ).
doc_type->SET_SYSTEM_ID( SYSTEM_ID = '/DTD/Shipment.dtd' ).
a_odocument->set_document_type( document_type = doc_type ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.