Skip to Content
Author's profile photo Benedict Venmani Felix

Query Validation Using RSRT

Here’s an easy way to validate query results with InfoProvider data.

A lot of time, we would be asked by end-users to validate the query results with the data available in the InfoProvider. This serves the purpose of ensuring that the query has been built as per specifications and also to prove that the data exhibited has undergone all the calculations/restrictions added.

Sometimes when solving issues related to erroneous data, it gets a bit difficult to do all the calculations/restrictions manually. It is even trickier if the said output involves formula variables or ‘constant selection’. Many a times the formula involves the usage of calculated key figures which in turn would involve a restricted key figure or vice versa. This only compounds our efforts to solve the issue.

A conventional way of doing this would be to work out the calculation in the BEx Analyzer output manually.

 

 

 

An easier way of doing it would be to do it through the T-code RSRT. It saves us the effort of doing things manually.

Execute the query that needs to be validated in RSRT with the ‘Query Display’ set to HTML

  

 

In the output displayed right-click on the value that needs to be validated and choose ‘Enhanced Menu’.

  

 

In the ‘Enhanced Menu’ choose ‘Key Figure Definition’

 

 

Each step of the calculation/formula that was executed to arrive at the end result and the result after each step is displayed. All the characteristic filters involved, are also displayed.

  

 

The scenario taken here involves a very simple formula. The actual benefit of using this approach can be appreciated when the result involves more complex transformations in the front-end.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Raki R
      Raki R
      Author's profile photo Raman Korrapati
      Raman Korrapati

      Useful info vasanth. thanks for making...

      Author's profile photo Martin Grob
      Martin Grob

      nice work benedict

      Author's profile photo Benedict Venmani Felix
      Benedict Venmani Felix
      Blog Post Author

      Thank You Martin. Its almost a year since I posted this and it fells good when somebody takes notice:)

      Benedict

      Author's profile photo Prabhith Prabhakaran
      Prabhith Prabhakaran

      Useful one Benedict. thanks for Sharing

      BR

      Prabhith

      Author's profile photo Former Member
      Former Member

      Hi Vasanth,

      Very useful document, the way you presented is really awesome.

      Regards,

      J.Sakthikumar