Skip to Content
0
Former Member
Nov 02, 2012 at 09:44 AM

how to include a line feed at the end of each tag at mapping level

301 Views

Hi Experts,

how to include a line feed at the end of each tag at mapping level in our sap pi.

i am getting the out put like this............

<?xml version="1.0" encoding="UTF-8"?>

<ns1:CustomerBalances xmlns:ns1="http://abc.com/xi/LEGACY/OTC/IF0285_CustOpenBal/1200"><Customer><CustomerNo>1234</CustomerNo><Balance>12.00-</Balance></Customer></ns1:CustomerBalances>

My required out put format is like this......i want the out put like below format

<?xml version="1.0" encoding="UTF-8"?>

<ns1:CustomerBalances xmlns:ns1="http://abc.com/xi/LEGACY/OTC/IF0285_CustOpenBal/1200">

<Customer>

<CustomerNo>1234</CustomerNo>

<Balance>12.00</Balance>

</Customer>

</ns1:CustomerBalances>

How can i achive this .please help me

Thanks & Regards,

Bhaskar