‎2008 Feb 14 7:32 AM
Hi Gurus,
I am new in ABAP. I want to upload a file to Application Server.
1. I create a file in Excel and give extension .prn and save on desktop so i think this file is on my presentation server.
2. Now thru ABAP Editor i want to upload this file to Application Server
Because i have to use this file in BDC.
please give me the process..
Thanks in Advance..
Kind Regards
Yogesh
‎2008 Feb 14 7:38 AM
U can use DATASETs to put and get data to and from APP Server
Reward if useful
‎2008 Feb 14 7:38 AM
U can use DATASETs to put and get data to and from APP Server
Reward if useful
‎2008 Feb 14 7:41 AM
Hi
Please
use CG3Z transaction code to directly upload filr to application server
‎2008 Feb 14 8:51 AM
Hi Yogesh,
As per the above suggestion you can use CG3Z tcode to upload your file directly from PS(Prersentation Server) to AS (Application Server).
Otherwise if you need the procedure for coding, then first sav the file in .xls or .csv or any format and upload the file into an internal table using any standard FM as per the extension ehich you use. Later use OPEN DATASET stmt. and open a file in AS and pass the data from your Internal table into this file through TRANFSER stmt and after completing the required process use CLOSE DATASET stmt accordingly.
Hope this resolves your query.
Reward all the helpful answers.
Regards
Nagaraj T