Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8746

CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG

$
0
0

Hi Experts,

 

I have a customized program with BDC. first My program will convert a .dbf file into .xls file. My second program executes the .xls file.

The .xls file that I get from my first program will be transferred into a textbox in my second program.

 

But my second program is using CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG to execute a command. If you just enter the directory/path in the textbox it wont execute but if you use f4 the program will successfully be executed.

 

I have put my method in AT SELECTION-SCREEN. so that when I use the bdc it will automatically read the path BUT the dialogbox still appear.

How can I make the dialog box disappear but still it will execute the method ?

 

 

CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG

    exporting

      default_filename        = cv_fname "'C:\USERS\Asd\DESKTOP\RATRA.XLS'

    CHANGING

      FILE_TABLE              = t_files

      RC                      = v_rcode

    EXCEPTIONS

         file_open_dialog_failed = 1

         cntl_error              = 2

         error_no_gui            = 3

         OTHERS                  = 4.


Viewing all articles
Browse latest Browse all 8746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>