2023 Jan 11 7:41 AM
Hi all,
....
<tt:cond check="$INVL.PRICE.PRICE_AMOUNT > P(0.00)">
<cbc:PriceAmount>
<tt:attribute name="currencyID" value-ref="$INVL.PRICE.PRICE_CURRENCY"/>
<tt:value ref="$INVL.PRICE.PRICE_AMOUNT"/>
</cbc:PriceAmount>
</tt:cond>
....
<cac:Price>
<cbc:PriceAmount currencyID="EUR">0.00</cbc:PriceAmount>
</cac:Price>
caught, a runtime error occurred. The reason for the exception
occurring was:
The following error has occurred in row 147 of program
XML_FILE==============XT: "Check failed in condition"
2023 Jan 11 10:29 AM
Hi,
have you included: <tt:switch-var> ?
ST - tt:switch-var, Case Distinction for Variables - ABAP Keyword Documentation (sap.com)
Conditional transformations are normally used as cases in tt:switch and tt:group.
or try to replace > with "& g t ;" (without spaces)
<tt:condcheck="$INVL.PRICE.PRICE_AMOUNT > P(0.00)">