on 02-13-2012 2:42 PM
Hi Team,
I have a requirement that need to get a file from Windows Application server (Non-SAP System) to SAP-R3 system and I need to delete the file from the Non SAP system,this is frequently used by the user.I checked by using RFC functionmodules and IDOC's but these are not suitable for my requirement.Please suggest me if any other function module's or any other way's to fulfill the requirement.
Thanks,
Satya.
Hi Satya,
If i understood your requirement properly, your requirement is to download the data to a Local drive from SAP and then upload the same file to SAP application server and later delete the file from Local drive.
In this case you can write a program to download the file to local drive using GUI_DOWNLOAD FM and then upload the same file to SAP using GUI_UPLOAD. Now the file is in internal table of your program now use READ DATASET and TRANSFER statements to write the file data to the SAP Application server or you can also use "ARCHIVFILE_CLIENT_TO_SERVER" FM to transfer file from Windows local drive to the SAP Application server.
once all are done use
cl_gui_frontend_services->delete_file method to delete the file from the local drive.
Please let me know for more details.
Regards,
Praveenkumar T.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use function group EPSF, here
fm EPS_DELETE_FILE
grx
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Thanks for answering.
But in requirement need to connect to the Non-SAP(windows) system from SAP(windows) system.I need to place the file in windows applicationserver of Non-SAP system through one program.Using another program I need to read the file from Windows application server(Non-SAP System) in to the SAP Application server .For deleting the Function module suggested is useful but for connecting any function module...???Please help me.
Thanks,Satya.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.