Skip to Content
0
Feb 04, 2021 at 09:19 PM

Local and Global Variables in SAP B1IF

111 Views

Hi.

I'm beginning to use SAP B1 Integration Framework, XPath and XSLT. How can I divide a constant value with the value-of (UnitPrice) that comes in the XSL inbound in the next Tag:

<xsl:for-each select="//BOM/BO/Document_Lines/row">

<row>
<UnitPrice>
<xsl:value-of select="UnitPrice"></xsl:value-of>
</UnitPrice>

For example: I want to divide the value of UnitPrice with 1.5 as a constant value.

I appreciate your help.

Thanks!