Thursday, 26 November 2020

How to Send Email from SAP ABAP Query Report ?

Introduction

In SAP most of the time when we create a ABAP Query report we do it to download it to our Local file and then we need to send it to a bunch of Recipient. This Blog will help you in taking some of this Steps reduced by Sending email directly from the ABAP Query Report.

Solution

First we go to Transaction Code SQVI.

Select your ABAP Query.

After selecting the Query please hit Execute or F8 in Keyboard.

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Now execute based on the Parameter you want the Report to get details

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Now select the below option as mentioned.

We get the Compose Email Screen. Enter a Text in the Body and provide Recipient as mentioned below

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Now hit Send Button as highlighted below

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Now let us go to Transaction SOST to check the outgoing email

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Here is the entry. Highlight it and hit display.

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Now Click on Attachment.

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

Here is the output which will show in the Email Attachment

SAP ABAP Tutorial and Material, SAP ABAP Learning, SAP ABAP Guides, SAP ABAP Career, SAP ABAP Certification

No comments:

Post a Comment