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

Can not delete dataset

Former Member
0 Likes
1,135

hello,

when i am in DEV, DELETE DATASET <physical file> is OK,

but this program is transported to QAS,

DELETE DATASET <physical file> is error, sy-subrc NE 0.

anybody can tell me the reason,thank you!!!

Edited by: sun_strawren on Apr 16, 2009 12:19 PM

Edited by: sun_strawren on Apr 16, 2009 12:19 PM

6 REPLIES 6
Read only

Former Member
0 Likes
978

well probably this is some authorization on OS level thingie.

you dont want SAP user to be able to delete files on your application server as well i guess.

Read only

Former Member
0 Likes
978

Check whether the File Exists in QA Server/Check for the Permission(Authorizations) on the server.

Check it through Tcode: AL11

Regards,

gurpreet

Read only

Former Member
0 Likes
978

Hi,

Can you check if yu are trying to delet the dataset which is open.

before using delete dataset, use "close dataset statement" and try it.

regards,

Naveen

Read only

Former Member
0 Likes
978

Hi,

Check th user authorizations in QAS.

You may not have the same in DEV.

Issa

Read only

Former Member
0 Likes
978

Hi,

What is the SY-SUBRC value after the DELETE Dataset Statement? May be you do not have authorization to delete file from application server in Q system.

Regards,

R

Read only

Former Member
0 Likes
978

This is some authorization on OS level.