Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Active Participant
Hi, in this post I would like to share step-by-step description of creation RRI from ABAP CDS Analytical query to Fiori Application with parameter transfering.

In this scenario Analytical query is opened in Analysis for Excel and user is able to jump to Fiori Application due to analyse or edit data based on specific documents.

Settings of RRI is made with RSBBS t-code. For more information see documentation "How to work with RRI"

Note that:

  • In simple cases it is enough to use standard RRI target with URL type.

  • In more difficult cases BADI RS_BBS_BADI is useful solution. For more information see documentation. Considered in this post.


1.Go to SE19 and create implementation for BADI RS_BBS_BADI.

2. Write in method IF_EX_RS_BBS_BADI~GET_TYPES following code. Specify name of ABAP class where logic will be realized.

3. Create ABAP class and specify the interface IF_RS_BBS_BADI_HANDLER. See documentation.

4. Create method CLASS_CONSTRUCTOR.

We need to call only URL that's why setting are following.

In RSBBS there are new target:

5. Fill method GET_TARGETS.

Note that objnm is visible in RSBBS and txtlg in Analysis for Excel.

By the way there were all setting in RSBBS t-code. All logic and mapping should be defined in method CALL_URL.

6. Fill method CALL_URL:

Specific logic is not really important, just understand:

  • Use table i_thx_mapping to get values of needed query fields.

  • Use RSRT with technical names option to get correct query field names.

  • Realize logic and fill r_url returning parameter, this is target link.

  • Use i_onam to split logic (if needed) for different Receiver Objects (previous point 5 in the post).

  • In our case Frond-end Fiori Server link was saved in table in Back-end system TVARVC. It is useful thing for DEV-QA-PROD landscape reasons.

  • In our case RRI is working if DOC_GUID "Document GUID" field or SYS_NUM "Document number" field  is in drill-down of Analytical Query. If not - another URL link was used.

7. Open ABAP CDS query in Analysis for Excel and check result.

Needed Fiori Application was opened by URL and Document GUID parameter was transferred correctly.


Thank you for attention!