Skip to Content

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

UDF Error


I am working with one UDF. which giving me error "required: boolean if ( i = 2)"

my UDF Is


UDF to get 2nd value

for (int i =0 ; i <a.length; i++)


if ( i = 1)

result.addValue(a<i> );


Here I need to check when i=1 then only i need to add value in result.

Can you advice me...



Former Member

use "==" with single "=" it will assign the value niot check....

for (int i =0 ; i <a.length; i++)


if ( i == 1)

result.addValue(a );


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question