cancel
Showing results for 
Search instead for 
Did you mean: 

udf error

Former Member
0 Kudos

Hi Suraj,

I am also trying to do a DB look up and facing the same problem. I am getting one error same as Sreedhar. The error is........

/usr/sap/XIX/DVEBMGS03/j2ee/cluster/server0/./temp/classpath_resolver/Map1a4f4560b41111debe02001560de7906/source/com/sap/xi/tf/_MM_XXXXXXXXXXXXX_.java:160: illegal start of expression public static void main(String[] args) throws Exception{/!_$ClNRep_/_MM_CLARIFY_MODELS_ st = new /!_$ClNRep_/_MM_XXXXXXXXXXXXX_(); st.testExecute(); }

Please help me out in this regard.

It's really urget......

Thanks :

Ram.

Accepted Solutions (0)

Answers (3)

Answers (3)

JaganMohan
Participant
0 Kudos

Dear Ram,

For writing UDFs main method is not required. Just specify the required input parameters and write the logic inside that UDF based on that parameters. So remove that mai method. You can specify the number of input parameters and its type under Arguments while creating the UDF.

Regards,

Jagan.

Former Member
0 Kudos

Hi Suraj,

I am also trying to do a DB look up and facing the same problem. I am getting one error same as Sreedhar. The error is........

I don't get it, is this directed to someone in particular?

Post the contents of your UDF, you may just have a syntax problem at the beginning of your function.

Former Member
0 Kudos

Hi,

why dou you have a main-method in UDF?

This is not neccesary.

Regards Mario