Skip to Content

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.

Step-by-step:

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!

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply