SAVE_AS_FILE SAP Method Save Data Stream as File
Below is documentation, parameters and attributes of ABAP Method SAVE_AS_FILE within SAP class EDX_UTIL. 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 EDX_UTIL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method SAVE_AS_FILE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SAVE_AS_FILE
.Name | Type | Data Type | Description | Default Value |
I_DIALOG | Importing | TYPE C | ||
I_FILENAME | Importing | TYPE STRING | ||
I_FILE_FILTER | Importing | TYPE STRING | ||
I_REPORT_DATA | Importing | TYPE STRING | ||
E_FULL_PATH | Exporting | TYPE STRING |
Exceptions of Method SAVE_AS_FILE
ERROR_CANT_SAVE_FILE - Cannot Save the FileExample ABAP coding
DATA: lv_E_FULL_PATH TYPE STRING,
lv_I_DIALOG TYPE C,
lv_I_FILENAME TYPE STRING,
lv_I_FILE_FILTER TYPE STRING,
lv_I_REPORT_DATA TYPE STRING,
lv_other TYPE c.
CALL METHOD EDX_UTIL=>SAVE_AS_FILE(
EXPORTING
I_DIALOG = lv_I_DIALOG
I_FILENAME = lv_I_FILENAME
I_FILE_FILTER = lv_I_FILE_FILTER
I_REPORT_DATA = lv_I_REPORT_DATA
IMPORTING
E_FULL_PATH = lv_E_FULL_PATH ).
Links to Related Class(s)
EDX_UTIL...Full list of available SAP object classes
Search for further information about these or an SAP related objects