ABAPDELETE_DATASET - DELETE DATASET

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

DELETE DATASET

Short Reference



Syntax

DELETE DATASET dset.

Effect

This statement deletes the file specified in dset. A character-like data object is expected for dset that contains theplatform-specific name of the file. The file can be opened or closed.

Note

When a file is deleted, authorization checks are performed automatically.

Return Value

sy-subrcMeaning
0File deleted.
4File could not be deleted.

Exceptions

Catchable Exceptions

CX_SY_FILE_AUTHORITY

  • Cause: No authorization for accessing a file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY (can be handled)

CX_SY_FILE_OPEN

  • Cause: File cannot be opened
    Runtime Error: DATASET_CANT_OPEN (can be handled)







SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.


Length: 2057 Date: 20120522 Time: 045140     triton ( 107 ms )