on 09-05-2013 4:26 PM
Hi All,
I am working on ABAP Proxy -> PI 7.31 -> FILE scenario. The output file has the extension .xml. I want to remove the declaration part of the version as well as the encoding part from the XML structure.
I want to remove this part <?xml version="1.0" encoding="UTF-8"?>.
Is it possible to remove this part as I know its not mandatory i.e. by inserting any parameter in the receiver file communication channel?
Regards
Rebecca
Hi,
>>>Is it possible to remove this part as I know its not mandatory i.e. by inserting any parameter in the receiver file communication channel?
I don't believe so - you'd need to remove that in XSLT mapping (or java mapping)
which you can put as a second mapping to your current one in the operation mapping,
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Example of Java Mapping to remove <?xml version="1.0" encoding="UTF-8"?>.
http://chizztectep.blogspot.ru/2011/11/few-examples-how-to-remove-xml.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rebbeca,
You can try to skip the first line at file adapter level: http://scn.sap.com/thread/961164
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.