Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
SAP GUI Articles
Found 3 articles
Using GUI upload to attach a file to email in SAP
You have to use parameters correctly in the function. You have to import the file length to an integer value. Importing File Length First, call the gui_upload_file method from the cl_gui_frontend_services class to upload the file and capture its length − CALL METHOD cl_gui_frontend_services=>gui_upload_file EXPORTING window_title = 'Select File' default_extension = '*' file_filter = 'All Files (*.*)|*.*' IMPORTING file_table ...
Read MoreHandling errors in SAP GUI Scripting code
You can take reference from the GUI Scripting help section, and it can explain things in detail for error handling in SAP GUI Scripting. SAP GUI provides default property types for handling different message scenarios. If you want to perform the next step, stop, or abort a user step, you can use the following message type properties − ...
Read MoreFinding location of uploaded file using SAP GUI_upload
When you upload a file using the gui_upload function, the file is not uploaded to the Application server. The file is read from presentation layer to an internal table.ExampleFollowing code can be used to call a gui_upload function to read the file to an internet table:lv_filename = p_filebp. CLEAR lt_data_tab. IF NOT lv_filename IS INITIAL. CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename TABLES data_tab = lt_data_tab EXCEPTIONS file_open_error = 1 OTHERS = 17. IF sy-subrc 0. EXIT. ...
Read More