cancel
Showing results for 
Search instead for 
Did you mean: 

Executing SAP jobs

Former Member
0 Kudos

Hi,

Is it possible to execute a job in the R/3 system, not from the R/3 system itself ? (maybe by calling a command line in the operating system)

Thanks, Nir.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

First define the SAP job so that it is waiting for a specific event to be raised (user defined event). Ensure this event is also defined in SAP R/3.

Create a wrapper function in R/3 that simply raises the event for the job to start.

In XI, use a user defined function to open a JCO connection to R/3 and run the function. Alternatively, use the RFC adapter to call the function.

Hope this helps.

Cheers

Colin