SAP ABAP SYNTAX FOR DELETE
DELETE
- DELETE FROM dbtab WHERE condition.
- DELETE FROM (dbtabname) WHERE condition.
- DELETE dbtab.
- DELETE *dbtab.
- DELETE (dbtabname) ... .
- DELETE dbtab FROM TABLE itab.
- DELETE (dbtabname) FROM TABLE itab.
- DELETE dbtab VERSION vers.
- DELETE *dbtab VERSION vers.
- DELETE itab.
- DELETE itab INDEX idx.
- DELETE itab FROM idx1 TO idx2.
- DELETE itab WHERE condition.
- DELETE ADJACENT DUPLICATES FROM itab.
- DELETE REPORT prog.
- DELETE TEXTPOOL prog LANGUAGE lg.
- DELETE FROM DATABASE dbtab(ar) ...ID key.
- DELETE DATASET dsn.
- DELETE DYNPRO f.
DELETE - delete a file
Basic form
DELETE DATASET dsn.
Effect
Deletes the file specified in the field dsn .
The return code value is set as follows:
SY-SUBRC = 0 File deleted.
SY_SUBRC = 4 File does not exist or could not be deleted.
Possible reasons:
1) The file does not exist.
2) The file is a directory.
3) The R/3 System has no search authorization for a component of the file name.
4) The R/3 System has no search authorization
for the directory which contains the file.
5) A component of the search path is not a directory.
6) The file is a symbolic link which cannot be resolved (endless loop ?).
7) The file is a program which is currently running.
42.2
RELATED POST
SAP ABAP SYNTAX FOR DEFINE
The return code value is set as follows:
SY-SUBRC = 0 File deleted.
SY_SUBRC = 4 File does not exist or could not be deleted.
Possible reasons:
1) The file does not exist.
2) The file is a directory.
3) The R/3 System has no search authorization for a component of the file name.
4) The R/3 System has no search authorization
for the directory which contains the file.
5) A component of the search path is not a directory.
6) The file is a symbolic link which cannot be resolved (endless loop ?).
7) The file is a program which is currently running.
42.2
RELATED POST
SAP ABAP SYNTAX FOR DEFINE



0 comments:
Post a Comment