10-18-2006 2:37 PM
we have a process to load a SQL DB with our open enrollment records.
I have an outbound interface that generates the offers and calls an RFC to XI which populates to SQL DB.
During a mass load, it took 5-12 seconds per person to be loaded into SQL (each person has ~100 records).
I had been using just the
CALL FUNCTION 'XXXXX' DESTINATION v_dest
- i believe this is a Synchronous call - which we really don't need it to be.
How do I make it Asynchronous? by adding
IN BACKGROUND TASK
?
Is there such a thing as
IN PARALLEL TASK
? I couldn't find anything on that.
thanks,
robert.
10-18-2006 2:44 PM
CALL FUNCTION func ...STARTING NEW TASK task name.
Effect
Starts the function module func asynchronously in a new session. In contrast to normal function module calls, the calling program resumes processing as soon as the function module is started in the target system. It does not wait until the function module has finished. Using CALL SCREEN, the called function module can, for example, display a screen and thus interact with the user. Note that taskname must be a valid string of at least 2 characters, preferably fewer than 8 characters. You cannot use either ' ' or SPACE as tasknames.
Regards,
ravi