Queries in Web Application Designer.

Hi All,
The requirement is simple but it seems i'm missing something somewhere.
Requirement : I've 2 queries (Q1, Q2) in the report template. the variables of 2nd qry (Q2) need to be populated based upon the vars of Q1 (in customer exit)
Problem : In customer exit (step 3), i always receive Q2 followed by Q1. No matter whether i put the order as
Q1, Q2  or Q2, Q1.
My understanding was the order is defined by the way the queries are put in the template.  How do i make Q1 come before Q2 in the exit.
Regards,
Nagendra.

Hi Nagendra,
The order in which you put the queries in the web template has got nothing to do with the order in which the queries appear in the customer exit.
Infact I do not get what you mean when you say you are getting "Q2 followed by Q1 in the customer exit"?
I am assuming that Q1 has ready for input variables - so just write the code for the Q2 variables under I_STEP = 2 and do not make these variables ready for input but do make them mandatory - this should serve the purpose.
I think this information would help:
<i>The customer exit for variables is called three times maximally. These three steps are called I_STEP.
The first step (I_STEP = 1) is before the processing of the variable pop-up and gets called for every variable of the processing type “customer exit”. You can use this step to fill your variable with default values.
The second step (I_STEP = 2) is called after the processing of the variable pop-up. This step is called only for those variables that are not marked as “ready for input” and are set to “mandatory variable entry”.
The third step (I_STEP = 3) is called after all variable processing and gets called only once and not per variable. Here you can validate the user entries. Please note that you cannot overwrite the user input values into a variable with this customer exit. You can only derive values for other variables or validate the user entries.</i>
Hope it helps,
Regards,
Nikhil

