Thanks Ambrish. I did put in the full path but getting the following error in the UDF.
MM_TEST_.java:59: illegal escape character
if (Dirname.equals("\\cdev\sapmnt\dev00\sys\global\output\Purchase_Orders")){
Can you please advise . Also in the ID i use a dummy variable in the Target Directory for eg %Directory% right?
Do i need to do anything in variable substitution for the %Directory% ?
Thank you