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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
I_DIALOGImportingTYPE
C
I_FILENAMEImportingTYPE
STRING
I_FILE_FILTERImportingTYPE
STRING
I_REPORT_DATAImportingTYPE
STRING
E_FULL_PATHExportingTYPE
STRING



Exceptions of Method SAVE_AS_FILE

ERROR_CANT_SAVE_FILE - Cannot Save the File

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!