Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Strip blank spaces at begin of the field value

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

replied

Used below function to trip preceding spaces in xslt code.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question