2008 Jan 10 6:57 AM
Could any body provide me with the detailed steps of how to execute the code in background processing?
rewarded if helpful.
Rgrds.
2008 Jan 10 7:02 AM
Hi,
Goto SE38
and Enter your program name
In Menu choose Program -> Execute -> Background
2008 Jan 10 7:06 AM
hi,
first create the variant for program and go to sm36 transaction, enter the job name and corresponding program name in the steps and schedule the job options like immediate, everyday ....etc.
Regards,
Venkata Narayana
2008 Jan 10 7:16 AM
Hi chidambar,
One way is as indicated by Vishnu..
You can also schedule job directly from SM36.
Go to SM36.
Click on Job Wizard,
Click Continue.
Enter Jobname --> Continue.
click on ABAP PROGRAM NAME --> continue
Specify Program name and variant (if exists).
If you want to add additional step (which can be another program / same program with different variant), you can specify that OR else click continue and say execute immediately. (Or schedule it for later execution)
Regards,
Mohaiyuddin
2008 Jan 10 10:56 AM
Hi Chidambar,
If you have selection screens for your report,then execute the Report In the selection screen :After filling the screen fields press F9. A screen appears requesting U to print the Background Parameters *Enter the output device(Eg HPLJ /SAP2 etc) *In the spool options Uncheck Print immedietly,Uncheck delete after output,and new spool request. Press enter. Another screen appears with heading start time .U can press start immly ,then save Now the Background job is scheduled for the given program .
To View the status of background Job,The transaction code is SM37. Execute from the resulting screen . Job overview -->From the Job list select U'r program and select Spool from the application toolbar Output Controller :List of Spool Requests Select U'r Spool request and click Display icon from the overview screen . U will be displayed with the List.
Reward ponts if useful..
Regards,
Goutham.
2008 Jan 10 11:01 AM
Hi Chindambar,
The following steps might help u out.
First Step
Initiate the job scheduling function. Standard job scheduling must be used in case of scheduling of an external command or external program as a background job and ABAP job scheduling function can be used to schedule ABAP programs. For starting a standard job scheduling function choose the following:
Administration menu bar option à CCMS option à Jobs option à Definition option.
For starting ABAP job scheduling function, navigate to ABAP Editor and choose Program menu bar option àExecute option à Background option.
Second Step
Now define a job. Using the Job Wizard you can define your job. From the Application toolbar, choose the wizard button. After this, the initial screen of the SAP Job Wizard appears. The Job Wizard is available only from the standard job scheduling function.
Third Step
Now, you have to save the job. When it displays the message "Job saved" it means the job has been successfully scheduled. We know that a job must be released before it is scheduled. Only authorized users can release the job, otherwise your system administrator will release your job.
Fourth Step
This is the last step of scheduling. In this step you have to check the status of your job. For this you need to choose System menu bar option à Own jobs option.
In SAP System, the background processing runs according to your instructions. In case a list is generated by the report, the report either prints directly or waits for you in the SAP output controller. The status of background processing can be checked for its correctness.
Reward if useful.
Thankyou,
Regards.