Skip to Content
0

UDF Error (UDF to Truncate value from 4rd decimal without rounding off)

Apr 30 at 11:03 AM

29

avatar image

Hi Team,

I am facing the below UDF issues. Please check the attached the screen shot.

While activate the above MM, i am getting the below error. Please check and suggest.

Function getValue, Line 3: Open bracket '{' missing for closed bracket '}': } ^


Regards,

Kesava.

java-code.jpg (96.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Liz Jin
May 01 at 06:26 AM
0

Hello Kesava

There are following problems on your UDF:

1. missing last ) before ; to close the sentence.

2. the string will be returned for the standard method indexOf(), for example "5". So you cannot use operator + for a string and 3.

Please modify the UDF accordinlgy.

https://wiki.scn.sap.com/wiki/display/XI/Standard+Functions+in+PI+7.0

Best Regards,

Liz

Share
10 |10000 characters needed characters left characters exceeded