Skip to Content
0
Dec 19, 2018 at 08:36 AM

Scheduling mass data run with recurrence

122 Views

In continuation of the discussion below:

https://archive.sap.com/discussions/thread/3925665

https://answers.sap.com/questions/154246/how-to-schedule-mass-data-run-programmaticaly-in-a.html

Is it possible to create a recurrence for the same.


var MDRO_ID : XPEString;MDRO_ID = "ZZZ";// Calculate Start Data/Time (UTC)var currentTime = Context.GetCurrentGlobalDateTime();var StartDuration = Library::Duration.Create ( 0, 0, 0, 0, 0, 5 ); // 5 secvar startTime = currentTime.AddDuration ( StartDuration );// Schedule MDR (start asynchronously with 5 sec timeout)MessageList = MDRO.ExecuteDateTime ( "MDR", "", startTime, MDRO_ID );

This code only does one time running. Is there a possibilty to have recurrence