Hi!
Can you help me with a Java function.
I want to check if a field exists or not. If it exists then I want to produce an Idoc in the target structure and if it doesn't exist then no Idoc should be produced.
I have "Value of Context" in my UDF and my code looks like this:
for(int i=0;i<PartCode.length;i++)
if (ObjectA<i>.equals("1") && ObjectB.length >= 1)
{
result.addValue(e<i>);
}
else
{
result.addSuppress();
}
Everything works beside the .length function. The Idoc is populated even if ObjectB doesn't exist
Edited by: Sonny Chaos on May 10, 2010 3:18 PM