Hi Experts,
My scenario is File to IDoc with CSV as incoming file with multiple rows where each row data should be posted as an IDoc where I could achieve this and could post it to receiver SAP but now client requested to post each IDoc with wait time of say 60 sec and I tried it using below UDF.
public String timeDelay(String var1, Container container) throws StreamTransformationException{
{
try
{ Thread.sleep(50000);
}
catch (InterruptedException ie){}
return var1;
} }
But the above UDF is not working in terms of posting each IDoc with delay time of 50 sec here whereas the IDocs are posted at the same time rather with time gap.Kindly suggest.
Thanks,
Nithin.