Skip to Content
0
Oct 15, 2015 at 06:32 PM

Strip blank spaces at begin of the field value

1251 Views

Hello,

I am using standard XSLT mapping provided by SAP for SAP SNC and SAP ECC integration(Proxy->PI->IDOC).

I have a field that is coming with padded blank spaces and i have to remove that before mapping to Idoc in XSLT mapping.

I am using below function to remove blank spaces but nothing is working. Seems to be i am placing at wrong place or i syntax might be wrong.

Please help me to fix this issue.

<xsl:strip-space elements="ID"/>


My source structure:


InvoiceRequest

-MessageHeader

-Invoice

--Item

---ID


Thanks