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

Background job..

Former Member
0 Likes
777

Hi,

Is it possible to schedule a program for uploading the data from flat file ,as a background job?

If yes how ? and if no why?

Hi,

Is it possible to schedule a program for uploading the data from flat file ,as a background job?

If yes how ? and if no why?

7 REPLIES 7
Read only

Former Member
0 Likes
744

Yes,

You'll have to create a program for uploading data from a flat file ( this should be on application server since in background frontend is not accessible )

Then you have to schedule a job for this program.

Hope this helps

Regards

Nishant

Read only

Former Member
0 Likes
744

Hi,

Yes,it is possible, but you need to ensure that the Flat file will always have updated records, otherwise the same records will get duplicated.

regs

rams

Read only

0 Likes
744

That means we cannot upload it from prsentation server?

As ws_upload and Upload wont work at background?

Is there any alternate way of doing it?

Thanks for ur ans..i ll reward it ..

Read only

0 Likes
744

Yes,

That means that you cannot have files read from presentation server. This especially if you want the job to be automated or scheduled say daily or hourly.

If your are not scheduling it and just want to execute the program in background only once or everytime you run then you can use the alternatives given by other folks

Regards

Nishant

Read only

Former Member
0 Likes
744

hi,

u can schedule in SM36.

or u can write the code in report and

1. SE38

2. EXECUTE -> BACKGROUND

see the result in SM37.

reward if useful...

Read only

Former Member
0 Likes
744

execute the prog...select the input file then in top file menu..select execute in background job and then click immediate.

so that it will be assigned to background job...then check in SM37 to get the output

Read only

Former Member
0 Likes
744

first use tcode 'CG3Z' to upload data file from pc to application server

and then u can schedule ur upload program

using tcode sm37 or if its a session sm35