cntl_error=1error_no_gui=2not_supported_by_gui=3OTHERS=4). IF sy-subrc IS INITIAL. CASE l_useraction. WHEN cl_gui_frontend_services=>action_cancel. CLEAR l_fullpath. MESSAGE i001(00) WITH text-010. WHEN cl_gui_frontend_services=>action_ok OR cl_gui_frontend_services=>action_replace...
1:创建文件夹 参数说明:RC为返回码类型为sy-subrc。 CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE EXPORTING DIRECTORY = 'E:\TESTDIR' CHANGING RC = RC. 2.文件夹的删除 下面方法删除E盘下TESTDIR文件夹 CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_DELETE EXPORTING DIRECTORY = 'E:\TESTD...
CL_GUI_FRONTEND_SERVICES Concept General Description The class CL_GUI_FRONTEND_SERVICES contains a number of methods that allow ABAP programs to execute operating system functionality on the client PC. The PC on which the Graphical User Interface (GUI) is running is called the client P...
cl_gui_frontend_services=>gui_download 下载到服本地 SSF_FUNCTION_MODULE_NAME SMARTFORMS输出报表时,生成一个函数名称,然后CALL这个名称 函数名 描述 POPUP_TO_DECIDE_LIST 弹出供选择窗口 ABAP_DOCU_DOWNLOAD –以HTML格式下载ABAP文档。 ARFC_GET_TID – 以十六进制形式返回终端的IP地址。 BAL_* -容纳了SAP...
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXISTEXPORTINGFILE = LW_FILERECEIVINGRESULT = LW_RESULTEXCEPTIONSCNTL_ERROR = 1ERROR_NO_GUI = 2WRONG_PARAMETER = 3NOT_SUPPORTED_BY_GUI = 4OTHERS = 5.方法调用是否成功判定:(例如:输入不合法)
一、最常用FM的是:GUI_UPLOAD 有同等作用的是CLASS cl_gui_frontend_services的静态方法gui_upload,文件可以按二进制或文本格式上传,数值和日期等依赖于用户的设置。 上传二进制文件时,内表通常定义为只含一个数据类型为X的field,如: data:begin of itab occurs 0, ...
Hi SAP GUI Experts, I've installed the SAP GUI 7.20 and patched it to Patchlevel 4 on Windows 7, 64 Bit. When I run the following report REPORT z_test_frontend_services. DATA: temp_dir TYPE string, sapworkdir type string. cl_gui_frontend_services=>get_temp_directory( CHANGING temp_dir...
CALL METHOD cl_gui_frontend_services=>file_open_dialog EXPORTING default_extension = l_extension default_filename = l_filename file_filter = l_filter multiselection = ' ' CHANGING file_table = l_tab_filetable rc = l_result1. * Check user did not cancel request ...
Hi, i have a requirement to open a .exe (.Net desktop application) and i currently using CL_GUI_FRONTEND_SERVICES=>execute . CALL METHOD
Hi, please have a look at this simple piece of code: clipboard_import importing data = it_csv exceptions cntl_error = 1 * ERROR_NO_GUI = 2 * NOT_SUPPORTED_BY_GUI = 3