10-20-2008 10:18 AM
Hi
How can I upload data from a file(excel. txt. etc..) to SAP automatically example background job or something like that.
I need to add shots in t.code IK11 counter reading
Br Tuomo
10-22-2008 7:58 AM
Hi,
You can write a BDC/LSMW/BAPIs to upload the data into SAP.
Cheers,
Hakim
10-22-2008 7:56 AM
Hi,
Write a upload program and schedule it in background and remember to provide the data ready in txt form before the program starts execution.
Regards
Karthik D
10-22-2008 7:58 AM
Hi,
You can write a BDC/LSMW/BAPIs to upload the data into SAP.
Cheers,
Hakim
10-22-2008 8:06 AM
Hi
I have upload program already, but now I use it manually at this moment.
I run that program in SE38 and finally process it in SE35.
Where is a problem? Even if I run this program "Z_shot" in background with variant it dosen't work?
After background job, job status is "Finished" but steps => output controller => status is "Waiting"
Frontend unavailable
Message: Request on hold
Time: 23.10.2008 12:49:07
Job status: On hold
Error class: Delayed
Area: Data transfer
Printout: Not printed
BR Tuomo
Edited by: Tuomo Hakkarainen on Oct 23, 2008 11:46 AM
10-23-2008 10:58 AM
Hi,
Just run it in SE38 so that it will generate a session.
Now Goto SE35 and select the session and pres CTRL + F11 or Goto -> Background -> JobOverview.
There schedule the job whenever you want.
regards
Karthik D
10-23-2008 11:17 AM
What function are you using to upload the file? Are you using gui_upload or similars?
The problem is when you execute the program in background you don´t use this type of functions because the Frontend unavailable.
You can put the file in server (al11) and in the program you have the upload from server