2008 May 13 7:42 AM
Hi Every One,
I am trying to download the data from sap .. where i have to give the file path name of application server ...
i have given that but i am getting runtime error as ..
Short text
File "c:\ace8m/B0003.QJF" is not open.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZACE8M" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_FILE_OPEN_MODE', was not
caught in
procedure "ADDB3" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
When accessing the file "c:\ace8m/B0003.QJF", the system recognized that this
file is
not open. Therefore, the file cannot be accessed.
can any clear this...
Reply me soon...
Hi Arun,
select the correct application file from transaction "FILE"... Note: The file name you have given is a presentation file and you cant use a presentation file with "OPEN DATASET / READ DATASET" statements...
If your requirements is to work with a Presentation server file, use statement "GUI_DOWNLOAD" / "GUI_UPLOAD" with the file already in the local desktop for Reading...
2008 May 13 7:44 AM
2008 May 13 7:48 AM
Hi Srinath ,
If you are downloading the file to the application server , then the format of the file name 'c:\ace8m/B0003.QJF' is not correct , and my assumption for the dump is that you are not checking sy-subrc after open data set command and the program dumps when it executes the transfer command .
Regards
Arun
2008 May 13 10:43 PM
Hi Arun,
select the correct application file from transaction "FILE"... Note: The file name you have given is a presentation file and you cant use a presentation file with "OPEN DATASET / READ DATASET" statements...
If your requirements is to work with a Presentation server file, use statement "GUI_DOWNLOAD" / "GUI_UPLOAD" with the file already in the local desktop for Reading...
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |