Application Development 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: 

data upload

Former Member
0 Kudos

Hi,

As per the requirement, I have to upload the time infotype 2011 using BDC. The prog has to run on a daily basis on schedular at a particular time.

The client does not want to upload input text file on application server, instead they are saying that the input text file can be dumped on a PC, which is in SAP network. In other word the file be placed on presentation server each day, before the BDC prog runs on schedular.

Can I do that if the file comes at particual loaction at that presentation server.

suppose at c:\bdcfile.txt. I can hard code this location in the program and each day the bdc prog, while running on schedular can pick up the file from that location and upload the SAP database.

please advise.

5 REPLIES 5

Former Member
0 Kudos

You cannot schedule programs that access the presentation server to run in the background.

Rob

Former Member
0 Kudos

Hi Ramesh,

To schedule a program in background, you have to use the file from applcation server. If you use the file from presentation server, there is a possibility that the presentation server is switched off and in such cases you cannot access the file. Hence it is not allowed to access the presentation server to run in the background.

Hope this helps.

0 Kudos

Hi ,

considering that the presentation server will always switched-on, then can the bdc program can be scheduled in background that access the file from presenatation server.

Former Member
0 Kudos

Hi Ramesh!

As said in the previous posts, it is not possible for a program to access a file on the presentation server when running in the background mode.But if the client still insists on that requirement then you have to establish a TCP/IP connection through SM59 to connect your SAP system and local machine. Through this connection you can access the file on the presentation server even in background mode.For creating a TCP/IP connection and accessing the file on presentation server in background mode, go through the pdf file:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/9831750a-0801...

0 Kudos

Thanks sudhir,

Good document.

Pavan