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: 

Background process

Former Member
0 Kudos

Hello All,

I am having a report program which is used to Download some purchase data to excelsheets (in some specified folder). I need to run this report as a background process. (Every day it need to be run automatically).

Is it possible? If yes, How can I give it to a background job? What are the transactions?

Please give me the steps that I need to do....

Thanks in Advance,

Regards,

LIJO.

6 REPLIES 6

former_member156446
Active Contributor
0 Kudos

if you are using the GUI_DOwnload FM its not possible to schedule as Background... some thing related to GUI like an C/temp/ folder...

if its application server folder then you can schedule a job in SM36

and give name for ur job and in step> give the time you want it to excute every day... and save it as periodic job... it will be taken care from rest.

Former Member
0 Kudos

hi Lijo,

goto SM36

give a job name

click start conditions......select date time

bottom u have a check box (periodic) check it.

below it u hav periodic values button click it select daily

now click save..

click step...

select ABAP pgm

give ur program name.....

if u hav variant give........

select save.......

now on the main screen press save......

u can monitor ur job in SM37.........

u can also use job wizard to do this entire process.

Former Member
0 Kudos

Hai,

Go to se38 and give your program name.

Press F8 to go to selection screen of your program.

Press F9 to select Execute in Background

Press Shift + F1 to continue.

Select Immediate tab.

Check Periodic job.

Select Periodic values beside the save button

Select Daily

Save

Save

Now your program is scheduled in background without user interaction.

If you want status of your program run, go to SM36, click on Own Jobs.

Here you can see your program and its details.

Former Member
0 Kudos

go to transaction sm36 and give the job name(zxyz) go to start condition -


periodic values in that select daily and the job name and program name the report will set background job

Former Member
0 Kudos

Hi John,

Follow the below procedure then ur problem is solved

1. Goto sm36 transction and give and give job name as ZDEMO.

2.select STEP push button which is present in the application toolbar.

3.In that click on ABAP PROGRAM push button and give ur REPORT NAME and VARIANT NAME(compulosry mention variant name ok) And click the SAVE button which is present in the bottom.

4.Next click the START CONDITION push button which is present in the application toolbar and then select DATE AND TIME push button and mention time and date there and then save the data and also finally save the data.

5.Goto SM37 T.CODE and mention the jobname as sm36 jobname and ur report program name and the click the EXECUTE BUTTON..

Award points if helpful.

Kiran Kumar.G

Have a Nice Day..

former_member189059
Active Contributor
0 Kudos

Background to Excel is not possible since SAP was designed to be OS independent and Excel runs only on Windows PCs