BEx WAD - How to pass filter values to another Web template

Hi,
I have a scenario here...
Web Template 1:
- Filter options, Filter on Characteristics
- Button, this button calls Template 2 sending the parameters selected vía URL to filter the report.
Web Template 2:
- Tables and graphs
Values selected in the Filter of Template 1 and using javascript it should generates a URL, which filters the second template i.e. Web Template 2.
Can anyone please share javascript to achieve this...
-Anil

Hi Anil,
I tried this and could not get it to work.  so if you find away through Java script then I would be very interested.
There is an option called TRANSFER_STATE which supposedly lets you pass variable names in  this scenario but I could not get it to work.
In the end I created one template with all graphs etc.  When you click the button to show the other template all tables and graphs in template 2 are shown and everything from web template 1 is hidden.  This worked fine.
Cheers,
Nick.

Similar Messages

  • How to pass filter values to planning function in Integrated planning

    Dear Experts,
    I have a input ready query where the variables are filled with authorization objects by user. All variables are defined as multiple single values.
    I created a workbook with 3 filter dropdown box - calmonth, company code and version (displayed as text). In the filter drop down box the user selects the company code, version and calmonth for planning. I would like to pass the selected filter values to a planning funciton. How can we pass these selected single filter values to a planning funciton?
    Note: I am able to reference cells for variables that are not in filter (for eg: revaluation function with this document https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be).
    Thanks,
    Gnana

    Hi,
    Your requirement sounds similar to example given by SAP
    [http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/content.htm]
    If you do not want the from value be selected, and its already decided, then gofor restriction of values in filter than to the variable.
    regards,
    ravi.

  • How to Pass Filter value to Filter dependent BADI ?

    Hi,
    I am having some doubt related to CRM Badi's there are two types of BADI's one is Muliple use badi and other in Filter dependent BADI.
        Incase of filter dependent BADI. when we are creating implentation for filter BADI how to pass this filter value to that new implentation.i.e. if we are going to see the importing parameters for Each method of that  Filter Dependent BADI.   the 1st importing parameter for each method is FILTER VALUE for each method in Filter Dependent BADI. 
          So my question is that how to map this filer value while creating new implentation for Filter Dependent BADI ?
         It will Automatically get this importing filter value or we have to do any coding for this ????
    for this you can refer badi : CRM_ISA_BASKET_HEAD
    this Badi defination is filter dependent.
    Please let me clarification for this .perfect answer will be rewarded !!!!
    Regards,
    Amol Tambe
    SAP CRM Technical Consultant.

    Hi,
    If this is the case. Then what is the use of filter in that if it is automaticaaly getting mapped i.e. How the filter will restrict the use for Badi ??
              I am not getting it ??????
    Because for every simple badi when we are going to creat the implenation it will work fine without any restrictions by getting all importing values automatically.
    And incase of filter depednt Badi also its going in same way it will get its filter value automatically so both the cases are same for Filter dependent badi and simple badi.
    Then what is the use of Filter value ????
    Regards,
    Amol Tambe.
    SAP CRM Technical Consultant.

  • Pass variable value to different Web Templates??

    Hi BI gurus,
    The scenario is: we have 2 web templates, and at the top of template A, there is Menu Item for the users to switch to template B. Time Variable: Fiscal_Qtr (a custom exit variable which by default set the value as Current Quarter) is being used in both templates. And, there is drop down box of Fiscal_Qtr in the layouts for the users to change when they do the planning.
    The requirement is to keep the last value of the Fiscal Quarter when the users switch to different templates.
    The difficulty is how to read the fiscal quarter from the buffer and pass the value when launch another template, because it is a totally new session. The new session always set to the default value.
    Please share your thoughts if you have any experience about similar case.
    Thanks a lot!
    Eunice

    I dont think you an read from the buffer when you use javascript. The value is shown as request_1 in the url or something like that. This is with reference to WAD 3.x... you could customize the context menu and see if you can do an RRI instead...

  • Show Multiple Filter Values in a Web Template

    Hello
    I have a Web Template based on a query. On this Web Template I can set multiple single filter values for one characteristic.
    Now I want to show these filtered values for this characteristic on the web item. This is possible for ONE filter value when you use the XML path (f.e. DATA_PROVIDER:DP1?/BICS_VIEW/SELECTION_STATE/SELECTION/CHARACTERISTICS/CHARACTERISTIC[@name='CHARNAME']/SELECTIONS/SELECTION[1]/MEMBER/@text)
    Is there a possibility to show MULTIPLE filter values for one characteristics in a text or input field? I don't want to use a drop down box or the info field.
    Kind Regards,
    Andreas

    HI,
    the best ay to do is create a query with same variable parameters as of the main query and place filter Characters on rows.
    Use this query in one analysis item and use it on top row of the template as Filters information.This will give better look and feel as well solve your requirement

  • Set filter value for a web template with java

    hi experts,
    i need to set a variable dynamicaly  depending on the Logon Name. Ok first step i did, i made a small script for the Username:
    _var url = this.location.href;
    _var x = url.substring(url.length-6, url.length);
    _var lifnr = ("0000" + x);
    _alert (LIFNR);
    ok if the username i.e B200221 my variable LIFNR gets a valid value  in this case 0000200221. but how can i use this variable in the bi commands ?
    here my xhtml coding from my webtemplate, where i want to use my variable LIFNR as template parameter:
    _var url = this.location.href;
    _var x = url.substring(url.length-6, url.length);
    _var lifnr = ("0000" + x);
    _alert (LIFNR);
        QUERY_VIEW_DATA_PROVIDER name="DP_1"
                    INITIAL_STATE type="CHOICE" value="QUERY"
                    QUERY value="VSAG_MM_VMI_KONS_US" text="VSAG_MM_VMI_KONS_US" /
                    INITIAL_STATE
                QUERY_VIEW_DATA_PROVIDER
                TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS"
                    WEB_TEMPLATE_ACTIONS type="COMPOSITE"
                        ACTION_BEFORE_FIRST_RENDERING type="COMPOSITE" /
                        ACTION_BEFORE_RENDERING type="COMPOSITE"
                            INSTRUCTION
                                SET_SELECTION_STATE_SIMPLE
                                    TARGET_DATA_PROVIDER_REF_LIST type="ORDEREDLIST"
                                        TARGET_DATA_PROVIDER_REF index="1" value="DP_1" /
                                    TARGET_DATA_PROVIDER_REF_LIST
                                   CHARACTERISTIC value="0VENDOR" text="Lieferant" /
                                    RANGE_SELECTION_OPERATOR type="CHOICE" value="EQUAL_SELECTION"
                                        EQUAL_SELECTION type="CHOICE" value="MEMBER_NAME"
                                        MEMBER_NAME value="0000200221" text="0000200221" /
                                        EQUAL_SELECTION
                                    RANGE_SELECTION_OPERATOR
                                SET_SELECTION_STATE_SIMPLE
                            INSTRUCTION
                        ACTION_BEFORE_RENDERING
                    WEB_TEMPLATE_ACTIONS
                TEMPLATE_PARAMETERS
    how can i use my variable LIFNR  at this point :  MEMBER_NAME value="0000200221"    ?
    thanks for any idea's.
    Tony

    hi experts
    does no one have an idea, how i can use my own java variable at   BI Filter  command's in the XHTML Code ?
    thx
    tony

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • How to pass a value to a bind variable in a query report in oracle apex

    Hi Guys,
    I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
    Can anyone help me on this issue or suggest a better approach?
    Thanks,
    San

    You need to use dynamic sql
    But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
    This forum is specifically for SQL Server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

  • Passing filter values from column formula in OBIEE 10g

    Hi,
    I am trying to pass filter value from the column LY Spend YTD columns where we have a filter option and passing the year filter 2013 as below.
    FILTER("Fact - Purchasing - Invoice"."LY Spend YTD" USING (Time."Year" = '2013'))
    My goal behind doing this is, we have a filter already present for the whole criteria on the year which is 2012.
    But specifically for this column i dont want to pass the year 2012 to it, Instead I want to pass 2013 to it. But I am not succeding the result is blank.
    Please suggest and let me know if further understanding is needed.

    Hi Srini
    Thanks for you reply.
    I cannot do that way because some measures are satisfying with year 2012 and displaying the data and other measure are satisfying with 2013.
    I am working on LY Spend YTD, LY spend YTD - 1, Spend YTD and Year ago spend.
    So thats the reason I have thought that way of passing the filter in column formula irrespective of criteria filter.
    Please suggest.

  • How to pass the values from the Wb Dynpro Application to the SAP Backend ?

    Hi All,
    Good morning..,
    I have scenario like:
    I want to pass the values from the web dynpro appication to the SAP Back end R/3 Table. IN backend the RFC is writtn to accept the structure input from the Webdynpro.
    Upto know I imported the corresponding RFC and maaped to the View.
    How to proceed with the coding to save the data...
    PLease suggest...
    Regards and Thanks in Advance,
    CSP

    Hi  Pradeep
    Steps:
    1. First create an instance for bapi and bind the instance to the bapi node.
      Z<bapi name> zb=new Z<bapi name>();
      wdContext.nodeZ<bapi name>. bind(zb);
    2. Then if u have the import parameter u have to set them by using
        The instance of the above bapi.
        Zb.set<import parameters>;
    3. If the bapi has a table parameters then the structure for the table parameters will also be imported
       In the model class.
    4. Set the table parameters by creating the instance for that structure and using this instance set it.
       Z<Struct>itm tab=new Z<Struct>();
       Tab.set<table parameters>
    5. Then add the structure instance to the bapi instance.
        Zb.add(Tab);
    6. Then Execute the bapi after setting the import parameters.
    7.  If there is any export parameters, then get the values after execution.
    Look at this thread for codes
    Re: RFC call on click of button
    Regards,
    Arun

  • How to Pass Click Value to DB using Java

    How to Pass Click Value to DB using Java and display tat
    clicked value row data in flex
    i have created connection with Sql Server using java and drew
    pie chart from values fetched from XML file created by Java
    wat i need is when i click pie chart region (widget) i should
    display a alert by giving value of particular widget name and Value
    from Database and display in Flex Alert

    Use AddResource to add Javascript in your BackingBean Code and pass the value to your javascript code.
    JSCookMenu and other dynamic adding of javascript to a JSF-JSP page is done using AddResource....

  • How to pass the value to "Assignment" when submit the program RFITEMGL?

    Hello friends,
    I want to submit program RFITEMGL  (t-code FBL3N) with some screen fields, some fields are OK to fill such as u201COpen at key dateu201D, u201CG/L accountu201D and u201CCompany codeu201D。 But for the field "Assignment" (It will appear after cilck Dynamic Selection), I don't know how to pass value to it.
    Could you help me about how to pass the value to "Assignment" when submit the program RFITEMGL  (t-code FBL3N) ?
    Thanks a lot!

    Hi,
    Well you can create a small BDC.
    Regards,
    Harsh Bansal

  • How to pass the value from Sub report to main report

    I have un report(mainreport) within a subreport(subreport).
    With reporting services, how to pass the value from Sub report to main report?
    thanks

    Hi Alebet,
    With reporting services to pass values from sub report in to main report is not supported directly.
    But there are some workarounds through which you can get this .
    There are two ways to get this.
    1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
    2- Using this temporary tables data write some Scala function in the data base.
    3- Now in your main report query return this scala function as a column.
    4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
    This will definitely work fine as i have done some report in this way.
    Another way of doing is that
    1- prepare another data set with the same query as in sub report in the data tab.
    2- then refer this 2nd dataset in your main report .
    But better way will be the top one.
    Anyway please let me know if you get the solution.
    Thanks
    Mahasweta

Maybe you are looking for

  • ITunes won't recognize iPod but Windows does.

    At first neither Windows nor iTunes recognized my iPod mini. I reinstalled my driver and Windows can now recognize the iPod but iTunes won't. When I connect the iPod the "do not disconnect" message stays on my screen but nothing happens in iTunes. Ca

  • What is a page dimension?

    What is a page dimension? What is POV dimension?

  • Getting the height of a binary tree

    So I am trying to create a method in my binary tree class that returns and integer that represents the height of the tree. I tried to do this recursively and it seems the numbers are close to the actual ones, but never exact and I haven't really been

  • Problems with diacritics/accents and paging in web viewer

    There seem to be some problems in displaying diacritics/accents in the web viewer (CR4E 2 update 4). On viewing a multi-page report containing accents, when the report is paged forwards/backwards the accented characters are corrupted. This is easily

  • Native dictionary

    What happened with the native dictionary? When trying to define a word, asks "would you like to download a dictionary" If I answer yes it says "downloading your dictionary" and then just "definition could not be found"... Why??????