Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

scheduled function module in background job

Former Member
0 Kudos

HI all,

I have created a function module(RFC) & Now I need to schedule it in background job, i have used fm job_open ,job_close But through there i can only scheduled Reports so pls gide me how to scheduled fm .

regards,

Anuj

6 REPLIES 6

Former Member
0 Kudos

Hi Anuj,

Check this one:

Regards,

Chandra Sekhar

Former Member
0 Kudos

thanx chandrasekhar,

but how to scheduled that fm, like time n date?

regards,

anuj

0 Kudos

Well you need a custom Wrapper program to call these FM's in background task.

You can schedule this Z program at you required date and time which will call the FM's.

Former Member
0 Kudos

Thanx arpana,

but as i m using RFC then how is it possible to use a Zprogram?

regards,

Anuj

0 Kudos

You cannot call the RFC directly, You have to write a Z program to populate all the fields of the RFC and make the RFC call(in your case in background task).

After you write this Zprogram, you can schedule it at your deisred time.

Former Member
0 Kudos

thanx