Creating Your Own Report Type as
Receiver
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 with 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.
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
You can use the new jump target in the executed query.
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. Upon jumping, the new report type should cause the free characteristic Customer to be 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, see
Using 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 an implementation, refer to
Examples for Web
Addresses as Receiver.