cancel
Showing results for 
Search instead for 
Did you mean: 

XML v2 file from SAP PI 7.1

Former Member
0 Kudos

Dear Friends,

Can SAP PI create XML v2 file?

Example given below. Where in few characters are coming in front of first line. These characters are actually the size of file. Is there any way to add these characters in front of first line and still maintain XML indentation in resultant file.

Thanks.

Sumeet.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Sumeet,

I would not know of any way to accomplish this within SAP PI. I'd suggest to create a script that takes an xml file and prepends the file size to the contents, and call that from the receiver file adapter.

Regards,

Koen

Former Member
0 Kudos

Dear K de Vries,

Thanks for the idea. Ironically i don't know how to write a perl script. Can you plz guide me to get it from somewhere.

Thanks.

Sumeet.

                         Re: XML v2 file from SAP PI 7.1                                     
              
     K. de Vries         Not Active Contributor                 

Answers (0)