Skip to Content

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

udf help

Hi ,

I am checking one input as (00) than okay otherwise through exception using below UDF

public String check code (String var1, Container container) throw StreamTransformationException{

if (var1 != 00)

{

throw new RuntimeException("mapping fail");

}

else

{


return var1;

}

}

Regards

Former Member
replied

Did you write anything under init/cleanup functions?

can you create the new mapping object from the scratch?

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