Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Lotus Notes in Abap

Former Member
0 Kudos

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.

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Sure, if there is an executable for Lotus Notes, then you can just call it.

Use call method cl_gui_frontend_services=>execute

Regards,

Rich Heilman

0 Kudos

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

0 Kudos

Hi Thank Rich.