‎2011 Jan 25 4:39 AM
Hi Experts,
In my upload program i need to do 2 things
1) To run a t-code in background to fix the layout
2) to upload the data to this layout.
but here when i run the program the t-code for the background should run 1st as to this layout i should upload the data.
So how to run the t-code in background?
Regards,
Sirish
‎2011 Jan 25 4:50 AM
hi friend,
1. create t-code in se-93 for your program .
2.use that t-code and run that t-code.
3.menu go to program--->excute in background.
thanks,
anji.
Edited by: davuluria on Jan 25, 2011 5:59 AM
Moderator Message: Rubarb pleading removed
Edited by: kishan P on Jan 25, 2011 3:58 PM
‎2011 Jan 25 4:57 AM
Which T-code do you want to run in background ? There are lots of transactions which we cannot execute in background.
‎2011 Jan 25 6:01 AM
Hi experts,
in my program i need to run KP06 t-code in background and assign the layout . for this layout i need to upload data in fore ground. So in 1 program some part of the code should run in background and the rest should run in fore ground.
Regards
Sirish
‎2011 Jan 25 6:10 AM
Try to use BDC for the part of screen flow you need to run in background . You can even try your hands on FM JOB_OPEN and JOB_CLOSE.
‎2011 Jan 25 6:21 AM
Hi Sirish,
Now you have different ways for doing it,
1. The layout comes from the field TKES1-FORM. Either you can declare it manually or hardcode or parameter or constant. & (write the manual f4 Help if you need it in the selection screen & rectrict the values as needed.)
2. Pass thsi value for the Transaction which you are recording through BDC, & pass the value for that Field & use user commands.
3. Or Run Function module Job_open & Job_close for opening & closing the job, use the part of the BDC recording in between where you want to select the layout.
Cheers,
Dileep .C
‎2011 Jan 25 9:14 AM
‎2011 Jan 25 5:53 AM
Hi Sirish,
Sirish Wrote->
So how to run the t-code in background?
Use SM36 For scheduling your Job in Background, There are many options you can choose here, choose according to your requirement.
Thanks & Regards,
Dileep .C