Skip to Content
Author's profile photo Jordan Lazarus Bodapaty

How to Broadcast a BEx Report through E-mail.

This is a step by step guide on how to broadcast a BEx report to the E-mail of specific users.


1) Open the BEx query in BEx Query Designer.

2) Go to Menu “Query->Publish->” and Click on “BEx Broadcaster”

Broadcast 1.png

3) Internet Explorer (or any default browser) window will open with a login screen for the “SAP NetWeaver Portal”

          Broadcast 2.png

4) Login using the BW login credentials of the User using which you want the BEx report to be broadcasted.

5) You will see a screen as below which shows the list of available broadcast settings for the particular query:

Broadcast 3.png

6) Click on “Create New Setting” button.

7) There will be four tabs

     a. Recipient(s)

     b. Texts

     c. General Precalculation

     d. Filter Navigation

Broadcast.png

Recipients

You have different options for entering recipients:

  • User:
  • Users in Roles:

Note: If an e-mail address for a user that you have specified under User or User in Role has not been maintained in user maintenance, the user will not receive the distributed file as an e-mail. Instead the user gets a message in the Business Workplace (transaction SO01).

  • E-Mail Addresses:
  • Authorized User:
  • Language:
  • User-specific: If you schedule the broadcast setting in the background (for example for a specific time), then you can generate the document user specifically. The system generates the document for each of the specified recipients with their personal settings (date format, language) and data authorizations. Recipients that are only specified with e-mail addresses are excluded from this. For this recipient, the system generates the document with the settings for the authorized user.

 
TextsHere you can make the following entries:

  • Subject:
  • Importance:
  • Contents:

General Precalculation

  • Variable Assignment: You can create values for the variables for the query that are ready for input or you can specify the Web application. The query or Web application is then precalculated with these variable values. You are able to select an existing variant for the query. The query is precalculated with the values of the variant.

Filter Navigation

On the Filter Navigation tab page you can specify characteristics or a control query so that the system precalculates several documents with different filter settings from the same query or Web application.  These filter values provide you with a navigation option in the precalculated document. You can select the filter values using dropdown boxes in the navigation block.

You can make the following settings:

  • No Filtering: The system precalculates an unfiltered document.
  • Filtering Using Selected Characteristics: The system precalculates several documents with various filter settings according to your chosen settings. Highlight the desired characteristic and specify the desired filter value using Create Filter Values. You can specify a maximum of two characteristics.
  • Filtering Using Control Query: The system precalculates several documents with various filter settings. The filters correspond to the characteristic combinations of the control query that you specified. Specify the desired control query in the Control Query field either manually or using  Selection.

8) Give a description for the broadcast setting

9) Select the Distribution type. In our case it would be “Broadcast Email”.

10) Select the output format. We will select “XML (MS Excel)” which is the Microsoft Excel Format.

11) We can enable the “As ZIP file” checkbox to send the file as a zipped attachment to the recipients email.

12) Recipients: Specify the email addresses of the users to whom you want the report to be broadcasted in the “Email Addresses” field.

Broadcast 4.png

13) Texts: Specify the Email “Subject” and the Email “Contents”. The subject and contents specified here will be reflected in the Subject and contents of the email delivered to the recipient.

            Broadcast 5.png

14) General Precalculation: If the query has any input variables, you will have to create a variable assignment and assign values for the variable. The broadcasted report will be precalculated for the variable values which you assign in this tab.

          Broadcast 6.png

Select VAR_01 as shown in the below screenshot and click on “Create”.

            Broadcast 7.png
     You will see the variable screen where you have to assign values for the variables and click on ok. (Sample variable assignment shown below)

               Broadcast 8.png

15) The Filter Navigation tab is used to apply filters (if any) to the query before precalculating and broadcasting the query. We can leave it blank if no filters are to be applied before broadcasting.

16) Now save the broadcast setting by giving a technical name.

17) The next step is to schedule the broadcast after specifying the recipients, the contents of the email, and the variable assignment. Click on the “Schedule” button. Enable the “Create New Scheduling” check box, and select the time to schedule the broadcast and click “Transfer”.

           Broadcast 9.png

Scheduling the Broadcasts Automatically:

The scheduling of broadcasts can be automated with the help of a program and through process chains. Create a process chain and include the ABAP program “RSRD_BROADCAST_BATCH”. This program can be used to schedule the broadcasts in the background without any use intervention.

Create a variant for this program and give the technical name of the Broadcast setting for the selection variable “S_SETTNG (Broadcast Setting)”.

Now schedule the process chain at the particular time (may be periodic) at which you want the broadcast to be sent.


Assigned Tags

      14 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good

      Author's profile photo Former Member
      Former Member

      Good stuff....kindly share how to create Scheduling the Broadcasts Automatically indetailed  in RSRD_BROADCAST_BATCH...that is good for evry thing...

      Thaks in advanced...

      Thanks & regards

      Jagadeesh Naidu

      Author's profile photo Former Member
      Former Member

      Hey,

      It's a good document. Great work !!!

      Tell me one thing if i need to give a variable value each time to input screen for report.
      How will i achieve this.

      Say you have to broadcast the report each day having current date in input selection,wats the procedure to do it automatically ??

      Thanks

      Deepak Machal

      Author's profile photo Former Member
      Former Member

      Hi Deepak,

      You can find the solution in the blog post "Update Time Variables Dynamically for Broadcasting"

      -LS

      Author's profile photo Former Member
      Former Member

      Very good explaination with helpful screens...

      Thanks

      PC

      Author's profile photo Former Member
      Former Member

      Very good explaination with helpful screens..

      Author's profile photo Former Member
      Former Member

      Please suggest if reports can be scheduled based on completion of data loads via process chain. Can reports be sent based on event instead of time .Is there any option for this in bex broadcast settings.

      Author's profile photo Aparajit Banik
      Aparajit Banik

      Dipti,
      A proposal can be
      Introducing  a decision in the process chain and check if the DTP is complete or not.
      if complete this will trigger the broadcast of required reports.
      But i suspect the DTP completes your Process Chain steps as well
      Opening a new thread would have been a good option rather than putting a question here.
      Regards!

      Author's profile photo Bhavinkumar Vyas
      Bhavinkumar Vyas

      Not having the option of "XML" in output format tab. Please suggest.

      Author's profile photo Former Member
      Former Member

      Hi All,

      Can you please let me knw how a schedular tab is enabled... please help if any one are aware of it

      Thanks in advance

      Author's profile photo Jelbin George
      Jelbin George

      Hi All,

      I am not getting an option 'XML'.

      Please help me on how to enable it.

      Thanks and Kind Regards,

      Jelbin

      Author's profile photo Former Member
      Former Member

      Hi All,

      We are broadcasting some BW reports and one of the user requirement is to show the report outcome (graphs/tables) as body of the email. Unable on how this can be achieved. Please advise.

      Author's profile photo SUMEET JAGATAP
      SUMEET JAGATAP

      Hello,

      To achieve this you can use a Web Template based broadcaster instead of Query [mentioned in point 5].

      Best Regards,

      Sumeet J

      Author's profile photo Jelbin George
      Jelbin George

      Even, I too need something like this