Application Development and Automation 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: 
Read only

RunTIme Error

Former Member
0 Likes
778

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...

3 REPLIES 3
Read only

Former Member
0 Likes
529

Can you show your code?

Regards,

Atish

Read only

Former Member
0 Likes
529

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

Read only

0 Likes
529

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...