Skip to Content
Author's profile photo Himanshu Sarawagi

Local Web App to execute BEx query (All environment)

Hey All,

Generally any business/Client has 3 or more SAP BW environment in their landscape.


  1. Development -> Quality -> Production
  2. Development -> Integration -> Quality -> Production


Problem Statement : To check some requirement or do some testing or identify an issue/bug, we might need to execute multiple queries in all the system available in landscape.

For the same, we need to either login to BW system and use T-Code RSRT or login to BEx Designer to execute or use the individual portal.

To overcome this, a simple web app can be created using HTML/JavaScript.

Prerequisite : Execute any query in all the environment using BEx designer and note down the initial URL. It should follow the below pattern:

  • APPLICATION_SERVER= This will be the Server URL for your system.
  • BEx_Technical = Your BEx Technical Name.

Lets build the HTML page or Web-App.

  1. Copy the below code and paste in a Notepad and save as “xyz.htm”.
  2. Now insert your development application server’s path as noted from above section.

Now its ready to use for development environment.

You can add otherĀ environments as per your landscape.

  1. Copy function myDev() to myProd() and so on.
  2. Add more button for new functions .i.e myProd() etc.
<!DOCTYPE html>


function myDev() {

var url=document.getElementById("querytext").value;

var appended1="https://INSERT_DEVELOPMENT_APPLICATION_SERVER/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!!2fplatform_add_ons!!2fiViews!".concat(url);

var appended = appended1.concat("&VARIABLE_SCREEN=X&DUMMY=1");;



<form >
  Type the BEx Query technical name to open : &nbsp;&nbsp;
  <input id="querytext" type="text" size="35">

  <button onclick="myDev()"> Dev : B3B </button> 





Himanshu Sarawagi


Assigned tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Very beneficial put up. Really impressed with this contribution. I read this whole content and going to share it with my friends. I hope accessing such a beneficial content is little bit difficult. And also I would like to share one more information to the readers. If you feel any difficulty with your academic task, you can feel free to approach reviews of essay writing service, I also got many useful services from it. Thank you.