WAD 7: Hide Web Item depending on variable value

Hi,
I have two enterprise reports in a web template. The underlying queries have the same variable (calendar month). I want to achieve the following:
In case the variable is < 4: Show report A, Hide report B
In case the variable is >=4: Show report B, Hide report A
Any idea how to do this?
Best regards
Thomas

You should lookup how to use XPATH and Javascript combination. Xpath will let you query the value of the variable in Javascript and then you can use javascript to set the hidden property for the desired web item.

Similar Messages

  • Web item for formula variable in WAD

    Hi,
        I have a formula variable in my IP application where user can input the percentage for a function, which web item I should used in WAD to bind the user's input data with the formula variable? The input field item does not have the data binding property.I did it in my last project but can not remember it anymore.

    Basically, in IP you do not need to configure  web item for formula variable, it will automatically pop-up when you run the function, at that time you can input the value for the variable. while in BPS, we need to input the numerical value before we run the function.
    Since the input field web item does not have data binding property, I am not sure it is useful, the data you input has no effect on your processing data set. Anybody has some other idea?

  • How to design selection screen with WAD 3.x Web Items

    Hi Guruu2019s,
    I have a requirement where I need to design a selection screen by using WAD 3.x web items. In the selection screen we have to include the Query Description - in the left corner of the selection screen, Name of Sales Person u2013 left side of the screen, Date from and Date to u2013 right side of the selection screen, User ID and User Name u2013 on the top right of the selection screen etc., after this on the bottom of the selection screen I have to include the pushbutton RUN REPORT.
    After filling all the above parameters and click on Run Report it has to trigger another URL link which contains consolidated Sales CRM Report.
    Could any one suggest me and provide me the idea on developing the selection screen with WAD 3.x Web items and is there any other interface to trigger the other URL link when I click on Run Report.
    Regards
    Venkat

    no replies. Closing the incident

  • WAD binding using "Web Item with ManualInput"

    I am using a formula variable in a fox to get an user entered number. I have Input Field web item in the web template and I am trying to pass the input value from this item to the formula variable using "Web Item with ManualInput" binding type . But, the user entered value is not getting transferred to the fox.
    While other variable types work fine, seems to be having issues with this binding type for formula variable. Any help in resolving this issue is much appreciated.
    Thanks.

    Hi all,
    please try following procedure to pass the entered value from WAD to FOX:
    Within the command "exec_planning_sequence" (or planning function) do the following data binding:
    variable: {technical name of your formula variable}
    variable type: "item-input"
    web-item: {technical name of your input item}
    Should look like this in XHTML (assume the formula variable is called Z_IM_TEST_MMEVE_001):
    <bi:command type="EXEC_PLANNING_SEQUENCE_SIMPLE">
    <bi:param name="VARIABLE_VALUES" type="ORDEREDLIST">
      <bi:param name="VARIABLE_VALUE" type="COMPOSITE" index="1">
       <bi:param name="VARIABLE" value="Z_IM_TEST_MMEVE_001" text="Z_IM_TEST_MMEVE_001">
      </bi:param>
       <bi:param name="VARIABLE_TYPE" type="CHOICE" value="ITEM_INPUT">
        <bi:param name="ITEM_INPUT" type="COMPOSITE">
        <bi:param name="ITEM_REF" value="INPUT_FIELD_TEST">
       </bi:param>
      </bi:param>
    </bi:param>
    </bi:param>
    I implemented the same thing successfully and received the entered values in FOX correctly. If it does not work just post a description of the problem appearing.
    Brgds,
    Marcel

  • WAD  7.x - web items - collapse tray

    Hi guys,
    In WAD 7.x it is possible to use the option by almost all web item "with Tray" or not. We had the same functionality in WAD 3.5 as well with one small difference. The Box to collapse or uncollapse web items was on the left size and now in the new version in on the right side. It is very strange, uncomfortable solution especially if the web item is big (bigger then the screen). In this case I have to scroll a first to the right.  
    I would like to ask if it is possible to place this box "Collapse Tray" on the left size of the web item.
    Thanks in advance
    Erwin

    Hi Erwin,
    I'm facing the same issue during migration of templates from 3.5 to 7.0. I see that your question has been resolved.
    Can you please share the solution?
    Regards,
    Sameer

  • Hide a Item Depending on the Particular valve

    Hi All-
    I have 2 valves(consider valve A and valve B in this case). When the form shows Valve A a text item should show. When form shows Valve B text item should not show(it should hide from the form). I know I have to give a condition for this Item but I am not sure what to give.
    Appreciate your help,
    Regards,
    Nani (Apex Version 3.2).

    Do you mean VALUE ( as apposed to Valve, unless you are doing plumbing instead of APEX development)...
    You would modify the text item you want displayed/not displayed.. When the item holding Value A or B, in the text item setup, find the conditions area, in there, select the Value of Item in expression 1 = value of item in expression 2.. Here you would have the item holding A or B be in expression 1 and the value that allows item to display in expression 2..
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Dynamic text in Web Report (lookup on Variable Value)

    Hi
    If a user specifies a variable value to run a report (say company code), is it possible to have logic which looks up some attribute of company code (let's say country for example) and then displays this as part of some header text above the query results table?
    E.G. Report:
    These results are for country <value>.
    .... col1 col2
    row1 200 300
    row2 100 400
    I've had a look at the Text Element Object, but I couldn't determine if it can be used for this - ?
    I'm not sure I could use a Customer Exit Variable to look up the Country, as what could it be attached to if Country is not in the query/Infocube - ?
    (I have the added complexity of having multiple queries in one Web Report)
    Many thanks in advance,

    Hi,
    I see 2 possibilities:
    - Use a <b>text</b> variable with processing type customer exit in the query title and read the masterdata table in your customer exit depending on the variable value for company code.
    - Create another query (query on masterdata table) with the same variable. This will result in one row returning the (in the query definition) defined attributes.
    Heike

  • How to Visible/Hide an Item based on the value of another Item

    Hi
    I need to visible and hide a textitem based on the value of another item.This form has 3 blocks, and the both item is in the first Master Block.
    My code is:
    if :RECORDTYPE=7 then
         Set_Item_Property('BLOCK.ITEM',VISIBLE,PROPERTY_TRUE);
         Set_Item_Property('BLOCK.ITEM',ENABLED,PROPERTY_TRUE);
    ELSE
         Set_Item_Property('BLOCK.ITEM',VISIBLE,PROPERTY_FALSE);
    Set_Item_Property('BLOCK.ITEM',ENABLED,PROPERTY_FALSE);
    :BLOCK.ITEM:=NULL;
    end if;     
    I wrote the code in the Validate Trigger, but not working when moving Next Record & Previous Record
    Thanks in advance
    Rizly

    Read the 'Propagation of Property Changes' section towards the end of the page for Set_Item_Property in the online help. I'm not sure what you mean by locking automatically but perhaps it's because of this.
    You should also ensure the item you're setting to invisible is not the current item (check :system.cursor_item and go to a different item if necessary).

  • Hide Advance table Depending upon the value of dropDown

    Hi,
    I have 2 advance tables. 1st one has a DropDown. Depending upon the value of the dropdown in 1st advance table, the second advanced table should get rendered.
    I tried by getting the value of the dropdown by addingg a PPF and iterating trough the table and I got the value. But when I redirect to the same page, all the selection and other values in 1st advanced table vanish out.
    Can someone help me getting the 2nd table hidden and at the same time retaining the values for the 1st advanced table.
    Thanks in Advance,
    Kaushik Rambhiya

    Kaushik
    Implement PPR for this requirement and dont redirect the page
    Displaying image based selected value of choice bean
    http://oracleanil.blogspot.com/2009/05/ppr.html
    Thanks
    AJ

  • Show or Hide fields based upon a variable value

    Hi,
    I am a rookie in the field of Acrobat. And my only question is :
    How to Circle a Form Field based upon a variable value .
    For example, If x=1, I want to circle Japan and if x=0, I want to leave it without any change.
    Please help me out. Thanks for your time and help.
    Thanks,
    Vijayvijay77.

    Hi George,
    I am pre-populating a Pdf file based upon the data submitted by the user. And I have to circle options selected in the form.
    I am writing coldfusion code to flatten, populate the form into a PDF form. The end result is the PDF generation with all the data in it.
    The data comes from the database, where I set variable values if any is selected or not.
    Thanks for your reply, I really appreciate your help.
    Vijayvijay77.

  • Input-ready query; Layout dependant on variable value

    Hello,
    I need to create an input-ready query where I have months Jan-Dec in colums. If the planner gives a variable value for the planning period for example April, he should get a layout where he can plan for April-Dec and view the values for Jan-March. How can I create this kind of input-ready-query? Thanks in advance. Points will be assigned.
    Regards,
    Marika

    Hi Marika,
    Step1: You need to create a variable (with user restriction), you can provide fixed values for all months of the year, perhaps on 0CALMONTH.  You will get the text displayed when you select the month number in the planning folder where u use it. Say WM1 is the name you gave.
    Step2: Create 2 exit variables.  1st one would check the entry by the user from WM1.  If the period is > January, store all the months starting from January to the month preceeding to one selected in WM1.  Set this as WM2.
    In the second exit variable, the code must check for which month user has selected to start planning from and store all months starting from and ending December in it. Set this as WM3.  You will have to create these 2 variables on 0CALMONTH again.
    Step3: Now, in the Layout builder, 1st screen, for the additional settings, in the data columns tab, select 0CALMONTH for dynamic.
    Step4: In the second screen of Layout builder, create 2 rows for the data column settings.  First row would be set for comparison. Check dynamic box. Assign WM2 as the variable for 0CALMONTH here.
    Second row would be for planning, but check dynamic box here again and assign WM3 as the variable for 0CALMONTH here.
    You must be having WM1 as the variable in header.
    In the 3rd screen you will find just 2 data columns displayed.
    When you run the layout, user prompt will insist you input the desired month and layout on further opening, will bring in the desired data as you require from the Cube.
    I hope you have ur actuals and plan data both in the same cube.  Else you have to assign separate cubes for plng area in comparison and plan settings in the 2nd screen of builder.
    Hope this will help solve ur problem.
    Regards,
    Aby

  • How to display or not dynamicaly a web item depending on a selection ?

    Hi,
    I have a report with 5 values, one per year (y1, y2, ... y+5). Each value is selectable, with a column selection option.
    When I select one of the three first, I would like to show a query (input-ready query based on an aggregation level A) and when I select one of the two last, I would like to show another query (input-ready query, based on another aggregation level B).
    How can I do this ? I've tried with javascript but without succeed ...
    Thanks a lot!

    nobody to help me ?!

  • How execute interface depending from variable value?

    Hi Gurus!
    Is it possible to run one or other interface depending from value of variable?
    By example I refresh value of variable A and want to call interface I1 if value is 1 or call interface I2 f value is 2.
    Thanks in advance!

    Step 1. Refresh Variable
    Step 2 Evaluate Variable
    Step 3. Provide OK if variable is 1 then Interface 1 else not KO interface 2 .
    Hope this helps.

  • Can I change the standard text for web item 'INFO_FIELD_ITEM'?

    Hello experts.
    I made a WAD template using web item 'INFO_FIELD_ITEM'.  In data binding, I used the 'Last refresh' of general text elements.   As a result, in the web browser I can see the last update date & time. (e.g. 'Last refresh: 2007.01.17 17:34:44') Then our customer want to change the default text "Last refresh" as "Working time".
    How can I change this?
    I tried to change the text symbols for program SAPLRRSV. But it worked only in Bex Analyzer not in the web.
    Our server version is Netweaver 2004s and SP10.
    Best regards.
    JY Park.

    Hello,
    I had the same problem - just wanted to display the values of a variable in an info-field, but not the caption.
    I found out, that there's a tag for Info-Field Item called ONLY_VALUES (it's the checkbox under the headers visible checkbox in the properties dialog of the Info-Field Item; in my WAD version, there's no label assigned to this checkbox, so it was not easy to find out what it should be),
    You have to set it to 'X' (check it) ; then you get the unformatted value of the variable (no caption anymore).
    <bi:INFO_FIELD_ITEM name="INFO_FIELD_ITEM_1" designheight="500" designwidth="350" >  <bi:WIDTH value="350" />
    <bi:HEIGHT value="500" />
    <bi:DATA_PROVIDER_REF value="DP_1" />
    <bi:HEADERS_VISIBLE value="" />
    <bi:ONLY_VALUES value="X" />
    You have to insert the info-field item between span tags so that you can define your own formatting values.
    The ONLY_VALUES tag works the same as the tag 'RENDER_AS_TEXT' you have with the text item , see
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    There's only one disadvantage: If you have chosen a lot of variable values (multiple selection), the variable string gets very long and no line break is performed, because all blanks in the string are replaced by nbsp's. I solved this with a little Java Script, replacing the appropriate nbsp-s with br tags.
    Hope it helps
    Beate

  • How I can gain the variable value in web-application?

    Hi,
    I have a web-template with several web-item. The data provider refers to a query with a variable screen.
    After the report run and the table is displayed, i have need to set a paticular filter-item with the variable value that i put in pop-up screen.
    Therefore I am trying a function or method in order to pass the variable value (pop-up variable).
    Help me, Thanks in advance

    Hi Ciro,
    in the Web item properties of the Text element web item you can specifically select in the ITEM_LIST a list of text elements. For variables you can choose if you want to display text or key values. This should work for the print template.
    With the Excel display I'm a bit unsure. There is a BEx Function called SAPBEXshowTextElements that allows you to display the variable values. I just don't know if you can execute it in the SAPBEXonRefresh. You can find additional information in the BW help under Business Explorer->Analysis & Reporting: BEx Analyzer->Queries in Workbooks->Integration with Visual Basic for Application (in the BW 3.1 documentation).
    Another thing that might work is to add another navigational attribute to the needed InfoObjects with reference to the InfoObject. While loading Master Data you can fill the navigational attribute with the same value as the characteristic. Then you can drag the variable into the filter and put the Navigational attribute into the query.
    Example: You have the IO 0COSTCENTER that you want to put a filter on. Create an IO COSTC_N (Costcenter Navigation) with reference to 0COSTCENTER and insert it into 0COSTCENTER as navigational attribute. While loading Master Data for 0COSTCENTER fill COSTC_N from 0COSTCENTER.
    In the query put COSTC_N into the filter box and create a fitting variable. 0COSTCENTER can now be displayed in the rows and the filter values for COSTC_N are displayed in the query.
    Best regards
       Dirk

Maybe you are looking for

  • Unable to download metadata extracts from HFM

    I have installed 11.1.2.3 using an Oracle database on windows server 2008. After extracting a metadata file, when I click on download I am unable to download the file. At the bottom of the screen there is a message "http://servername:9000/hfmadf/face

  • After a mac update; flash player asked to be installed.  Install successful but application will not work.

    Hello, After a Mac update, flash player (along with silverlight) asked to be installed when I tried to watch video content or play games.  I installed flash player and it reports being successful and appears in my applications.  However, I cannot wat

  • Solaris 10, audit -n removing old logfiles.

    I have a bit of a strange problem. We are running Solaris 10 on a number of systems. Auditing is enabled on all systems and we use audit -n to rotate the log files on the hour. On one system this works fine and each time we do a audit -n it renames t

  • PS OpenCL Support for GeForce GTX 460 on Windows

    I am trying to enable OpenCL support in photoshop.  Below you will find detailed specs OS Information: Microsoft Windows 7 Professional  64bit  6.1.7601 Service Pack 1 Build 7601 Processor: Intel Core i7 950 (4x 3.06GHz/8MB L3 Cache) clocked to 3.2Gh

  • Hesitant about moving previous sys.folder

    I need your expertise advice again. I would like to copy my PSF for "just in case" into my LaCie external drive to free 7Gb. Is there anything that I should be aware of? All the applications, files and folders in PSF are just there in case I need the