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=>execute .CALL METHOD cl_gui_frontend_services=>execute EXPORTING application = 'WinForm.exe' parameter ='C:\WinForm' operation = 'OPEN'.it opens up the application as expected. but now i need to pass some values like document number,date (transactional information) ...
Hello all, I created a function module and i use cl_gui_frontend_services=>execute method in this FM to trigger a BAT file in local computer. When i run this
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXISTEXPORTINGDIRECTORY = LW_PATHRECEIVINGRESULT = LW_RESULTEXCEPTIONSCNTL_ERROR = 1ERROR_NO_GUI = 2WRONG_PARAMETER = 3NOT_SUPPORTED_BY_GUI = 4OTHERS = 5.方法调用是否成功判定:(例如:输入不合法)...
WHEN cl_gui_frontend_services=>action_append."no header requiredWHEN OTHERS. CLEAR l_fullpath. ENDCASE. ENDIF. CONCATENATE p_path g_seqno gco_bpt INTO g_path. cl_gui_frontend_services=>gui_download( EXPORTING filename=g_path* bin_filesize =lv_binary_leng ...
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_upload 上传到服务器 cl_gui_frontend_services=>gui_download 下载到服本地 SSF_FUNCTION_MODULE_NAME SMARTFORMS输出报表时,生成一个函数名称,然后CALL这个名称 函数名 描述 POPUP_TO_DECIDE_LIST 弹出供选择窗口 ABAP_DOCU_DOWNLOAD –以HTML格式下载ABAP文档。
具体到ABAP开发需要完成的工作,就是按打印命令生成一个文件,写入本地, 然后通过函数 WS_EXECUTE 或者类CL_GUI_FRONTEND_SERVICES 方法 EXECUTE 调用操作系统命令完成打印 使用第三方软件bartender 市面上有一些软件可以实现条码设计及打印,并且提供了一些第三方调用方式,这里列举的软件 BARTENDER(可能需要企业购买) ...
Solved: Hi, I have a requirement where i have to open a folder and then open a document in that folder. 1. I have used CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG to
cl_gui_frontend_services=>execute( EXPORTING application = 'EXCEL' parameter = lv_filename default_directory = lv_pathname operation = 'OPEN' maximized = 'X' EXCEPTIONS cntl_error = 1 error_no_gui = 2 bad_parameter = 3 file_not_found = 4 path_not_found = 5 file_extension_unknown = ...