on 10-17-2008 12:03 AM
Is there a way to make my mapping execute after 5 min of the interface execution.I am doing an IDOC to JMS, once the IDOC triggers,I need to wait for 5 min,then execute the mapping.Please guide me.
Hi,
Yes you can do it in Mapping.
What you have to do is in any user defined field,you are using in your mapping,write a Thread.sleep(1000) statement in your java code.
But remember that this wait should not more than your adapter timeout.
Regards,
Sami
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using BPM will be good option. You just need to define receive ---> wait ---> send steps. And in wait step enter the duration as much as you want.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi PSRK,
May be u can try this..
Write a class using nwds, say developed under a package com.sap.test.
create a new class, call a method which has the sleep function as the fello sdn er has suggested.
Call a UDF in the mapping ,import the package in which u have developed the class.
Most importantly create an object the class..pass it as output of UDF ...should work out.
hope it helps
Edited by: Ibrahim on Oct 17, 2008 4:59 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
design a BPM and just add a wait step in it.set the waiting interval for 5 mins
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.