Application Development and Automation 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: 
Read only

RE: upload background

sirish_pyata
Explorer
0 Likes
1,096

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,058

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.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/709537c1-dad1-2c10-2b88-c972afef3...

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

Read only

Former Member
0 Likes
1,058

Which T-code do you want to run in background ? There are lots of transactions which we cannot execute in background.

Read only

0 Likes
1,058

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

Read only

0 Likes
1,058

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.

Read only

0 Likes
1,058

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

Read only

0 Likes
1,058

Solved myself ,Thanks for ur inputs

Read only

Former Member
0 Likes
1,058

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