Skip to Content
0
Oct 04, 2013 at 02:40 PM

UDF to delay IDOC transfer

468 Views

Hi

I have gone through this link on the time delay . When trying to implement it isn't working

Please advise if I am missing something .

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/05/01/how-to-delay-use-wait-step-message-in-sap-pi-without-ccbpm

My scenario is IDOC to IDOC where on the receiver side I would need a delay of a minute.

public String TimeDelay(String Timevar, Container container) throws StreamTransformationException{

{

try

{

Thread.sleep(60000);

}

catch(InterruptedException ie)

{}

return Timevar;

}}

This delay udf is inserted to the top root node.

FIDCCP02 ----> Delay UDF -------> FIDCCP02

But on the receiver SAP system I get the IDOCS at the same time

Thanks

Anusha