Online Tutorials & Training Materials |
Register Login

Abap Runtime error: DATASET_NOT_OPEN

rekha || 05 Jul 2010 5:35 am || 9

Dear all,

I am getting the following dump while transfering my text file to the server.
Please reply me a solution for this.





























  • 09 Sep 2016 5:48 pm Helpful Answer

    i switched from '/' to '' and got rid of the error.

  • 05 Jul 2010 5:36 am

    Here the opened dataset is not closed. Before closing it you tried to change its name. First close the dataset. The same is written in dump analysis also.

  • 05 Jul 2010 5:38 am
    1.The error may be as follows: exchange to slash "/" to "".
    2. Check the permission of the folder. How 'the dianamarce server he must have access to modify, change and write data in this folder
  • 05 Jul 2010 5:39 am
    It looks like your file was not opened before it tries to transfer. Though file open statement is just before the transfer statement, there is some error in the opening file. If you have some check for sy-subrc <> 0 you can catch that error. How did you define FNAME? It should be as : fmane like rlgrap-filename.

  • 05 Jul 2010 5:39 am

    Is the path valid? It is a good practice to provide the complete path when you output a file. The folder that you trying to put the file into is probably not available on the server. Also check if you have the write access if you are on the Unix flavor of Operating system.

  • 05 Jul 2010 5:41 am

    Have you used the keyword Close Dataset fname.
    If you have used, please paste the code which you have used in the program so that we can analyze it.

  • 05 Jul 2010 5:43 am

    Thanks for your reply. We have found that the error is in accessing the folder in the main server. and rectified it also.

  • 02 Dec 2010 6:18 am
    i have same problem of 'dataset not open'..plz help me
  • 02 Dec 2010 6:20 am
    I have the same problem..plz help me..