10-07-2005 6:20 PM
Hi Guys,
I have one more doubt. I know how to open Excel and MSWORD in an Abap program. Is it possible to open Lotus Notes through Abap Program.
Regards,
Gowtham Kuchipudi.
10-07-2005 6:25 PM
10-07-2005 6:31 PM
Check out this sample. Just point the parameter on the selection screen to your lotus notes executable, it should fire.
report zrich_0001
no standard page heading
line-size 300.
data:
ifile_table type table of file_table,
xfile_table type file_table,
return type i..
parameters: p_app type file_table-filename
default 'C:'.
at selection-screen on value-request for p_app.
clear ifile_table. refresh ifile_table.
call method cl_gui_frontend_services=>file_open_dialog
exporting
window_title = 'Get App'
multiselection = space
changing
file_table = ifile_table
rc = return
exceptions
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
others = 4.
read table ifile_table into xfile_table index 1.
if sy-subrc = 0.
p_app = xfile_table.
endif.
start-of-selection.
data: app type string.
app = p_app.
call method cl_gui_frontend_services=>execute
exporting
application = app.
Regards,
Rich HEilman
10-08-2005 9:45 AM