Directory selection for ABAP report using SAP method DIRECTORY_BROWSE
Provides a popup on an abap report selection screen to allow the user to select a directory from their PC.
*Selecting a Directory *The following declaration may need to be 'gd_path(500) type c.' in older versions of SAP" data: gd_path type string. parameters: p_path like rlgrap-filename. at selection-screen on value-request for p_path. CALL METHOD cl_gui_frontend_services=>directory_browse EXPORTING window_title = 'File Directory' initial_folder = 'C:' CHANGING selected_folder = gd_path. CALL METHOD cl_gui_cfw=>flush. concatenate gd_path '' into p_path.
Website Navigation to related information