Values of same Variable(used in diff reports) shud be retained in a session

Hello,
We have an application cockpit. There are 12 to 13 different reports being used in that cockpit. Most of the reports use the same characteristic variables in the report.
When we used to execute these reports in Ver 3.x, the variables used to retain their values in the same session. i.e. if for 0Material, user gave : 'TIP120' as a value in selection criteria in one report, then, if he executed another report after that, which uses the same variable on 0Material, then it retained its previous value: 'TIP120'. 
Recently we have migrated to BW 7.0. Now, the variables no longer retain their values in the same session and the user has to type the value again. (personalization is an option but we want the variable should retain the values in same session).
Any help/advise on this will be of great importance as the user is not very comfortable putting values again, each time he runs the report.
Warm Regards,
Sumita

Hi,
Although this may not be the ideal answer for your question. This is another solution for your Question.(Personalizing Variables)
Go through this link... This will help you for sure
http://help.sap.com/saphelp_nw04/helpdata/en/3f/30ae3d47afd652e10000000a114084/frameset.htm
Hope This Helps,
Regards,
rik

Similar Messages

  • Previous value of same variable

    How can I compare previous value of same variable(result) with current value.
    Example, result 1 > result 2 or not, result 2 > result 3 or not, result 3 > result 4 or not, result 4 > result 5 or not.
    import java.util.Random;
    public class Test {
    public static void main(String args[]){
    double A = 5;
    Test Cal = new Test();
    Cal.run(A);
    void run(double A){
    Random random = new Random();
    double result;
    int i = 0;
    do{
    i++;
    result = A + random.nextGaussian() / 2;
    System.out.println(result);
    }while(i<5);
    }

    Welcome to the forum.
    960130 wrote:
    How can I compare previous value of same variable(result) with current value.introduce a temporarry (local) variable that gets the previous value of <tt>result</tt> before the latter is overwritten.
    BTW: plese read
    https://wikis.oracle.com/display/Forums/Forums+FAQ
    Especially section Are there any useful formatting options not shown on the sidebar?
    bye
    TPD

  • Same variable "used in more then one InfoObject"

    I want to use the same user entered value as part of the definition of two different restricted key figures, restricting on two different characteristics.  Basically the user will enter a date, and one key figure includes only those with a "Calendar date" < the entered date, the other will have "Date1" less then the entered date and "Date2" greater the entered date.  When I try that, I get the error "Variable Select Date used in more then one infoObject".  How can I either use the same variable for more then one characteristic, or create a new variable that takes the value of the "Select Date" variable without prompting the user to enter the same date multiple times.
    thanks
    Val

    Hi Val,
    Hereunder an example of a routine extracting year from month, month inserted manually (year = anno in Italian):
    DATA: loc_var_range LIKE rrrangeexit.
    DATA: l_s_range TYPE rsr_s_rangesid. 
    DATA: v_anno(4) TYPE c.
    CASE i_vnam.
      WHEN 'VCE_ANNO'.
        IF i_step = 2.
          CLEAR l_s_range.
          LOOP AT i_t_var_range INTO loc_var_range
                  WHERE vnam = '0PCALMON'.
            CLEAR v_anno.
            v_anno = loc_var_range-low(4).
            l_s_range-low      = v_anno.
          L_S_RANGE-HIGH     =
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'EQ'.
          ENDLOOP.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    endcase.
    Ciao.
    Riccardo.

  • Change the value of a variable used in a View query

    I am using JDeveloper 11g to develop a simple portlet application which displays data loaded from database. I am displaying the data by dragging the ViewObject from the AppModuleDataControl to the View.jspx page and selecting the option ADF Read-only Table. My ViewObject has a single variable :empId. Now is it possible to change the value of this variable with a value that comes from the request object. On the internet I found the following code:
            FacesContext facesContext = FacesContext.getCurrentInstance();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp =
            elFactory.createValueExpression(elContext, "#{data.AppModuleDataControl.dataProvider}",
            Object.class);
            ApplicationModule am = (ApplicationModule)valueExp.getValue(elContext);
            ViewObject emplVO;
            emplVO = am.findViewObject("EmployeeView1");
            emplVO.setNamedWhereClauseParam("empId", "1");I have put this code in the public void processAction(ActionRequest request, ActionResponse response) method. However this does not work when I deploy it.
    Does anyone know if the above code is correct in this case and if there is a better way how I can set this up?

    Hi there:
    Did you add a break point and debug the code to see what is the value for the :empid parameters passed in to your view object?
    If you are sure you have passed in the correct value for ":empid" parameter, then do the following:
    String amDef = "yourAmDef";
    String config = "yourConfig";
    ApplicationModule am =
    Configuration.createRootApplicationModule(amDef,config);
    ViewObject emplVO;
    emplVO = am.findViewObject("EmployeeView1");
    emplVO.setNamedWhereClauseParam("empId", "1");
    empVO.executeQuery();
    which will execute your view object with the new bind variable value and refresh the view.
    Please mark my answer as 'Correct' if it solves your problem, or 'Helpful' if it does.
    Thanks,
    Alex
    Edited by: Alexbie on 27-Aug-2010 8:52 AM

  • How to assign a value to ODI Variable using ODI Procedure

    Hi ,
    Is it possible to assign a value to a ODI Variable using ODI Procedure ?
    If it is possible how we can do that.
    BEGIN
    IF #Counter=1
    Then
    #Next_Increment:=#Counter+1;
    End if;
    END;
    In my example I have 2 ODI Variables #counter and #Next_increment.
    I am trying to assign VALUE TO A ODI VARIABLE #next_increment from another ODI Variable #counter.
    thanks
    prasanna

    Prasanna,
    I have a similar requirement where I need to assign values to ODI variables within a procedure. How do we make use of an ODI package to accomplish this ?
    Actually, I have a sequence of ODI steps, and there is a call to a procedure 'LOG ERROR' from every step which gets called in case error occurs in any step. I just need to identify from which step the error came.
    Please help.

  • Display of calculated field value in same field using form personalization.

    Hi All,
    What could be the solution, if i want to have the formula on same display field.
    say..your entering value in grams and convert into ml in the same field of (:Q_RES.DISPLAY5)
    Conversion formula:
    (TO_CHAR(TO_NUMBER(:Q_RES_DISPLAY5)-(0.35))/((1.025)*(0.9986))/3)
    When I move out of THIS field, it should convert using above formula and store it in same field.
    Appreciate your efforts.
    Thanks a lot...

    What could be the solution, if i want to have the formula on same display field.
    say..your entering value in grams and convert into ml in the same field of (:Q_RES.DISPLAY5)
    Conversion formula:
    (TO_CHAR(TO_NUMBER(:Q_RES_DISPLAY5)-(0.35))/((1.025)*(0.9986))/3)
    When I move out of THIS field, it should convert using above formula and store it in same field.
    Appreciate your efforts.

  • Can the Same Variable used in the copied Queries and can it be transported?

    Hi all,
    While Transporting a Query from Developement to Quality, there is some elements missing in the
    Z Query, example:
    "Error when activating element 4BFWXYMKOQF5BQ373003Z2YZV
    Element 4BKGUS2Z64GKGEF9QH60W4MUJ is missing in version M"
    4BKGUS2Z64GKGEF9QH60W4MUJ is a varible that is created under Contract Account, processed by Replacement Path.
    There was a Y Query in developemt, i copied it as Z Query and while transporting this Z Query from Dev to Quality im getting this error.
    But when i go into the Query definition of Z Query i can see that same varible is present under Contract Account, but while transporting, it is giving the above error message as its missing.
    Please can you help me out what are the next steps to be taken.
    Thanks,
    Sowrabh
    Edited by: sowrabh srinivas on Feb 20, 2009 6:37 PM

    Hi Naveen,
    Ya you are right i think there is problem with development package.
    That was really helpful.
    How to know that variable is in whch package?
    Is it through Query definition we can see that?
    Please give me the T Code's or Tables wher i can find the Package names and wher i can change the package.
    Thanks in advance,
    Sowrabh

  • Dvm error while trying to assign dvm value to a variable using Assign

    <bpelFault><faultType>0</faultType><subLanguageExecutionFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is dvm:lookupValue('S:/JDeveloper/mywork/GPRDSecurityLevelDataRouterApp/GPRDSecurityLevelDataRouter/EnterpriseAppSecurityLevels.dvm','SecurityLevel','1','EnterpriseAppQueueName',''). The XPath expression failed to execute; the reason was: internal xpath error. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary></part><part name="code"><code>XPathExecutionError</code></part></subLanguageExecutionFault></bpelFault>
    Kindly help identifying the issue here.
    Regards,
    Sridhar.

    It worked when I used this
    dvm:lookupValue('EnterpriseAppSecurityLevels.dvm','SecurityLevel','1','EnterpriseAppQueueName','Default')
    instead of this
    dvm:lookupValue('S:/JDeveloper/mywork/GPRDSecurityLevelDataRouterApp/GPRDSecurityLevelDataRouter/EnterpriseAppSecurityLevels.dvm','SecurityLevel','1','EnterpriseAppQueueName','')

  • How to use the value of a variable to set another variable

    Hello Experts,
    Is it possible to access the value of variable set by the user and set the default value of another variable using the user entered value for the first variable? Example:
    Date variable
    Week variable
    Month variable
    User enters one of those and the other two are automatically prefilled with the correct values?
    Thanks
    Rado

    Hi Rado,
    Gothrough following code
    Which reads year from user input and converts it to factory calendar week , following which you should able to convert user inputs to required parameters.
    DATA:  v_year1 TYPE i,
            v_int   TYPE i,
            v_week1 TYPE kweek,
            v_qurt  TYPE i,
            v_perd  TYPE /bi0/oifiscper,
            v_iweek TYPE i,
            v_periv TYPE periv VALUE 'Z4'.
    DATA : v_vweeks  TYPE /bi0/oicalweek,
            v_vperd   TYPE /bi0/oifiscper,
            v_vperiv  TYPE /bi0/oifiscvarnt VALUE 'Z4'.
    DATA : vit_weeks LIKE /bi0/scalweek OCCURS 0 WITH HEADER LINE.
    DATA : v_perd1   TYPE umc_y_fiscper,
            v_weeks   TYPE umc_ys_dimvals,
            v_pweeks  TYPE i.
    CASE i_vnam.
       WHEN 'WPIYWEEK'.                "Variable name of char. in Bex
    *Check for Step 2 (After user gives inputs on selection screen)
         CHECK i_step = c_after.                                "Step:2
         CLEAR :  v_year1,
                  v_week1,
                  v_iweek.
    *Read the value of variable which used has entered on sel. screen
         READ TABLE i_t_var_range INTO wa_var_range
                                     WITH KEY vnam = 'WPIFYEAR'.
         v_year1 = wa_var_range-low.
         CALL FUNCTION 'TIME_GET_LAST_WEEK'
           EXPORTING
             if_year     = v_year1
           IMPORTING
             ef_week     = v_week1
           EXCEPTIONS
             fatal_error = 1
             OTHERS      = 2.
         IF sy-subrc <> 0.
    *           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
    *Get the no. of week from YYYYWW format
         v_iweek = v_week1+4(2).
         l_s_range-low  = v_iweek.
         l_s_range-sign = c_include.
         l_s_range-opt  = c_equal.
         APPEND l_s_range TO e_t_range.  "This is the output structure in which u have to add the result
    Endcase.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • ALL variables in one single report

    Hi Experts,
    I have one requirement, i am creating report on multi provider , so i have to create report to include all variable and it's definition(for wht purpose the variables are created means with description in report.).
    So is there any posibility Please explaine me clearly how we crarte report on all variables.
    Thanks in advance
    Bharati

    Hi Bharati,
    Still not clear about the requirement ......
    There is a table for variable name and its description been stored.  Please do generic extraction using table of view and load data to cube.  then generate a report on top of it.  But purpose of variable may be differ for each report , identifying of the purpose of the variable not possible with out manual intervention.   eg. i have calmonth variable reference to document data which ready for input .. using the same I am deriving a customer exit variable to populate ytd or mtd how will you analyze this ??  if I want to use same variable to any other report which used to used as it is based on doc date..
    Thanks
    BVR

  • How to send different value of presentation variable in GO URL??

    Hi there,
    I'm using GO URL to send presentation Variable (d_pv) to filter other report on 'day' column.....
    '(a href = http://server/analytics/saw.dll?GO&path=/shared/BI%20Reports/Ki1/KPIs%20Detail%20Priority%203%20Shipped&Action=Navigate&p0=1&p1=eq&p2="Time".Day&p3=@{d_pv})SHIPPED(/a)'
    This is working fine. But my goal is to filter the other report using previous day of the value of d_pv (eg. if d_pv value is '2010-04-27' , I need to filter other report using '2010-04-26')
    I couldn't find to pass one day back value of presentation variable using go url.
    Please Help..
    Edited by: bob123 on Apr 28, 2010 10:15 AM

    I'd say use TIMESTAMPADD(SQL_TSI_DAY,....,1) and use pass your pres variable to this column.
    so when you pass 28/04/2010 to the target report day+1 column, it will show 27/04/2010 data.

  • Sending VALUES of CF variables thru  FlashVars

    Hey There!
    I am testing a simple application where I am trying to send
    back to flash (AS3) some variable values from coldfusion. It works
    just fine when I assign the value in CF "by hands" i.e.
    <cfsetting enablecfoutputonly="YES">
    <cfset Return = "&Numbers=456&">
    <cfprocessingdirective suppresswhitespace="Yes">
    <cfoutput>
    #Return #
    </cfoutput>
    </cfprocessingdirective>
    Then flash accepts the value of variable Numbers of 456.
    Now I ran into a problem, when I need instead of steady 456
    pass the VALUE of CF variable. I was trying the following way:
    <cfsetting enablecfoutputonly="YES">
    <cfset x = 123>
    <cfset Return = "&Balls=&">
    <cfprocessingdirective suppresswhitespace="Yes">
    <cfoutput>
    #Return#=#x#
    </cfoutput>
    </cfprocessingdirective>
    In this case I receive no value in flash assigned to Balls
    Can anyone please let me know that is the proper way to pass
    VALUES of CF variables using flashvars?
    Or maybe you know where to find a tutorial showing how that
    was done.
    Thank you

    I don't know what you're trying to do. However, since the
    Numbers example works, here are the respective versions that are
    similar to it:
    <cfset Return = "&Balls=">
    <cfprocessingdirective suppresswhitespace="Yes">
    <cfoutput>
    #Return##x#&
    </cfoutput>
    </cfprocessingdirective>
    <cfprocessingdirective suppresswhitespace="Yes">
    <cfoutput>
    &Balls=#Tostring(x)#&
    </cfoutput>
    </cfprocessingdirective>

  • How to use SYSDATE as a default value of a bind variable in a query report?

    Hi,
    I want to use SYSDATE as default value for a bind variable in Query based report.
    I don't see any way to do it, someone helps?
    Thanks a lot.
    Paulo.

    You can aslo use #sysdate directly.
    Hi,
    The way I'm doing in my report is, I have a database function (f_ret_sysdate) with the following code
    create function f_ret_sysdate return varchar2
    begin
    return to_char(sysdate,'mm/dd/yyyy');
    end;
    Now, in the 'Customization Form Display Options' section of the report I'm calling this function as #f_ret_sysdate in the default value field of corresponding bind variable to display SYSDATE with the format.
    Hope this helps!...
    -Krishnamurthy

  • How to use the same variable value for data entry and the planning sequence

    Hi,
    the scenario is the following:
    Using the WAD template a user enters cost center plan data. The cost center is selected by the chosen value for the variable "V1".
    Afterwards he shall push a button which starts a planning sequence (including saving the data and further functions). This planning sequence uses a filter that also contains the variable "V1".
    What or where has it to be defined that the planning sequence uses automatically the same value for the variable "V1" as selected for the data entry?

    You have to define in the planning function. The planning sequence is only a sequence and it read the planning functions underneath it.
    Ravi Thothadri

  • To pass new session variable value to stored proc before running a report.

    Hi,
    Below is summary of the report requirement -
    Database level design
    1. Created a view and a global temporary table (GTT)
    2. Created an Oracle package procedure to accept from and to business dates on basis of which it will fetch, process and populate the GTT.
    Repository level design
    1. Created a business model containing the view and the GTT (mentioned above)
    2. Created two SESSION variables "from_dt" and "to_dt" to be initialized by their respective init blocks. Each of the variable is initialized with a DATE column value (of type DATETIME) from a database lookup table. I have also set the option "Enable that variable to be set by any user" for both variables.
    Query for these variables :
    from_dt = select from_date from <table>
    to_dt = select add_months(from_date,12) from <table>
    Presentation level design
    1. Using a text box, i display the default/initialized values of these variables like this -
    Current business date:@{biServer.variables['NQ_SESSION.from_dt']} Future business dt:@{biServer.variables['NQ_SESSION.to_dt']}
    Dates get displayed in YYYY-MM-DD 00:00:00 format
    The text msg displays these default dates and allows the user to specift different date range for which i create prompts as shown below.
    2. Using any random two columns of date type from the business model, i create two date dashboard prompts with labels "From Dt" and "To Dt".
    i select Calender Controls for both; setting Default To = Report Defaults.
    The Set Variable is set to Presentation variables - such that pv_from_dt maps to "From Dt" and pv_to_dt maps to "To Dt".
    3. i create the report using the business model created above. In the report "Advanced Tab" => "Prefix" field i specify the following -
    SET VARIABLE from_dt='@{pv_from_dt}',to_dt='@{pv_to_dt}';
    Note : The logic here is to display the default dates and allow user to specify different date values which will be stored in presentation variables.
    If the user does specify different "from dt" and "to dt" values, then using the presentation variables, i want to "write" back these new values to the corresponding session variables mentioned above.
    If the user does not specify different date range, then the default/initialized dates must be considered.
    I also display the default and new date values in the report title.
    Back to Repository level design
    To execute the stored procedure that will load the GTT before running the report I need to pass two date parameters to the stored procedure on basis of which it will fetch data, process and populate the GTT.
    In the Connection Pool --> Connection Script Tab --> Execute before query, I wrote the below query using the repository variables FROM_DT and TO_DT to execute the procedure -
    DECLARE
    v_from_dt date;
    v_to_dt date;
    BEGIN
    v_from_dt := VALUEOF(From_Dt);
    v_to_dt := VALUEOF(To_Dt);
    package_name1.package_body(v_from_dt,v_to_dt);
    END;
    Now when i try to run the report i get the following error :
    [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.to_dt, has no value definition. (HY000)..
    Need help on this.
    Is it possible to "write back" a new value to a session variable ?
    Any other alternatives.
    Thanks
    Nusrat
    Edited by: user10309945 on Jan 24, 2011 10:08 PM

    Sandeep, I found a several topics where users describe saving values in DB through stored procedure or function. For example, [How to store OBIEE presentation level variable values in DB |http://forums.oracle.com/forums/thread.jspa?threadID=892006] I tried it and get an error
    *10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 14551, message: ORA-14551: cannot perform a DML operation inside a query ORA-06512*
    It's not a BI error. This error are generated by Oracle DB. If I write next:
    SELECT MyPLSQLFunction(p1,p2) FROM DUAL
    I get the same error.
    Oracle doesn't allow DML operations in SELECT.
    Did you relalize this feature yourself? Where did I mistake?

Maybe you are looking for

  • Mail Messages arrive then disappear.

    My emails are being pushed to my 3g iPhone but they almost immediately disappear from my Inbox. Any solutions?

  • User status or user exit

    Dear Gurus, My client requirement is              If my production order status is MSPT(Material shortage),CNF and PCNF should not be possible.Please suggest If any body come accross this situation with user exit or user status please forward the sol

  • Which cisco device to register a 7921g to?

    what cisco devices are capables to register a 7921g wifi ip phone? I think I can do it wiht a uc520 for example, but,  there would be any other smaller device? I have a cisco srp527 wich gives me dsl conection, and I´m trying to connect it with some

  • Retrieving Windows ID in Form

    Hi, How to retrieve user s windows authentication ID inside a pdf form opened in Forms Manager. I have to retrieve user details and populate in the form based on the Windows ID. Thanks in Advance Srinath

  • Mac pro 1,1 to mac pro 2,4

    helloi, I have just bought a used Mac Pro 2,4 (I think) to replace my Mac Pro 1,1. My question is what is the easiest way to migrate.  Can I simply place the drive 1 disk from the old machine in one of the slots of the new machine and use restore or