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

DATASET_CANT_CLOSE Error

Former Member
0 Likes
2,916

Hi,

I have a program in which I have coded CLOSE DATASET statement. The

program was running fine till yesterday. Today suddenly this statement

is throwing DATASET_CANT_CLOSE dump. We checked the memory, the space

available in the system is 8 GB.

Strangely, when I run the program is debug mode it executes fine, but

when i run it directlty it tis hrowing the dump.

CaCould anyone please advise what could be an issue?

Thanks and Regards

Nidhi Goel

4 REPLIES 4
Read only

Former Member
0 Likes
1,791

Hi,

I hope you are ensuring that file should be open by using a sy-subrc check just after open dataset statement...

Try changing the filename too......

Read only

former_member156446
Active Contributor
0 Likes
1,791

check if write permission are there for the dataset you want to access.

Read only

Former Member
0 Likes
1,791

Hi Nidhi,

Please refer [this|http://sap.ittoolbox.com/groups/technical-functional/sap-basis/dataset_cant_close-2260692?cv=expanded]. It suggests to check if your file is not corrupted.

Replace your file and try re running.

If above is not problem, I believe this got to be a Temproray problem.

Regards,

Shital

Edited by: shital phadake on Apr 26, 2009 1:26 PM

Read only

Former Member
0 Likes
1,791

These kind of issue you get due to commit work or work process is not avaailable at runtime.If database is not commited/Update not completed.

Type using:

WAIT UNTIL

[Wait Until|http://help.sap.com/saphelp_nw04/helpdata/EN/c6/13a228e9c5ca469fe7065387dc87be/content.htm]

Regards,

Gurpreet