Hierarchies displayed with variable (IP & WAD)

Dear Experts.
We are having difficulties in defining value restrictions for (2) hierarchy variables. Unexecptionally all available hierarchies are showing with the hierarchy variables for a given characteristic.
Objective: We are currently building web layouts for planning (with 2 queries per tab page). Now, 2 different hierarchy variables, one for Input and one for Display of queries, are supposed to restrict the listed char. value (rows). We are looking at two sets of hierarchies about 5 each (in total there is about 30 hierarchies on this characteristic).
Background: Within BW-BPS's Web App Builder one had previously an option to use so called "Packages Selection" where planning packages from BPS0 could be defined with different hierarchies underneath a given planning level. Thereby the effect of having filtered a hierarchy selection could be achieved.
Wonder whether there is a way to solve this with the Integrated Planning tools set (QD, WAD)!?
Thanks in advance.
Frank

Hi Marc,
Thanks for replying,
Problem is i need to do some calculations in FM and call this FM using formula type planning function.in that FM i used RSDRI API to write data to cube(is there any way i can write to buffer or display calculated values in input ready query??).
So when i use custom planning function button..it writes data to cube and then if i want it to displayed again as it is not in buffer  i used save_web_template standard button, which will show values but not in planning mode(and it gives warning infoprovider is locked).so my input ready is lost.
is there any work around. or is there any way to refresh from the request.
Please provide your inputs for the needful.
Thanks
R'Man.

