DELETE_BINARY_FILE SAP Method Deletes binary files from the database
Below is documentation, parameters and attributes of ABAP Method DELETE_BINARY_FILE within SAP class /SCMTMS/IF_BINARY_FILE_ACCESS. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/IF_BINARY_FILE_ACCESS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method DELETE_BINARY_FILE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DELETE_BINARY_FILE
.| Name | Type | Data Type | Description | Default Value |
| IT_FILE_ID | Importing | TYPE /SCMTMS/T_FILE_ID | File IDs to be Deleted | |
| IV_FILE_ID | Importing | TYPE /SCMTMS/FILE_ID | File ID to be Deleted | |
| EV_NUM_DELETED_FILES | Exporting | TYPE INT4 | Number of Deleted Files | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object |
Exceptions of Method DELETE_BINARY_FILE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMTMS/IF_BINARY_FILE_ACCESS.
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_EV_NUM_DELETED_FILES TYPE INT4,
lv_IT_FILE_ID TYPE /SCMTMS/T_FILE_ID,
lv_IV_FILE_ID TYPE /SCMTMS/FILE_ID,
lv_other TYPE c.
CALL METHOD lo_class=>DELETE_BINARY_FILE(
EXPORTING
IT_FILE_ID = lv_IT_FILE_ID
IV_FILE_ID = lv_IV_FILE_ID
IMPORTING
EV_NUM_DELETED_FILES = lv_EV_NUM_DELETED_FILES
CHANGING
CO_MESSAGE = lv_CO_MESSAGE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects