Skip to Content

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

xslt when is not working


my when function is not working fine.

IF E1EDP20 is existing then

text = everything OK


text = not confirmed

if there are only lines with E1EDP20 missing or existing then the functions is working fine but if the lines are different E1EDP01/E1EDP20 is missing and another line E1DP01/E1EDP20 is existing then the function uses text = everything OK.

Is that an kontext issue ?

<xsl:for-each select="ORDERS05/IDOC/E1EDP01">
 			   <xsl:when test="string-length(//E1EDP20)=0">
    				 <div valign="top" align="top" class="event" style="color: #ff0000">
 	                 <xsl:text>not confirmed</xsl:text>
   					   <xsl:text>everything OK</xsl:text>


2. How can is use the text color "Red" without using the div function ?

Message was edited by:

Gordon Breuer

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