Similar Messages

  • Problem with variable in wad

    Hello Guru's
    i had a problem in WAD. we have report in which i have to create a variable for positing date so that the end user can give posting date and execute the report for that particular week. if i execute the BEX report it's working fine.where as if i execute the report in wad. i couldn't see the variable for posting date. it gives output directly. may i know what the problem.
    Thanks
    rad

    For calling up the variable screen, in your template you can use
    <SAP_BW_URL CMD='PROCESS_VARIABLES' SUBCMD='VARIABLE_SCREEN'>
    This command allows you to call up the variables screen again for the current page.
    Also, as Ajay mentioned you have to change the variable options to 'Mandatory: Initial value not allowed'.
    Hope this helps.
    Regards
    Hari

  • How to display Hierarchy Variable in BI 7.0 WAD

    Hi Experts
    I have a variable for Cost Center which is a Hierarchy Variable and not a Hierarchy Node Variable. I am using BI WAD 7.0 and my requirement is that the user wants to see for what Hierarchy s/he ran for.
    I am using a Information Web Item whihc is under Advanced tab. After dragging that I check the box for Variables so that the user see all the variables he ran for and after s/he prints its more precise report.
    My problem is I cant see the Hierarchy variable value in my Web Template ....I can see at the variable POP UP screen I enter my Hierarchy but after executing it I dont see my Hierarchy variable value.
    Your suggestions will be reciprocated with Points.
    Thanks

    Hello Experts,
    To substantiate my earlier question ...I have 3 Hierarchies for 0COSTCENTER
    In the WAD under the Information Web ITem i check the box for
    Display Variables (VARIABLES_VISIBLE)
    I have 3 variables
    1) Hierarchy Variable : user will pick 1 out of 3 Hierarchy
    (not a node but entire Hierarchy)
    2) Fiscal  Year/period
    3) Value type
    But I can see only 2 variables after the Web template is executed , the user wants to see for what hierarchy it ran when it prints the report
    Your suggestions are supremely appreciated
    Thanks
    Nick

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • Problem with variable refresh in WAD

    Hi Experts,
    I have a query in which currency and cal quarter are the variables. The cal quarter is populated using a customer exit to have the current quarter. I have built a webtemplate on this query. Now the problem is:When I run the webtemplate and try to change the currency value (for example EUR to CAD) and select show all values for the cal quarter, i see that the cal quarter is being reset to the default value i.e (current quarter). When i pass a value (say 2.2008) to the cal quarter in the variable screen or in the characteristic restictions in the webtemplate and try to change the currency in the currency drop down, the cal quarter remains same (2.2008) and the keyfigures are displayed with the selected currency.
    Could you provide some inputs so that the cal quarter value is not reset upon selection of "show all values" in the variable screen/drop down and change in currency.
    P.S. No changes at query level are allowed and both query and webtemplate are in 7.0
    Regards,
    Naveen.

    HI Naveen,
    WHere is the customerr Exit of the calquarter used in teh Query. is it in the Filter section or in teh Default values section.
    If the customer Exit variable is used in teh filter section , you will not be able to see data other than the value returned by the customer exit.
    Regrads.
    Shafi.

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • Facing problem with displaying of charts in WAD

    Hi,
    When i try to display graph(charts) in WAD i get this error :
    " Internal erroe while communicating with IGS "
    Can anyone please help me with this, also if there is some doc available on the use of Charts in WAD or some doc on how to use features in WAD.
    thanks in anticipation
    Regards
    Suchitra

    Hi Suchitra,
    The IGS is the Internet Graphics Server which runs as a service and is reqd when you need to render graphics, like charts in your web application. The following links have additional useful info:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a73eac90-0201-0010-0e91-fdebfa436619
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdfbb990-0201-0010-d78b-81e475fc1010
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a245e690-0201-0010-4393-ef078d3ad0ed
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7dc0cc90-0201-0010-4fa7-d557f2bd65ef
    Hope this helps...

  • ALV column with variable number of decimals to be displayed

    Hi,
    I've an ALV where I need to display a numeric column with a variable number of decimal row-by-row, from 0 (no decimals) to 4.
    I've declared the numeric field as TYPE P DECIMALS 4.
    I've tried with DECMLFIELD in ALV catalog, and this works for 1 to n decimals, but when  I leave the field indicated in DECMLFIELD equal to 0, ALV shows the default number of decimals of the field (4 in that case).
    Any help will be very appreciated.
    Thanks.
    Jordi

    No, I didn't try EDIT_MASK.
    How should I use it to format output to display decimals or not depending on the row?
    I have 2 kinds of values, all stored in a TYPE P DECIMALS 4: Those that really are an integer (decimals should not be displayed for that ones) and the values that really have 4 decimals (which should be displayed with decimals in ALV).
    Example:
    13,0000 should be displayed as 13
    0,4567 should be displayed as 0,4567
    With EDIT_MASK could I do that?
    Thank you very much.

  • How to put variables in WAD

    Gurus,
    I'm new to WAD. Please could you guide me how to have variables in WAD (for planning). Right now When I launch the WAD it pops up for all the variables. But what I want is that it should not ask for any variable while launching the WAD and later the variables should be filled up by drop downs inside the WAD. Is that possible?
    BR,
    SSC

    Hi,
    Is there a way to avoid pop up while launching the web application
    --> You can set in general tab of web template properties the variable screen to false (unmark it) "Display Variable Screen". Check:
    Web Template Parameters
    http://help.sap.com/saphelp_nw04s/helpdata/en/14/31fa826d0bd540899b02888bf55df4/frameset.htm
    In this case when I have created a drop down box for company code and then linked it to the variable in planning function
    --> You can use CHARACTERISTIC_SELECTION for your variable. Then read it from drop down box.
    Check:
    Data Binding Type CHARACTERISTIC_SELECTION
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/e7460656b60a29e10000000a11466f/frameset.htm
    and
    Dropdown Box
    http://help.sap.com/saphelp_nw04s/helpdata/en/c0/de413a51ce2e3ae10000000a11402f/frameset.htm
    Is this correct that I will have to choose variable value twice. While launching the web application (as a pop up) and then in the drop down once the web application is launched.
    --> If you use a variable for restriction of a query I think this is not correct. Query is restricted by the variable value you can not choose it again from drop down. But you can overwrite this value with dropdown value...
    Check this link how to create planning applications with the WAD...
    Creating Planning Applications in the BEx Web Application Designer 
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/c8240e47460aa5e10000000a1553f6/frameset.htm
    and
    Execute a Planning Function (Simple)
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/f0f8dc73b56bede10000000a11466f/frameset.htm
    Regards
    Andreas

  • Error in Looping with variable

    Dear All,
    Please help me. i want to loop of record. i have two scheme. First, i make without variable and not error. Second, i make with variable and error occurs. as below my syntax:
    First:
    declare
    x varchar(50);
    begin
    --x:='select dummy from dual';
    for c1 in (select dummy from dual) loop
    dbms_output.put_line(c1.dummy);
    end loop;
    end;
    result:
    X
    Second:
    declare
    x varchar(50);
    begin
    x:='select dummy from dual';
    for c1 in (x) loop
    dbms_output.put_line(c1.dummy);
    end loop;
    end;
    result:
    Encountered the symbol 'LOOP' when expecting one...

    Billy  Verreynne  wrote:
    Why? For what purpose?
    A cursor fetch loop is not the ideal processing structure.
    It is slow. It requires data to travel from the buffer cache of the database into PL/SQL variables (in the PGA). It requires context switching between the PL/SQL and SQL engines.
    It does not scale. More rows means more data to travel that path from the SQL engine to the PL/SQL engine. More loop iterations in PL/SQL. If a single loop iteration (for processing a row) is 1ms, then a 100,000 rows will take a 100 seconds. 200,000 rows 200 seconds. Etc. This clearly does not scale with an increase in data volume.
    Also keep in mind that DBMS_OUTPUT does not write to screen or display anything. It is incapable of accessing a client device as it executes inside a server process. So each call to DBMS_OUTPUT stores that line of text in very expensive server memory. When the database call is done, the client (e.g. TOAD or SQL*Plus) can read those lines from the database and the client can display it.
    So if your loop is for a 1000 rows, it means writing a 1000 lines of text into very expensive server memory - and then expecting the client to read that afterwards and display it. Why? This is not a standard client-server method. It also does not scale. It can actually crash the server when this method is abused.
    The standard method would be to create a SQL cursor using PL/SQL code, and then return a reference handle (pointer) to the client. This allows the client the ability to fetch data directly from the cursor - in an optimal way that does not consume expensive server memory.I have to say it: I sincerely appreciate you taking the time to write this whenever it needs to be written rather than just giving up and letting people stumble along with bad design - it must take a lot of mental stamina to keep doing it. One day it will sink into my head also :-)

  • Displaying Session Variable on Dashboard & creating presentation variable

    Hi.
    I read a bit more on mysupport and it seems that :xdo_user_roles somehow displayes all kind of roles not the ones that the user acutally belongs to.
    Now I wonder if I can use NQ_SESSION.GROUP in the BI Publisher data model.
    (A)I figured that I can create a "list of values" in the data model and there I can select Oracle BI EE as a data source. maybe in the repository I can create a column that holds the nqsession_groups that I then use in the data model sql. assuming I can use a list of values in the sql.
    (B) or I pass it as a parameter to the report/data modell just like a normal dropdownlist parameter (presentation variable)
    Then I tried adding a text item on the dashboard with
    @{biServer.variables[NQ_SESSION.USER.displayName]}
    or
    Session Variable My Year : @{biServer.VARIABLES['v_USER_GROUPS']} *
    BUT none of them actually display any variables. :/
    *this one I created in the repository and has the correct values                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    When I remove "authenticated-role" from the BIConsumer Role in EM and visit my dashboard again I can see that the user is ONLY in role "AuthenticatedUser" now I wonder why this is the only one, I created a custom role in EM and added the user to that one but it does not show :/

  • Problem with variable

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

  • Issue with @variable('DOCNAME')

    I added a where clause using the BO designer that uses @variable ('DOCNAME') and it work perfect when running webi reports. But I also have some crystal reports that are using the universe and they suddenly stopped working. Does the variable 'DOCNAME' have an issue with cyrstal reports??
    Even if I just create an object that simply displays the @variable ('DOCNAME'), I still run into the same problem.
    I have another query that uses @variable ('BOUSER') and that one works fine on both webi and crystal reports.

    Nevermind, I may have found an answer. Based on what the article below states, it looks like the only variable that is supported in Crystal Reports is 'BOUSER'.
    [https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f]

  • Problem in Displaying text Variable

    Hi All,
    I have problem in Displaying text Variable in the column header.
    My requirement is as follows.
    Column Level:
    0Calmonth/Year
    Key figures
    Keyfigure1 - Current Month  - Text Variable1
    Keyfigure2 - Previous Month - Text Variable2
    Keyfigure3 - Previous Month - Same as Text Variable2 - Display same month
    So based on each 0Calmonth/year these three keygirues should display in Header section like.
    Selection screen
    0Calmonth/Year - 03.2005 - 06.2005
    Result should be for each month.
    0Calmonth/Year
    03.2005                                04.2005                              05.2005
    03.2005 | 02.2005 | 02.20005  04.2005 | 03.2005 | 03.2005 05.2005 | 04.2005 | 04.2005.
    I have created two text variable with Customer exit.But not able to show exact months in the header section.
    For first three columns months are coming exactly, but from fourth columns it should display next month, but it is not coming.
    I have tried to code, but not successfull.
    Please help me how to go about this.
    Will assign full points.
    Regards,
    Vijay

    hi
    Check here........
    Re: Customer Exist for "From Current Date To Month End"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
    Cal month
    it might helpful for you
    assign points if helpful

  • How to insert a table with variable rows in smart form

    Hi all,
    How to insert a table with variable rows in smart form?
    Any help would be appreciated.
    Regards,
    Mahesh.

    Hi,
    Right click the mouse->create->table
    If you want 5 columns, you need to declare 5 cells in one line type of the table
    Click on Table -> Details, then do the following
    Line Type 1 2 3 4 5
    L1 2mm 3mm etc
    Here specify the width of the columns as many as you want..
    then in the header/main area of the table, click create Table Line, Rowtype is L1, automatically 5 cells will come,In each cell create a text element, display the variable to be printed there.

Maybe you are looking for