Insert query in BEx 7.0?

In BEx 3.5 there is a menu item to "Insert Query" into an excel workbook tab.  How do we do that in 7.0?
Thanks,

Hi Geoff,
   You can achive this in BEX ANalyzer 7.0 . Please follow below steps.
1. Open your query in Bex anlayzer.
2. In the tool bar , there is a button Design Mode. Once you click on that it would open in design  mode.
3. Goto Worksheet 2 or you can insert in same worksheet as well. select a Cell and in the toolbar you can find Analysis Grid Button. Insert Analysis grid into that cell.
4. Right click on analysis grid and assign Query to that.
In this way you can embed multiple queries.
Let me know if you have any questions.
Regards
Suvarna

Similar Messages

  • Tools - Insert Query

    I am trying to create a work book with 2 queries..help me accomplish this.
    Executed first query
    Save Work Book As - ZWB
    Insert Sheet
    Open Second Query
    Execute it
    When I try to save workbook as it says " Overrite first query ..."
    I am not able to find Insert Query in Bex Analyzer- Tools -

    Execute the Query 1.
    SAve the Workbook.
    in the SHeet 2
    go to Tools  Insert query.
    it will open the screen to select the query which you want, and save as existing workbook.
    hope this helps
    Thanks

  • Insert query in a workbook -BEx 7.0

    I have a workbook with one query in it, and I would like to insert one more query in a seperate worksheet. In BEx 3.x I did it simple with the command "Insert Query", but here I cannot find a command that insert the query with the data area and filters and Information etc.
    Thanks

    Hi shmuel cooper,
    The only way I know is to use the new toolbar from BI 7 analyser called the design toolbar.
    With that you have to insert a table, a filter area, information, and assign it all to a DP_X (DataProvider - meaning query) one by one.
    Diogo.

  • How can I insert Query in a Workbook

    Hi,
    I am new in BI 7.0. I am trying to insert a query in a workbook. but the tools button is not giving me the option to insert query like 3.X
    How can i insert query in 7.0
    Can anybody please give me the step by step instruction.
    Thanks in Advance

    1. Open BEx ANalyzer.
    2. Create new excel workbook by hitting the "New" icon in Excel.
    3. Logon to a backend BI system.
    4. Click the design mode icon.
    5. Put your mouse on a cell and insert a table.
    6. Assign a dataprovider to this table.
    7. Switch off design mode.
    Hope it Helps
    Chetan
    @CP..

  • Tools | Insert Query no longer supported with SAPBEX 7.0 ?

    Hi
    With SAPBEX for BW 3.5 we could use Tools | Insert Query ... in individual worksheets and then save this as a workbook. 
    Now for BW 7.0, the SAPBEX does not seem to be able to do this and the end-user must "paint" the query by inserting a navigation area, filter block and results area into the sheet and then bind these objects to an infoprovider.
    My users will struggle with this new method - has the Insert function been removed or is it hiding somewhere ?
    regards
    Ian MacLaren

    Hi,
    it's very borring to re-design a query for each sheet...
    So there is an helpful option :
    1) Open Bex Analyser
    2) Open your query
    3) DIsplay the Navigation pane (thanks to the button filter)
    4) In the navigation pane, right click on a caracteristic that is not display in your analysis grid yet
    5) choose the last option "Drill <name of the caracteristic> Across Sheets"
    6) It will duplicate the query for each value of the caracteristic, in a individual sheet for each value.
    (so... choose a caracteristic with less than 10 values)
    7) now you've got several sheets but no data.
    8) Refresh the workbook
    Now, you've got a workbook with several sheet with the same design.
    You just have to go in conception mode and change the dataprovider of the different object into each sheet.
    N.B : The button chart, filter, information doesn't work for news sheet...
    you will have to develop VBA macro or just use Excel function : Data > Group and Outline > Group... in order to hide and unhide lines and column quickly.
    Hope it's help
    Don't forget point.

  • Performance issues with respect scheme registration,select & insert query

    I am facing performance issues with respect to schema registration,Select & insert query towards 10.2.0.3 version.It is taking around 45 minutes to register schema and it is taking around 5 min to insert a single document into xml db where as it was taking less than min to insert a single document into xml db of 9.2.0.6 version.Would like to know the issue and solution to resolve this issue.Please help me out on this as it is very urgent for me

    Since it appears that this is an XML DB specific question, you're probably better off posting in the XML DB. The folks over there have much more experience with the ins and outs of that particular product.
    Justin

  • How can I enter the data from the recordset into your insert query

    Hi
    i would like to know how I can enter the data from the recordset into your insert query without using a  hidden field.
    thanks
    ------------------------------------------------------------------------------------Below is the code------------------------------------------------------------------------------------- -----
    <?php require_once('../../Connections/ezzyConn.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
       $theValue = function_exists("mysql_real_escape_string") ?  mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmpostComment")) {
       $insertSQL = sprintf("INSERT INTO comments (com_topic, com_user, title,  com_content, com_date, online_id) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['com_topic'], "int"),
                           GetSQLValueString($_POST['commentby'], "int"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['com_content'], "text"),
                           GetSQLValueString($_POST['com_date'], "text"),
                           GetSQLValueString($_POST['online_id'], "int"));
      mysql_select_db($database_ezzyConn, $ezzyConn);
      $Result1 = mysql_query($insertSQL, $ezzyConn) or die(mysql_error());
      $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    $colname_rsCommentby = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsCommentby = $_SESSION['MM_Username'];
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsTopics = "SELECT topic_id, topic FROM topics ORDER BY topic_date DESC";
    $rsTopics = mysql_query($query_rsTopics, $ezzyConn) or die(mysql_error());
    $row_rsTopics = mysql_fetch_assoc($rsTopics);
    $totalRows_rsTopics = mysql_num_rows($rsTopics);
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsOnline = "SELECT online_id, `online` FROM `online` ORDER BY online_id DESC";
    $rsOnline = mysql_query($query_rsOnline, $ezzyConn) or die(mysql_error());
    $row_rsOnline = mysql_fetch_assoc($rsOnline);
    $totalRows_rsOnline = mysql_num_rows($rsOnline);
    $colname_rsCommentby = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsCommentby = $_SESSION['MM_Username'];
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsCommentby  = sprintf("SELECT user_id, username FROM users WHERE username = %s",  GetSQLValueString($colname_rsCommentby, "text"));
    $rsCommentby = mysql_query($query_rsCommentby, $ezzyConn) or die(mysql_error());
    $row_rsCommentby = mysql_fetch_assoc($rsCommentby);
    $totalRows_rsCommentby = mysql_num_rows($rsCommentby);
    ?>
    <?php include("../includes/access.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>ezzybay - easy click, ezzy shopping</title>
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/navigation.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <?php include("../includes/top.php"); ?>
      <div id="content">
      <div id="pageTitle">
        <h2>CMS Section:</h2>
        <p>Comment Topics Page</p>
      </div>
      <?php include("../includes/leftnav.php"); ?>
        <div id="mainContent">
          <form action="<?php echo $editFormAction; ?>" method="post" name="frmpostComment" id="frmpostComment">
            <table align="center">
            <caption>Post Comment</caption>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Topic:</td>
                <td><select name="com_topic" class="listbox" id="com_topic">
                  <?php
    do { 
    ?>
                   <option value="<?php echo  $row_rsTopics['topic_id']?>"><?php echo  $row_rsTopics['topic']?></option>
                  <?php
    } while ($row_rsTopics = mysql_fetch_assoc($rsTopics));
      $rows = mysql_num_rows($rsTopics);
      if($rows > 0) {
          mysql_data_seek($rsTopics, 0);
          $row_rsTopics = mysql_fetch_assoc($rsTopics);
    ?>
                </select></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Title:</td>
                <td><input name="title" type="text" class="textfield" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right" valign="top">Comment:</td>
                <td><textarea name="com_content" cols="50" rows="5" class="textarea"></textarea></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Status:</td>
                <td><select name="online_id" class="smalllistbox">
                  <?php
    do { 
    ?>
                   <option value="<?php echo $row_rsOnline['online_id']?>"  <?php if (!(strcmp($row_rsOnline['online_id'], 2))) {echo  "SELECTED";} ?>><?php echo  $row_rsOnline['online']?></option>
                  <?php
    } while ($row_rsOnline = mysql_fetch_assoc($rsOnline));
    ?>
                </select></td>
              </tr>
              <tr> </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td><input type="submit" class="button" value="Insert record" /></td>
              </tr>
            </table>
            <input name="commentby" type="hidden" id="commentby" value="<?php echo $row_rsCommentby['user_id']; ?>" />
            <input type="hidden" name="com_date" value="<?php echo date("d/m/y : H:i:s", time()) ?>" />
            <input type="hidden" name="MM_insert" value="frmpostComment" />
          </form>
        </div>
      </div>
    <?php include("../includes/footer.php"); ?>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($rsTopics);
    mysql_free_result($rsOnline);
    mysql_free_result($rsCommentby);
    ?>

    I'll keep it simple and only use the date as an example. Hopefully you get the concept from the example. Basically you create a recordset and insert the recordset value instead of the POST value into your insert query. In the example below I declared a variable for $the_date and entered the variable into the INSERT query instead of the hidden POST field.
    <?php require_once('../../Connections/ezzyConn.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
       $theValue = function_exists("mysql_real_escape_string") ?  mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $the_date = date("d/m/y : H:i:s", time());
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmpostComment")) {
       $insertSQL = sprintf("INSERT INTO comments (com_topic, com_user, title,  com_content, com_date, online_id) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['com_topic'], "int"),
                           GetSQLValueString($_POST['commentby'], "int"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['com_content'], "text"),
                           GetSQLValueString($the_date, "text"),
                           GetSQLValueString($_POST['online_id'], "int"));
      mysql_select_db($database_ezzyConn, $ezzyConn);
      $Result1 = mysql_query($insertSQL, $ezzyConn) or die(mysql_error());
      $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>

  • Problem in opening a query in BEX analyzer..

    i am using front end sap gui 7.20 with patch 9..
    my issue is that when i tried to open a query in bex analayzer. i get following error stating that
    you donot have suffiecent authorizations for the infoprovider XXXXXX
    function module /SDF/AL_MAP_TRANSID_LOGH does not exist
    and i tried to open a query from bex query designer ..i am not able execute it
    and i get strange error while executing tcode rrmx..the status error states that microsoft excel is not installed, install microsoft excel viewer
    after installing microsoft excel viewer also..i get the same error...
    pls suggest asap guys

    Hi Satish,
    You can ask yur tech support team to install sap gui and in specify them to tick "SAP BW add ons".
    also Enable the macros for the analyser.
    Regards
    Rahul

  • Error in running query in Bex Analyzer

    Hi All,
    I faced some problem in running the query in Bex Analyzer, when I run
    the query in the Bex Analyzer, there are error messages indicates that
    the query is fail to load. Before that all the query can be run without any problem.
    The details for one of the error msg are as follows:
    <b>Diagnosis
    Variable 0P_MATBK has the processing type "Manual Input/Default Value".
    However, it is not input ready, and no default value has been specified.
    System Response
    Procedure
    Make the variable input ready or specify a default value.
    Procedure for System Administration</b>
    Any1 can help? Thanks.

    Take a look at this link...
    http://help.sap.com/saphelp_nw04/helpdata/en/55/589b3c494d8e15e10000000a114084/content.htm
    For the variable wizard...
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    To make it Ready for Input...
    In the variable properties window, Check "Ready for Input".
    Message was edited by:
            Jerome

  • BW Server Error when running Query in BEx Analyzer

    Hi All,
    We are currently trying to run a custom Consolidation query in Bex Analyzer but coming across this error below.
    We are on BI 7.0 (SAP NetWeaver 2004s), BEx Analyzer 2004s Release, Support Pack 9, Patch 4, Revision 372.
    This error message is only occuring for certain custom consolidation queries and not all and does not occur for standard queries.
    Does anyone have any advice?
    Cheers,
    Wiki
    <b>ERROR MESSAGE</b>
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program CL_RSR_RRK0_SELECTION and form COLLECT_CHAFIX-02-(see long...)
    Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.

    Hi Wiki,
    I am running into this error also. You marked the question as answered, did you apply the notes or did you find any alternate solutions?
    Thanks,
    Vedant

  • Getting below error while opening query in bex  3.5x

    Dear Guru's
    I am getting below error while opening query in bex  3.5x
    The following object were not found when accesing the server .
    Press repair to correct the problem (included parts of query deleted) press cancel to undo the last action.
    Regards
    Karan

    Hi,
    1) When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    2) so create an authorization object for each of these attributes with * (full authorization)
    Regards,
    Marasa.

  • RFC_ERROR_COMMUNICATION error while opening the query in BEx

    I am able to open the query through rsrt tcode. But If I try opening the query or create a new query from BEx analyser, I get the
    below error.Please help.
    Error Group
    RFC_ERROR_COMMUNICATION
    Message
    SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
    Connect_PM  GWHOST=/H/sapgate1.wdf.sap.corp/S/3299/H/iwdf1081, GWSERV=sapgw00, SYSNR=00
    LOCATION    SapRouter on sapgate1
    ERROR       sapgate1: route permission denied (172.16.25.105 to iwdf1081,
                3300)
    TIME        Tue Sep  8 12:46:54 2009
    RELEASE     46D
    COMPONENT   NI (network interface)
    VERSION     34
    RC          -94
    COUNTER     134420

    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417700)ID0639339950DB00540967214800578770End?rid=/library/uuid/4e515a43-0e01-0010-2da1-9bcc452c280b&overridelayout=true
    please go through the PDF doc. it would be more helpful to you.

  • Error Message while opening workbook or Query in BEx Analyzer

    Hi all,
    Whenever I try to open any workbook or query using Bex Analyzer I get an error message saying "Serious error occured while reading history folder" Message class RSOBJS, number 170. But this doesnt stop me from opening the workbook or the query.
    Kindly help me to suppress or eliminate this message. I am not able to find this message in the list of messages available in RSRT either.
    Thanks and Regards
    Mui Kanva

    Hi Mui Kanva,
    Does your problem occur in a copied system?
    I have same problem in our Quality-BW (copied from productive system). WE are in our QBW not able to activate personalization correct and get the same error messages. I suggest the reason in the fact, that the source-system Myself (QBW) does not work correct. This reason causes that export data sources could not be activated via RFC-Connection.
    Please check to activate your source system?
    We accept the error messages in our QBW and did not activate the RFC connection.
    Regards
    Andreas

  • Saving a query in Bex Portfolio

    Hi all,
    I am new to this portal thing, But i need some advice from you.
    I am running a query from BW(writing a query in query designer and execute on web)which publishes it on portal. When i see the query, i see i save as button at the top and so i went there and i saw that i can save the query to bex portfolio ( which actually is my primary aim to get the query in left navigation panel of the page of BI or Bex). When i try to save under the Bex Portfolio its aske me for description so I put in some logical name and hit ok. But then it gives me two errors
    "the technical name must be between 0-30 chars and 1-9 numbers" which I have it in the same format
    "no valid element selected".
    I am not getting what does it mean by valid element not selected.?
    Can some one help me how can i save the query in BEX portfolio.
    If any one has a related document which helps with issues about this whole query execution on portal I will highly appreciate it.
    My email [email protected]
    Thanks a lot in advance,

    Hello Kris,
    I have the same problem as you and I didn't find any OSS note for that.
    It seems that it depends in the user. If your user id contains a decimal point at the second position, you have the problem. If not it seems to be ok.
    As we have many users with a decimal point at the second position, I have to find a solution. Thanks to give me your solution if you have one.
    Vanessa Roulier
    [email protected]

  • Checking the status of the insert query in JSP

    frendz,
    i am working with JSP .i have some content to be inserted in the database.i have used the insert query in SQL for that.i am able to check whether it has been inserted properly in the SQL but i want to check the status of the insert query with its return value(so that i can confirm it does not return a error).so please help.

    The Statement#executeUpdate() returns an int with the row count. Get hold of it.
    Also see the Statement API: http://java.sun.com/javase/6/docs/api/java/sql/Statement.html
    Apart from this, I recommend you to use PreparedStatement instead. It will not only ease setting Java objects in a query (no hassle anymore with quotes), but it will also prevent you from SQL injections.
    Prepare here: http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
    SQL injections: http://en.wikipedia.org/wiki/SQL_injection

Maybe you are looking for

  • No Disk meet the criteria for Solaris installation

    Hi all, I have a problem when trying to install Solaris 8 (Intel) on my PC. There are some funny things happened while installing the OS. 1.) My motherboard does not support booting from CD-ROM, so I downloaded a Device Assistant Boot Disk to boot it

  • Mail doesn't pass on geolocation

    Lion Mail doesn't pass on geolocation information from images. If I send myself a geolocated image from my iPhone, view it in Lion Mail, and then either right click and send to iPhoto or choose to save to iPhoto that the geolocation information doesn

  • Adding a field to Standard table through Structure

    Hi everybody, I need to add a field to standard table, I am using one append structure in that i am adding my field , But whenever I am activating the structure, I am not able to activate, It is getting as "PARTLY/ACTIVE" status for structure, so ple

  • Unable to watch movies in iTunes 9 - freezes on start

    I received some iTunes gift cards for Christmas, so I downloaded and installed iTunes. After redeeming a gift card, I purchased and downloaded a movie. When I click on the movie the player comes up, but then nothing else happens -- the timer never ad

  • IOS text performance,slow at first run

    Hi, (iPod4 / GPU rendering) I have a dynamic textField  (non-TLF) with numbers which  increment +1 on each ENTER_FRAME...like a fast counter. For example  'tally' the score at the end of a game level, quickly counting up the scores. My issue: It ofte