Delete PC Directory in ABAP/4
Example: We will delete directory ’Temp’ on drive C:
Technorati Tags: English, IT, Programming, ABAP, SAPCALL FUNCTION ’GUI_REMOVE_DIRECTORY’
EXPORTING
DIRNAME = ’C:\Temp’
EXCEPTIONS
FAILED = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
- 1041 reads
Post new comment