2

How to navigate from ALV report output to Outlook ... - SAP Community

 4 weeks ago
source link: https://community.sap.com/t5/technology-q-a/how-to-navigate-from-alv-report-output-to-outlook-up-on-clicking-on-an/qaq-p/13676728
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to navigate from ALV report output to Outlook up on clicking on an email address cell

Hi Experts,

We are having an email address field in the ALV Grid output. The requirement is when we click on email address it should trigger Outlook and email address should be copied to 'To' section. We are able to enable Hotspot on the field but not able to proceed further with the requirement.

We are using REUSE_ALV_GRID to display the output.

Thanks in Advance.

Regards,

Anand

Accepted Solutions (0)

Answers (1)

raymond_giuseppi

raymond_giuseppi

Active Contributor

47m ago

To call Oultook, you could use

  • OLE2 (record a macro with Outlook and convert to Abap)
  • CL_GUI_FRONTEND_SERVICES (method execute, application 'Outlook' with some parameter)

Remarks:

  • If you need to pass many data to Outlook, you could export it to clipboard so Outlook will read it.
  • If no user action is required, consider using CL_BCS to create a mail

Question

  • Why do you use those outdated reuse FM (legacy development?)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK