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: 

How to user code ABAP for open a file in other PC ?

Former Member
0 Kudos

Dear all !

In my work, I want open a file in other PC. My application is a new program by SAP ABAP.

If this file on my PC, I can open it easy but if file on other PC, I can't open.

I think problem is " How to create connect to other PC".

If you have experience or solution for my request, help me please !

Thanks all !

Edited by: Nguyen Quang Canh on Jun 2, 2010 4:12 AM

7 REPLIES 7

former_member208517
Participant
0 Kudos

I seems that your requirement can not be achieved.

If you program has such function, it will be very danger for other PC.

you can get all the document's on your colleague's PC.

For your requirement, if you are not sure if the document is in the PC you are using.

My suggestion is to upload the document to the Application server first using the Tcode OAOR, then you can use function to open and read the documents.

0 Kudos

I want open file because I will read, insert, update, delete data to it.

If read only, I can use your solution.

I want other solution.

Thanks U !

0 Kudos

basic option for accessing file

either from same system (local PC) (upload , download function modules)

from application server path (tcode: AL11) - you can create, change and modify the file using open data set cammands

or on FTP file location path ( you can create, modify and change a file using FTP cammands )

The first option will only work in online mode.

Other two options can be be background scheduled

Former Member
0 Kudos

Hello,

Can you explain in more specific .

As per my understanding I'm trying get the solution. If file is in the another system ,then you can create a RFC Function module by using GUI_UPLOAD and call that RFC in the required system.

Best Regards.

SuhaSaha
Advisor
Advisor
0 Kudos

AFAIK if you create a shared folder in the "other PC" & map it to your PC you can use GUI_UPLOAD to read the file contents.

As mentioned earlier i don't think this is a good solution. You can go for an FTP which is better solution.

Former Member
0 Kudos

So, why doesn't the user who "owns" the other PC just run your program?

0 Kudos

My program will run background job with data from ~ 1000 other PC.

I can't comple ~1000 user run my program.