Similar Messages

  • How to combine two queries using Web application Designer

    Hello experts...
    This should be a simple request.
    I have two existing queries that I simply want to display on the same template. What is the best way to do this?
    To add more complexity to it, if there is a result value that I want to pull from each of them, how can this be done so that I can add the results of the two into one total?
    Any help that you can provide is greatly appreciated. Thanks

    Hi,
    Displaying the existing queries on the same template is very simple... Drag and drop to web items... for ex we will drag and drop two analysis web item...
    Create 2 data providers and assign it to the web items... each dataprovider is in turn assigned to two existing queries...
    I am not sure about the result value to be pulled from each of them...
    Regards,
    Kishore

  • Web Application Designer - Concatenate two queries

    Hi All,
    we using BI 7.0 SAP GUI 6.40 Support Package 14.
    I created two Queries one with characteristics within hierarchy(1) and one for the result (2).
    I put the first one in filter pane item (1) and the analysis item for the second (2).
    If I executing the query I see a drop down menü for the first query (1) and the complete report on the second query(2).
    So, when I choose a characteristics from the drop down(2) there don`t changed the data at the second query(2) (result).
    How can I concatenate 2 Queries in Web Application Designer?
    Please give me a step-by-step solution.
    Thanks in advance.
    Regards, Wolfgang

    Basically you have one query in your dropdown box and when you select one from the dropdown box you want to affect the second query. If that is the objective, then you can do that only in one query, attach the field you need in the dropdown box and create view for the table (analysis Item) and attach the view to the item. Make sure in the first dropdown box, check on the affected area which is going to be the table (analysis Item).
    thanks.
    Wond

  • Web Application Designer: Column width on analysis_item with BW 7.0

    Hi,
    I'm new to SAP world and I have found a problem I'm not able to solve. I'm working with the Web Application Designer and I want to modify the cell properties (such as cell width) for aligning different queries. In fact, my question are:
    <b>
    1. Is it possible to hard-code/specify column widths of the analysis_item?
    2. The property width of the analysis_item doesn't work, does it?
    </b>
    Thanks for your time and efforts.
    Message was edited by:
            Daniel Rubio

    Hi,
    I have just discovered the capability of modifying columns widths with css properties.
    So if I add to the head section of the html:
    div.prueba2 .urSTTDBdr1
    div.prueba2 .urSTTDBdr
    div.prueba2 .urSTTDBdr2
    And later I put the AnalysisItem between a div class="prueba2" and /div, the columns widths are changed.
    Do you know where can I find all the style properties (such as urSTTDBdr1) and its functions?
    Thanks

  • Security for creating web templates using web application designer

    I work for ChevronTexaco as a BW Security Analyst. I have a request to set up roles for web template creation using the Web Application Designer. Where can I get help in setting up the security for these types of roles? My experience is in setting up roles for running and creating queries in BEX. I need to know what additional authorizations will enable web template creation. Setting up a trace in ST01 has been less than helpful since it dumps out tons of RS_COMP tracing that doesn't help me much.
    The user wants to be able to create web templates for existing queries in BEX and restrict by rs_comp infocubes/areas/reportid, etc. and to be able to save to restricted role names. Are there new auth groups specific to this type of activity that I need to code for in addition to the basic end user or report builder authorizations?
    Any help would be greatly appreciated.
    Jeff Ehritt
    925 827-6012
    ChevronTexaco

    Thanks Marc, I'll check it out. My problem was that I was trying to create the role by granting a userid sap_all, sap_new and s.a_system as well as power user auths for a specific application. I set up a trace in ST01 for authorization cking on the ID while one of our BW Central Support people went into Web Designer to create a template and everything else they wanted to do.
    The resulting trace spewed out so much stuff from S_RS_comp and comp1 as to be virtually useless since it named scores of different cubes and infoareas that the analyst wasn't even interested in. The results puzzled me and made it extremely difficult to pin down the required authorizations. Usually ST01 can be used as a blueprint to create the role,ie; everything that the user touches is traced but no more than that. Have you seen this before? With just the new role I had set up the user could not save to a role unless I coded the fully qualified role name such as YRH_SENDAT_USER. YRH* would not work.
    Thanks,
    Jeff Ehritt
    ERP COE SAP BW Security

  • Security For BW Web Application Designer

    I work for ChevronTexaco as a BW Security Analyst. I have a request to set up roles for web template creation using the Web Application Designer. Where can I get help in setting up the security for these types of roles? My experience is in setting up roles for running and creating queries in BEX. I need to know what additional authorizations will enable web template creation. Setting up a trace in ST01 has been less than helpful since it dumps out tons of RS_COMP tracing that doesn't help me much.
    The user wants to be able to create web templates for existing queries in BEX and restrict by rs_comp infocubes/areas/reportid, etc. and to be able to save to restricted role names. Are there new auth groups specific to this type of activity that I need to code for in adition to the basic end user or report builder authorizations?
    Any help would be greatly appreciated.
    Jeff Ehritt
    925 827-6012
    ChevronTexaco

    Hi Jeff,
    there are no special authorization objects for Web Templates. RS_COMP will still only work for queries, structures.... Saving to roles requires certain authorizations for the role (s_agr_*), here you can define the roles you can save templates to.
    Regards, Klaus

  • Change Layout Web Application Designer

    Hello Gururs.
    Here's the question:
    I'm creating a Web Application Designer Template. When I execute it in the web, the variable screen has certain colors (kind of blue colors) the standard, but after inputing the variables when I click on Ok button, the display of the query is very mediocre, i.e., the standard, is representing the query in a table with the columns and rows in gray!
    I would like to change these colors, but I don't know how.
    I believe that in older versions you used to have an option in WAD of choosing the stylesheet (CSS), that now in the 7.0 version is unavailable.
    How can I change the layout presentation of the queries format in the WAD?
    Thank You,
    Diogo Ferreira.

    Hi Diogo,
    The table colors are from the EP settings.
    I often insert a line like this in the head of the template:
    <style type="text/css" >.urSTSHL2 { background-color:#CCDAF6 } .urSTSHL1 { background-color:#CCDAF6 }</style>
    It will overrule the standard CSS from the EP and it also works with IP queries.
    The alternative is to change the overall setting or change theme in the EP.
    Hope this helps.
    BR
    Stefan

  • Role Menu (Web Application Designer)

    Hi,
    In the new Web Application Designer (2004s) the "role menu" item doesn't exist anymore.
    I heard that there is a "portal" with the 2004s and the user must access their queries through this portal.
    How does it work ? I still publish queries in role and then the portal could see the role ?
    Somebody has documentation on that ?
    Thanks in advance
    Aleksi

    Hi,
    There is a menu point "Publish" under "Web Template" menu. You should find the functions there:
    - In role
    - to portal
    - BEx Broadcaster
    Regards, Karol Kalisz
    SAP BI Development

  • Web Reporting Authorizations for Web Application Designer

    Hi,
    any information on authorizations in context with the Web Application Designer would be appreciated. I know the data access is regulated the normal class RS and RSR authorization objects. Any way to secure and regulate access to the Web items in the WAD?
    thanks,
    Michael

    Hi Michael,
    Security settings are the standard ones (RS/RSR) as you mention plus limiting access to Web templates using roles.
    I do not know any mean to limit access at the web item level; you can define security restrictions on the underlying queries though.
    Best regards,
    LauQ

  • Web Application Designer need help ASAP

    Hi All,
    I have a requirement to customize the analysis item in a web application designer.
    I have created new templetes and added a analysis with a query view as data provider .
    in the output I require to hide some rows of the query view and also change the color of the text i.e the numbers.
    How to modify the output of the analysis item which is coming from a query view or is there any way where I can modify the output of the web templete.
    Thanking You,
    Rukmini

    Dear Devi,
    If you do not want to use the default display and behavior of the Analysis Web item, you can use the Modification parameter to change them. You can modify the table structure and the table cells.
    The Modification parameter provides modules whose use can be controlled using additional parameters.
    This function enables you to use similar options to those available in earlier releases with the Web Design API for Tables. Unlike the Web Design API for Tables, modifications enable you to make targeted changes to the display and behavior without any programming.
    Prerequisites
    The modules are the main prerequisites for making modifications to the Analysis Web item. The modules are implemented in Java. The SAP Basis infrastructure in SAP NetWeaver 7.0 does not support any customer modifications or extensions to Java coding. Customers are therefore not able to develop their own modules for modifications to the Analysis Web item.
    SAP delivers a number of sample modules. You can use parameters to modify the display and behavior of these modules.
    Procedure
    You use the modules as follows:
           1.      Select a module from the sample modules.
           2.      Specify the module in the Modification parameter of the Analysis Web item.
           3.      Control the display and behavior of the module by specifying the module-specific parameters.
    Result
    The table of the Analysis Web item is displayed in an individual manner using the modules. The behavior of the table may also be different. For example, you can define commands for table cells.
    Example
    For example, you can define a fixed column width or display comments in cells.
    For more info :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    Hope this helps u..
    Best Regards,
    VVenkat..

  • Problem with layout in Web Application Designer

    Hi all,
       I am working with the BEx Web Application Designer. Well, I execute a web template in the browser, click on right button and  choose enhanced menu, query properties and mark the check box Display Rows as Hierarchy and Expand to and from the list of values (combo-box) choose the last field that can be expanded.
    Once all the lines have been expanded and the layout of the template is longer than a page, we look for a line that is not in the first page and contract it. The problem is that when we contract the line, the layout shows  the first page, instead of the page where the line had been contracted. I have tried to solve this changing the properties that appear when the template is designed, but I haven´t found the solution. Is there any way so that i can solve it?
    Thanks in advance,
    Mª del Mar Bonilla.

    Bonilla,
    Welcome to SDN...
    Try this out...
    In the Query designer view , right click on the rows structure and select display as hierarchy. In case this option works fine , the behavior pointed out by you could be a possible bug.
    Just update the result of what I have mentioned above...
    Hope it helps..
    Arun
    P.S Assigning points is a way fo saying thank you in SDN

  • How to create a date range in Web Application Designer

    I am using 3.1 version of Web App Designer.  I need to create a report with date ranges.  I can get one date to work but not two (I need a start date and end Date).  My Query has 0CALMONTH with a variable for Interval.  When I select it as a dropdown (??) in Web App Designer, I only get one date prompt in web app designer.
    Any suggestions??
    Thanks
    Kristen

    Hi Kristen,
    I'm sorry i'm not coming to solve your problem,but for the trouble I have had,and I want to create a date picker in Web Application Designer,so if you have solved the problem ,please email to me? [email protected] ,thx very much!
    best regards
    zegion chan

  • URL link in rows/colomns of a report web application designer.

    Hi,
    I would like to create a URL link in a report which jumps to documents on livelink.
    For example:
    1.  bw    30.000    www. google.nl
    2.  sap   40.000    www. sap.com
    3. basis  50.000   www. nu.nl
    etc.
    etc.
    Do all the rows have different URLS, is that possible in the web application designer? Or do I have to use RRI? Or a user exit?
    Thanks for your help en replies.
    Rishma.
    Edited by: R. Debi on Oct 7, 2010 11:20 AM

    I used the RRI already but would like to have a hyperlink in the report. (So, the prefix of the URL is always the same an I have put this in RRI and used the & and contract ID as dynamic part of the URL.)
    In a BW web report, our customer would like to display a characteristic value as a hyperlink, so that when clicking on the link, the user is taken to an external website holding a document.  SO I am just looking for a javascript perhaps? Or maybe even abap in transformation? To actually create the hyperlink in this report.
    Thanks a lot,
    Rishma

  • To use Web Application Designer release 2004s do we need to have portals???

    Hi
    I would like some clarity regarding whther we need a portal or not.
    If you use Web Application Designer (SAP BW 3.x) it works fine, you can create reports and then it shows in SAP Easy Access under favourites. Executes fine, no portal is used.
    Now when I want to use the new Web Application Designer I can not execute the reports. Gives me error
    "Java communication error: RFC destination NOT_CONFIGURED does not exist", the window it appears in has a text saying it can't conect to the portal. Then notes that I look at regarding this seems that the connection between SAP BW and Portal must be set up.
    So can please someone tell me whether you need the portal to use the new Web Application Designer release 2004s
    Thanks in advance

    YOu neeed BI Java configured
    If you do not use any new BEx Web functions, do you have to install the usage types BI Java and EP?
    answer -SAP EP 6.0 Portals could be integrated into a federated portal system landscape using URL iViews.
    For more insights - FAQ
    Pls read carefuly should answer all your current and future questions.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/a5067965-0901-0010-6f8a-bbf0b7424283
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/cea68c65-0901-0010-f5a4-fd34189d8078
    Hope it Helps
    Chetan
    @CP..

  • Unable to open WAD (web application designer) in BW 3.5!

    Hi,
    when i open WAD through menu path (start->programs       
    ->Business explorer->Web application designer), i am getting the following error!
    WADConst
    Please log on to a Netweaver BI 7.x system. System J2E does not have the minimum version required 70005.
    I just can`t understand from where i got this BI 7.x system, when my system is BW 3.5 (NW04 platform).
    can any one expalin me what is this problem? and suggest me to over come this problem?
    Thanks,
    Ravi

    Hi Ravi!
    I assume that you installed the SAP GUI 6.40 with BI Addin (which contains the BI Frontend for SAP NetWeaver 2004s BI).
    In this case, you have a sub folder underneath "Business Explorer" in your startmenu named "Business Explorer (SAP BW 3.x)".
    You have to use this version of the BEx Web Application Designer.
    If this is not the case, please create a Support Message with all detailed information (backend and frontend versions).
    Thank you,
       Tobias

Maybe you are looking for

  • Having a problem syncing music and I-tunes...please help!!!

    Hello, I am new to this and will try to explain it best as I can. From what I understand about syncing, the music on my Iphone will sync to the music library once I plug my phone up. It does this automatically. That is fine and what I want it to do.

  • Failed to load application instance publishLive/live.

    Complete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live..  Flash Admin Server and Flash Media Server are running on local machine.  When testing I get [object NetConnection]: NetConnection.Connect.

  • How do I pass parameter to different portlet regions from another page?

    How do I pass parameter to different portlet regions from another page? I have a page that with two regions. Each region has a report that uses the same information to generate its report. Individually running the reports, I can use p_arg_names and p

  • Code only working second time round

    Hi all, got a weird one here and hoping someone can help me. Scenario is this...got some dynamically created textareas on the screen and details of each are stored in a datagrid. The user can select one from the datagrid (dg_elements) and then change

  • When using Adobe Photoshop CS5, print settings default within the same session.

    Windows 7 Pro 64 bit.  As mentioned after adjusting some settings and printing, the settings reset the next time we go to print the same file within the same session. (never closing the file)