Identify bex or web query

Is there a system/global variable that identifies if a query has been initiated via bex or web ?
As an example, in Program: WRITEQUERY_NEU there is a local(?) variable for URL that if populated can help identify if query is web initiated. By the time the query comes to execute FM : EXIT_SAPLRRS0_001 the url value is not available. I am sure there must be some variable that holds the URL value.
Thanks
SRao

Used the following fm: 'BDS_GET_GUI_TYPE'
SRao

Similar Messages

  • PDF printing from BEx Web Query

    Hi Experts
    When I try to print (Print Version) a BEx Web query I only get the message "Error while generating PDF". Do I need to set any setting to get this feature to work properly?
    Kind regards
    Erik

    Hi:
    Yes - ADS is one of the standalone engines that should be installed in your technical foundations of the system.  It comes with the upgrade / installation kits. This is documented in the master guide - service.sap.com/instguides.
    Best Regards -
    Ron Silberstein
    SAP

  • Is it possible to provide an BEx Web Query with parameters based on iView?

    Hi SAP Portal experts,
    My knowledge of SAP Portal is limited and I ran into the following problem:
    I have got about 60 BEx Web Queries which should be put into some sort of navigation. Furthermore I would like to intodruce one start page where the user can preselect common bex query variables (e.g. company code) by clicking on a map.
    My approach was to put all query links into a BEx Web Application Template. The template includes a JavaScript storing the userdefined values in a cookie. As soon as the user clicks on a link the cookie values are read from that cookie and a query parameter string is set up like "&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=2100&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0P_COCD" and concatenated with the URL for the BEx Query.
    My colleague wants me to put all this into SAP Portal and to create an iView for each BEx Query. How can I achieve that? I have already had a look at the iView property "parameters passed on to BEx Web Application". If I put my parameter string there, it works fine. However, I would like to replace VARIABLE_INPUT_STRING=2100 and VARIABLE=0P_COCD with the values selected by the user by clicking on the map. So how can I set up a parameter or variable in one iView and read it in another iView with a BEx Web Query???
    Thank you very much in advance
    Martin

    I have thought about this. There are some problems here....
    I cannot use the same proxy to invoke the java callout and then based on the code or handler disable it, since
    1) i would have no way to enable back the proxy again.
    2) Also there is some amount of message loss.
    So i will have to use another proxy to do the same, but in this case
    1) what would be the trigger to this proxy?
    2) And how often do i invoke the java callout to see if the URI is up or not? (wouldnt that affect the performance?)
    I am just wondering why did they give an offline URI option in the business service and no similar option in the proxy service, Any Idea?
    Thanks

  • Creating a secondery Axis in Bex Web query

    Hi All,
    I want to be able to graph my Bex Web query to include a secondary axis.  I can't seem to find a place in Bex Web Settings to tell the system I want a secondary axis, even though the help document  says its possible.
    Please guide me to in this issue
    Thanks..
    Harish

    Hi,
    @Vineet:Thanks for you fast reply.
    I am not able to find the settings option  in the CHART  you have mentioned .
    can any one could guide me in this please.
    Regards,
    Harish

  • Query output using BEX and web analyzer

    Hi all,
    I have an issue while designing a query in query designer.......I have a sales cube in which sales for every month is reflecting .....Now i have to design a query to show month wise sales....
    But for some months if there is no sale record in the sales cube for that particular month like Feb 2006, when i execute the query on this month using BEX or web analyzer , it simply says "No data Found"..............
    I want to show 0(zero) in sales quantity instead of this message.....Please guide me that how can i replace this message with zero value.
    regards
    Hina

    Dear Hina Zakir,
    <b>This is the BI 7 Query designer solution...........</b>
    if u want to disply even if the value is Zero then goto the query properties not the single key figures go to the entire quer property and then click the  Row/columns in that Suppres Zeros in that select Do Not Suppress  + Effect on Tab is there in the Select Row or column or both ................then u can ablet to c the values as Zeros..
    Regards
    venu

  • Query is dispalying different output in BEX and Web

    Hi,
    I am getting the correct output when i am running the standard query 0CQM_PCQMCCSI_Q0001 in the BEX analyzer.I am getting the wrong output if i run the same query through web.
    It is displaying the different key figure and characteristic in the output which is not defined in the query.
    If i copy the same query as Z query and execute it ,it is working fine in both BEX Analyzer and Web.
    Kindly suggest me regarding this.
    Thanks & Regards,
    Sangeetha.A

    Check your dataprovider assignments in your Web Query in your web items check charecteristics assignments

  • Disable link of BEX 3.5 query web template

    Dear All,
    we migrated all BEX queries from 3.5 to 7.x. Since our users use the BEX queries via web template, most of then have the web template links of old 3.5 queries saved as bookmarks in their browser.
    Is there a way to disable this link server side, in order to force the user to update theyr link with the new one of BEX 7.x query web template?
    Thanks

    Hi,
    > You may delete all 3.X bookmarks. The standard 3.X bookmark administration can be found in transaction RUNSCHED.
    All below options mean, that you also cannot use the Broadcaster anymore !
    > You may deactivate service /sap/bw/BEx in SICF. Users will get an ICF error message (Service not found).
    > You may create your own handler on ICF service sap/bw/BEx, providing an appropriate message for users.
    > Your can create your own redirect/logon/error page on this service.
    > Another very drastic option would be to switch off service HTTP(S) in your ICM. In this case, no web applications are available via that service on the system anymore.
    regards,
    Martin

  • Error - opening a web query from my favorite or roles

    I am trying to open a query saved as web query from my favorite folder or user menu. I got error when processing the request. Below is the detailed error.
    Error when processing your request
    What has happened?
    The URL http://p2pr3.ittind.com:8000/sap/bw/BEx was not called due to an error.
    Note
    The following error text was processed in the system DVR : You can only work in client 010
    The error occurred on the application server P2PR3_DVR_00 and in the work process 0 .
    The termination type was: ABORT_MESSAGE_STATE
    The ABAP call stack was:
    Function: RS_MANDT_CHECK of program SAPLRSMANDT
    Form: CLIENT_CHECK of program SAPLRSDG_IOBJ_DB_READ
    Function: RSD_IOBJ_GET_A_THEN_M of program SAPLRSDG_IOBJ_DB_READ
    Function: RSZ_X_COMPONENT_EXIST of program SAPLRZX0
    Form: GET_AUTHORIZATION of program CL_RSRD_UTILITIES_BW_OBJECTS==CP
    Form: SET_ITEM of program CL_RSRD_WWW_ITEM_BROADCASTER==CP
    Form: INIT of program CL_RSR_WWW_ITEM===============CP
    Form: CREATE of program CL_RSR_WWW_ITEM===============CP
    Form: SET_ITEM of program CL_RSR_WWW_PAGE===============CP
    Form: SET_TEMPLATE_ITEMS of program CL_RSR_WWW_ITEM_TEMPLATE======CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DVR in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server P2PR3_DVR_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server P2PR3_DVR_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 035 -u: NKRISHNA -l: E -s: DVR -i: P2PR3_DVR_00 -w: 0 -d: 20081022 -t: 120849 -v: ABORT_MESSAGE_STATE -e: You can only work in client 010
    Any steps to solve this issue will be appreciated and awarded. Thanks

    Hi Experts,
    We are also having the same issue. We are in BI 7 SP 15.
    Is there any way to find the relation between the Bookmark ID and Query name? The favorite link is not working and getting the above error message. We are also not able to identify the query related to this favorite / bookmark link. Is there any table to identify for query and Bookmark?
    Can you experts advise urgently? Advance Thanks.
    Linda.

  • Web query with tabs - more than one table in a tab

    Hi all,
    I'm building a web query using the following code found on SDN:
    <HTML>
    <!-- BW data source object tags -->
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_2"/>
    <param name="QUERY" value="EP_DWM_RIDEF44_LIGNOVA"/>
    <param name="INFOCUBE" value="EPDWMC03"/>
    DATA_PROVIDER: DATAPROVIDER_2
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="EP_DWM_RIDEF44_DESLIG"/>
    <param name="INFOCUBE" value="EPDWMC03"/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_PROPERTIES"/>
    <param name="TEMPLATE_ID" value="ZBWTESTE"/>
    TEMPLATE PROPERTIES
    </object>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
    <!--
    /* function goto_tab: Show all items, starting with tabname, Hide all other items */
    function goto_tab(tabname) {
    SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
    For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
    If Item is visible set Header as selected
    Otherwise set corresponding span-Tag to not visible */
    function set_actual_tab() {
    i=0;
    do {
    i++;
    if (document.getElementById('head_TAB'+i) != null) {
    /* Check if Object tag is hidden */
    var prop = SAPBWGetItemProp('TAB'+i);
    var hidden=true;
    if (prop != null){
    for(j=1;j<prop.length;j++){
    if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
    if (hidden) {
    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
    else {
    document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
    } while (document.getElementById('head_TAB'+i) != null)
    -->
    </script>
    </HEAD>
    <BODY>
    <P> </P>
    <P>
    <TABLE cellSpacing=0 cellPadding=5 border=0>
    <TR>
    <TD vAlign=top><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="CHART_1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
    ITEM: CHART_1
    </object></TD>
    <TD vAlign=top><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="CHART_2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    ITEM: CHART_2
    </object></TD>
    </TR></TABLE></P>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
    <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Tab 1</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Tab 2</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Tab 3</A>
    </td>
    </tr>
    </table>
    <table width="100%" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td valign="top" >
    <span id="TAB1"> 
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="BLOCK_SIZE" value=""/>
    ITEM: TAB1
    </object> 
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB1NAVIGATIONBLOCK_1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    ITEM: TAB1NAVIGATIONBLOCK_1
    </object>
    </span>
    <span id="TAB2" >
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    <param name="BLOCK_SIZE" value=""/>
    ITEM: TAB2
    </object> 
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB2NAVIGATIONBLOCK_2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    ITEM: TAB2NAVIGATIONBLOCK_2
    </object>
    </span>
    <span id="TAB3" > <SPAN id=TAB3><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB3"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    <param name="BLOCK_SIZE" value=""/>
    ITEM: TAB3
    </object><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB3NAVIGATIONBLOCK_3"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    ITEM: TAB3NAVIGATIONBLOCK_3
    </object></SPAN>
    </span>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
    set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>
    This perfectly works with one table and one nav. block per tab. When I include a second table and a second nav. blocks in some tab, it doesn't work properly anymore (the selected tab is not highlighted). I think that I'm not naming the table and nav. block properly:
    ITEM: TAB1
    ITEM: TAB1NAVIGATIONBLOCK_1
    Second table?
    Second nav. block?
    Could someone help me further?
    Thanks, Nippon

    with other words..
    strip1 = 2 tables, name TAB1_0 and TAB1_1
    strip2 = 2 tables, name TAB2_0 and TAB2_1
    Navblock strip1 = 2 navblocks, name TAB1_0_NAV and TAB1_1_NAV
    Navblock strip2 = 2 navblocks, name TAB2_0_NAV and TAB2_1_NAV
    The JavaScript Paramter is TAB1, TAB2 and TAB3. So need every strip-group the same "main"-name.
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Tab 1</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Tab 2</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Tab 3</A>
    First of all JavaScript set all objects to hidden, then set all objects with 'name' visible.
    Regards Sven

  • How to customize the Save as dialog Box for saving Web Query???

    Hello,
       we are usnging SAP NW Portal and BI 7.0 (SP14).
       We have published BI web queries in the Portal and it works just fine, now when the User select the Button "Save As" in the Context Menu of any web query, this will open a new Dialog Box name "Save As Dialog Box", so from this dialog box the user can select where to save the query, he/she have 3 options* to save qureies: My Favorites, Bex Portfolio and MyPortfolio, this also works fine.
      My Quetsion is: How can i customize the View of this "Save As" dialog box, so at the end the User can only select 2 Options:  My Favorites + MyPortfolio. So how to hide the Tab:  Bex Portfolio in the Dialog Box.
    Points for any good answer.
    Many Thanks and Regards,
    Nazih
    Edited by: Nazih Kayyali on Feb 3, 2009 4:04 AM

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How to reduce the number of crossjoin in my webi query

    All,
    I am running some publication base of a webi report
    notes that i have a profile for each of the recipient
    for example in the profile i have a detail objects with:
    recipient 1 can only see 901
    recipient 2 can only see 902
    In my publication I do the filtering on the local personalization
    then I sent the report to all the user concerned using the multi pass option in the advanced part.
    The thing is that for some of the recipient I do reach the limit:
    more than i million cell
    notes it generate around 21 crossjoin in the MDX
    My first question is .. if I follow the best practice:
    and to confirm:
    1 - cut the webi query in 2 queries one for the display attributes and another one for the actual data .. the thing is I do not have much display attributes in my query will that really help ?
    2 - I believe putting a where clause in my MDX will save me some crossjoint .. but in my case I am not sure on how to put a filter that could be after used thru a profile in a publication
    Any idea ?
    thank you
    here is the MDX: you will see the condition on
    [0CUST_SALES__ZC_REPNM].[0000900014]
    SELECT  { [Measures].[4DEE5JCFWBL7C5ESCAY7EYPVO], [Measures].[4DEE7737DGFO7GOHQ55PM8QDG], [Measures].[4DEE7FERWXYBDVR01PP0IDCAS], [Measures].[4DEE7FMGFWK0WIAG7JRCSFB0K], [Measures].[4DEE9N7KWFHEW1SWO20KYS03O], [Measures].[4DEE9NF9FE34EOCCTW2X8TYTG], [Measures].[4DD95OV9NOMZWKDZ1W3LBZ7US], [Measures].[4DD95P2Y6N8PF6XF7Q5XM16KK], [Measures].[4DD95PAMPLUEXTGVDK89W35AC], [Measures].[4DD95PIB8KG4GG0BJEAM65404], [Measures].[4DD95PPZRJ1TZ2JRP8CYG72PW], [Measures].[4DD95PXOAHNJHP37V2FAQ91FO], [Measures].[4DD95Q5CTG990BMO0WHN0B05G], [Measures].[4DD95QD1CEUYIY646QJZACYV8], [Measures].[4DD95QKPVDGO1KPKCKMBKEXL0], [Measures].[4DD95QSEEC2DK790IEONUGWAS] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH2].[LEVEL01].MEMBERS,  { [0CUST_SALES__ZC_REPNM].[0000900014] }  ), [ZC_RGBRND__ZC_INDSUP].[LEVEL01].MEMBERS ), [ZC_RGBRND__ZC_INDMGT].[LEVEL01].MEMBERS ), [0CUST_SALES__ZC_TLSAGT].[LEVEL01].MEMBERS ), [0CUST_SALES__ZC_CHIER5].[LEVEL01].MEMBERS ), [0DISTR_CHAN].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_TLSZCL].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_PRIORT].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_OUTLTP].[LEVEL01].MEMBERS ), [0MATERIAL__ZC_GENMAT].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_KEYACC].[LEVEL01].MEMBERS ), [0SHIP_TO__0CITY].[LEVEL01].MEMBERS ), [ZC_CONTGR].[LEVEL01].MEMBERS ), [ZC_BRND__ZC_BRNDFM].[LEVEL01].MEMBERS ), [ZC_BRND].[LEVEL01].MEMBERS ), [0MATERIAL__ZC_PACKSZ].[LEVEL01].MEMBERS ), [0MATERIAL__ZC_CONCAT].[LEVEL01].MEMBERS ), [0CUST_SALES__0SALES_OFF].[LEVEL01].MEMBERS ), [0SHIP_TO].[LEVEL01].MEMBERS ), [0CUST_SALES__0SALES_GRP].[LEVEL01].MEMBERS ), [0CUST_SALES__0CUST_GRP1].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES [0CUST_SALES__ZC_CHIER5].[20ADDR_NUMBR], [0CUST_SALES__ZC_CHIER5].[20PHONE], [0CUST_SALES__ZC_CHIER5].[20STREET], [0CUST_SALES__ZC_REPNM].[20CUST_SALES__ZC_REPNM], [0MATERIAL__ZC_GENMAT].[1ZC_FORMCO], [0SHIP_TO].[20CITY], [0SHIP_TO].[20PHONE], [0SHIP_TO].[20SHIP_TO], [0SHIP_TO].[20STREET], [ZC_BRND].[1ZC_DOMIMP] ON ROWS FROM [ZIM_WKLY/ZQ_BO_ZIMWKLY_001]
    [ZIM_CRM01/ZQ_BO_ZIMCRM01_0001]

    Hi,
    The recipient in my case are sales rep, they are not part of SAP , they just have a number ( key) to identify them.( we created one user ID for each of the sales rep in BOBJ)
    in the case of our publication it is very easy to setup .. we just have to put the key that identify them within one big profile. and the result would be a condition in our webi report.
    so in short setting up the security in SAP would have been too much work
    Philippe
    Notes that the goal is to broadcast on their PC a wid file, they will open it on their own laptop when facing their customer. notes they would open the wid file in an offline mode

  • Web Query with tabs

    Dear All,
    I am using the following code in a Web query which gives me different queries on the three tabs.
    I found this code on SDN.
    <HTML>
    <!-- BW data source object tags -->
    <HEAD>
    <TITLE>BW Web Application</TITLE>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
    <!--
    /* function goto_tab: Show all items, starting with tabname, Hide all other items */
    function goto_tab(tabname) {
    SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
    For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
    If Item is visible set Header as selected
    Otherwise set corresponding span-Tag to not visible */
    function set_actual_tab() {
    i=0;
    do {
    i++;
    if (document.getElementById('head_TAB'+i) != null) {
    /* Check if Object tag is hidden */
    var prop = SAPBWGetItemProp('TAB'+i);
    var hidden=true;
    if (prop != null){
    for(j=1;j<prop.length;j++){
    if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
    if (hidden) {
    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
    else {
    document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
    } while (document.getElementById('head_TAB'+i) != null)
    -->
    </script>
    </HEAD>
    <BODY>
    <P> </P>
    <P>
    <TABLE cellSpacing=0 cellPadding=5 border=0>
      <TR>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CHART_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             ITEM:            CHART_1
    </object></TD>
    <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CHART_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             ITEM:            CHART_2
    </object></TD>
    </TR></TABLE></P>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
    <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Tab 1</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Tab 2</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Tab 3</A>
    </td>
    </tr>
    </table>
    <table width="100%" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td valign="top" >
    <span id="TAB1"> 
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="BLOCK_SIZE" value=""/>
             ITEM:            TAB1
    </object> 
    </span>
    <span id="TAB2" >
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="BLOCK_SIZE" value=""/>
             ITEM:            TAB2
    </object> 
    </span>
    <span id="TAB3" > <SPAN id=TAB3><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="BLOCK_SIZE" value=""/>
             ITEM:            TAB3
    </object></SPAN>
    </span>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
    set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>
    if I wanted to extend the code to include the navigation block for the 3 queries in all the three tabs.. any ideas how to do that?

    Hi KBWUSER,  I tested this template in a BW 3.5 system, should be worth a try to check whether it works in your 3.1C system:
    <HTML>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_2"/>
             <param name="QUERY" value="EP_DWM_RIDEF44_LIGNOVA"/>
             <param name="INFOCUBE" value="EPDWMC03"/>
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="QUERY" value="EP_DWM_RIDEF44_DESLIG"/>
             <param name="INFOCUBE" value="EPDWMC03"/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZBWTESTE"/>
             TEMPLATE PROPERTIES
    </object>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
    <!--
    /* function goto_tab: Show all items, starting with tabname, Hide all other items */
    function goto_tab(tabname) {
    SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
    For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
    If Item is visible set Header as selected
    Otherwise set corresponding span-Tag to not visible */
    function set_actual_tab() {
    i=0;
    do {
    i++;
    if (document.getElementById('head_TAB'+i) != null) {
    /* Check if Object tag is hidden */
    var prop = SAPBWGetItemProp('TAB'+i);
    var hidden=true;
    if (prop != null){
    for(j=1;j<prop.length;j++){
    if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
    if (hidden) {
    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
    else {
    document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
    } while (document.getElementById('head_TAB'+i) != null)
    -->
    </script>
    </HEAD>
    <BODY>
    <P> </P>
    <P>
    <TABLE cellSpacing=0 cellPadding=5 border=0>
    <TR>
    <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CHART_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             ITEM:            CHART_1
    </object></TD>
    <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CHART_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             ITEM:            CHART_2
    </object></TD>
    </TR></TABLE></P>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
    <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Tab 1</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Tab 2</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Tab 3</A>
    </td>
    </tr>
    </table>
    <table width="100%" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td valign="top" >
    <span id="TAB1"> 
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="BLOCK_SIZE" value=""/>
             ITEM:            TAB1
    </object> 
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB1NAVIGATIONBLOCK_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             ITEM:            TAB1NAVIGATIONBLOCK_1
    </object>
    </span>
    <span id="TAB2" >
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="BLOCK_SIZE" value=""/>
             ITEM:            TAB2
    </object> 
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB2NAVIGATIONBLOCK_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             ITEM:            TAB2NAVIGATIONBLOCK_2
    </object>
    </span>
    <span id="TAB3" > <SPAN id=TAB3><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="BLOCK_SIZE" value=""/>
             ITEM:            TAB3
    </object><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB3NAVIGATIONBLOCK_3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             ITEM:            TAB3NAVIGATIONBLOCK_3
    </object></SPAN>
    </span>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
    set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>

  • Login language missing when opening a web query

    When I am opening a web query, e.g. using the execute button in Query Designer, I am not asked for the login language. Therefore, I am not able to chose the language. Instead, the language "DE" (German) is taken by default.
    I want to execute the query in another language (English). I can do that by adding "language=en" to the URL, but this is not a solution.
    I would like to have the option to enter the language together with the login information (user and password).
    Why is the language selection missing?
    How do I get the language selection?
    In BEx (Excel) I have the language selection field.

    try this suggestion as mentioned in oss websites and help websites
    When you log onto the SAP system, you must select a language. The following describes the process according to which the logon language is determined.
    The browser that is connected to the SAP Web Application Server as a client also has language settings. With Internet Explorer, you can set the language you require by choosing Tools ® Internet Options ® Languages.
    The logon language for the SAP Web Application Server is set according to the following process.
           1.      In transaction SICF, if the service has set the flag Mandatory Logon Data, the system uses the language that was entered there.
           2.      If this is not the case, but the HTTP request contains the language in the HTTP header (as a header or a form field), you log onto the system using this language.
           3.      The system then takes the browser settings. The system selects as the logon language the first language from the list that is maintained in the browser, and which is also installed in the SAP system.
    These are transferred using the HTTP header field accept-language.
           4.      If no language is defined by this process, the classic SAP system mechanisms are used. The logon language is based on the user settings (in transaction SU01) and if nothing is entered here, the default language of the SAP system is used automatically.

  • How best to address WEBI query buffer issue

    Hello folks,
    I understand that upon executing the WEBI query from the hyperlink, the data is displayed from the buffer with variable values derived from the last saved version of this query.  Can this be overridden so the data is fetched from the database first time around instead? I should mention that:
    1. the users would not like to see the selection screen upon this initial execution and so the refresh upon execution was ruled out as it would present the users with this selection screen. The users would still like to change this value and they can change this via Refresh button upon which the selection screen will show up, so no issues here.
    2. the variable is being defined at the query level and not coming via the BEx query, in which case the customer exit may have been used.
    Any suggestions/thoughts are welcome. Thanks for looking.
    Cheers.

    Hi,
    I understand that upon executing the WEBI query from the hyperlink, the data is displayed from the buffer with variable values derived from the last saved version of this query. Can this be overridden so the data is fetched from the database first time around instead? I should mention that:
    >>> When you save a Web Intelligence report to the BusinessObjects Enterprise server you can configure that the report is "refreshed on open" every time.
    1. the users would not like to see the selection screen upon this initial execution and so the refresh upon execution was ruled out as it would present the users with this selection screen. The users would still like to change this value and they can change this via Refresh button upon which the selection screen will show up, so no issues here.
    >> The user would see a screen unless you call the report with values for the prompts.
    2. the variable is being defined at the query level and not coming via the BEx query, in which case the customer exit may have been used.
    >>> Here you say in the first part it is defined on the query level but then you say it does not come via the query. Which one is it ?
    Ingo

  • Change Web Query

    I created a web query by using the BEx and clicking on publish to Web. We then placed this link in the browser.
    My question is this.
    We want to remove the 3 tabs displayed. "Graphical Display", "Information" and "Information Broadcasting" from the web display.
    Can someone suggest what I need to do to accomplish this.
    Will reward points.
    Thanks
    Richard

    Bhanu,
    Are you sure that will work. In my test system I did the following.
    Created a web query from within the BEX tool by saying run over the web. Then saved the link in the Bex Browser.
    Next created a new web template that removed the tabs and made it the standard template. Then re-ran that link I had saved in the browser and it picked up the new template without the tabs?
    I guess I'm not sure what you mean by "publish the reqd queries" . Am i missing a step here ?
    Thanks

Maybe you are looking for

  • Capturing Video to my final cut pro with lines showing up on the screen

    I am capturing video to my computer using final cut pro and it looks like blinds on the screen. Two separate videos showing up in alternating lines. How can I fix it. thanks randall

  • When I try to send a Safari web page via Mail, Mail locks up!

    No matter how I try to Email a Safari web page (using the share arrow icon or the mail icon or the File menu), Mail locks up.  Then I have to Force Quit Mail and send the report to Apple.  There must be a bug somewhere, but I can't figure out where! 

  • Contract Generation question: Formatting, Numbering of clauses, variables

    Hi! I am trying to create a Contract Document Template (for Contract Generation) with Variables I created some Variable Collections, but when I link them to the Contract Template, they add on with a different formatting altogether, which is neither l

  • Book files stored in Creative Cloud not syncing

    Hi everyone! We are working on a project that is stored in Creative Cloud to take advantage of collaborative workflow. Everything is working fine so far. I've just created a book and added a few files so that I can sync styles, master pages, etc. Thi

  • HR ABAP : Problem fiinding delegate List.

    Hi all, I have problem to findout the employee list who is applied for Training provided by organization. in this report i have to find out 1.Report title (Like trianing for HR ABAP or SAP Script ) 2.Course Venue (Address of course venue) 3.Tutor (wh