SHOW_FILE SAP Method Display Data Stream as File on the Client PC
Below is documentation, parameters and attributes of ABAP Method SHOW_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 SHOW_FILE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SHOW_FILE
.Name | Type | Data Type | Description | Default Value |
I_DIALOG | Importing | TYPE C | ||
I_FILENAME | Importing | TYPE SOXPC-PATH | SAPoffice: Path for a PC application | |
I_FILE_EXTENTION | Importing | TYPE SOOD-FILE_EXT | File Extension for PC Application | |
I_PATH | Importing | TYPE STRING | ||
I_XDATA | Importing | TYPE XSTRING |
Exceptions of Method SHOW_FILE
ERROR_NO_FILE_READER_FOUND - Unable to find display program on the client PCExample ABAP coding
DATA: lv_I_DIALOG TYPE C,
lv_I_FILENAME TYPE SOXPC-PATH,
lv_I_FILE_EXTENTION TYPE SOOD-FILE_EXT,
lv_I_PATH TYPE STRING,
lv_I_XDATA TYPE XSTRING,
lv_other TYPE c.
CALL METHOD EDX_UTIL=>SHOW_FILE(
EXPORTING
I_DIALOG = lv_I_DIALOG
I_FILENAME = lv_I_FILENAME
I_FILE_EXTENTION = lv_I_FILE_EXTENTION
I_PATH = lv_I_PATH
I_XDATA = lv_I_XDATA ).
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