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

Upload data to SAP automatically

Former Member
0 Likes
1,497

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

1 ACCEPTED SOLUTION
Read only

abdul_hakim
Active Contributor
0 Likes
1,037

Hi,

You can write a BDC/LSMW/BAPIs to upload the data into SAP.

Cheers,

Hakim

Hi,

You can write a BDC/LSMW/BAPIs to upload the data into SAP.

Cheers,

Hakim

5 REPLIES 5
Read only

Former Member
0 Likes
1,037

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

Read only

abdul_hakim
Active Contributor
0 Likes
1,038

Hi,

You can write a BDC/LSMW/BAPIs to upload the data into SAP.

Cheers,

Hakim

Read only

Former Member
0 Likes
1,037

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

Read only

0 Likes
1,037

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

Read only

0 Likes
1,037

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