Creating Your Own Report Type As a ReceiverLocate this document in the navigation structure

Use

The report-report interface provides a number of report types as jump target (receiver). In certain situations, it could be necessary to perform specific operations that are not performed by the generic standard interface between the sender and receiver. If the standard interface does not satisfy your requirements, you can implement a specific enhancement. These enhancements can call the receiver using individual parameters. There can be more or fewer parameters than in the standard interface. Sender-receiver assignments can be ignored or enhanced with additional navigation commands.

Procedure

To implement a specific enhancement:

  1. Create an ABAP class with the interface IF_RS_BBS_BADI_HANDLER.

    More information:Creating ABAP Classes with Interface IF_RS_BBS_BADI_HANDLER

  2. Create an implementation to the classic BAdI RS_BBS_BADI.

    More information:Creating an Implementation to the BAdI RS_BBS_BADI

  3. Create the sender-receiver assignment.

    More information:Creating Sender-Receiver Assignments

Result

You can use the new jump target in the executed query.

Example

The procedures are based on the following example:

A query has the characteristic Product in its rows and the two key figures Revenue und Quantity in its columns. A further characteristic Customer is one of the free characteristics. When you jump to the target, the new report type means that the free characteristic Customer is drilled down in the rows. At the same time, a key figure is filtered.

This is shown in the first part of the example.

For more information about URL parameters used, seeUsing Parameters to Call Web Applications.

The UID of the key figure is visible in the BEx Query Designer in the properties of the key figure on the tab page Enhanced.

The second part of the example shows how a key value can be passed to the Google search. You can also pass a key value to Google without this implementation, but with the enhancement it is possible to also pass the text. The text, however, must first be determined from the master data.

For more information about the solution without implementation, see: http://help.sap.com/nw73 → Application Help → SAP Library  → SAP NetWeaver  → SAP NetWeaver Library: Function-Oriented View → Business Warehouse  → SAP Business Explorer  → BEx Web  → BEx Web  → BEx Web Application Designer →   Web Design API →   Using Parameters to Call Web Applications