on 01-05-2009 8:11 AM
Hi All,
Can we execute a Custom T-code in background by scheduling a background job?
If yes,how do we do this? When I tried through SM36, I could only enter ABAP program but I did not find any means to enter a custom T-Code.
Thanks,
Sowrabha
We can Schedule Background jobs only on the basis of Program names but not on Customized T-Codes or Standard T-codes.
Our requirement is to run a job and get a report,if that job runs on T-code or Program but our Requiremnt is to get a Report as a result. If we create a new Zt-code as per the requirement which is linked to a Program in backend,so Final result is the same,but from SM36 we cannot mention t-codes only program names can be mentioned.
By
Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for all the replies. But my question was that- can we run a T-Code in background? It is a custom program and I myself have created the T-Code. I just wanted to know is there any means to schedule background job for the custom T-Code ,not for the program. Please reply if anyone has any idea about this.
Thanks,
Sowrabha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sowrabha,
STEPS IN BACKGROUND SCHEDULING:
1. Use tcode SM36
2. Click Job wizard in the button set and Click Continue
3. Enter Job name and press continue
4. Select ABAP program and press Continue then enter Program name and press continue
and again press Continue
5. Set Schedule type immediately and continue
6. Select periodic job checkbox, press continue
7. Select none of the above and click on other periods give one-minute and then press create
Press continue and then press complete.
For Displaying ALV Grid in Background Job
/people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job
Also refer this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to schedule a back ground job for the Custom T.code it can be done. Identify the program name which gets executed when ever the custom t.code is entered.
As you said in SM36 enter the custom program to be executed but if you are looking directly for the T.code to be executed then i am not sure whether it can be done.
Thanks,
Ranjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your custom TCode would certainly be running a program in the background so you can give the name of the program instead of the Tcode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
goto t.code SE93 ...
there give the t.code and get the program name there....
now goto sm36 ..
give the program name and variant and
scheduling a background job
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.