Date on workbook refresh

Hi All,
I created an workbook and inserted an query into the workbook, but upon refreshing the query in workbook it is not asking for a date to refresh,do you know the setting to ask for a date when i click refresh.
Thanks,
V.Singh.

This will only work if you have a variable in the query that is related to a date.
Lets say this query is on sales data, you would to restrict the query on a date (lets say created on date or maybe a fiscal period) and use a variable in this restriction. This variable needs to be set to manual input and you can chose to have it mandatory or not. You could even use one of SAP delivered variables. When you done this and you refresh the workbook the selection screen will pop up asking to input a value for the variable you used.
Hope this helped, let me know if i misunderstood your issue
C.

Similar Messages

  • Cell data not getting refreshed in which user enters data OO ALV(editable)

    Hi Friends,
    I am using OO ALV for editable grid display.
    I am unable to change grid data in the cell in which user enters something, using OO ALV. Did through debugging of my own program and found that some problem with system program. Then I did all system debugging. Could not find out why is the grid not getting refreshed with the new data in the cell in which user had entered some value. Rest of the cell's data are getting refreshed with the values which i am updating in the final internal table. I can see that the data in the final internal table is changed for the cell in which user enters data. But even after the call of
          CALL METHOD obj_alvgrid1->refresh_table_display
    does not refreshes the data in the cell in which user had entered data. Rest of the cells data are getting refreshed.
    Piece of code:
      SET HANDLER obj_event_receiver->handle_data_changed
                                         FOR obj_alvgrid1.
        METHODS: handle_data_changed
                       FOR EVENT data_changed OF cl_gui_alv_grid
                           IMPORTING er_data_changed
                                     e_onf4
                                     e_onf4_before
                                     e_onf4_after.
    METHOD handle_data_changed.
      DATA : v_valid    TYPE char1,
             v_refresh  TYPE char1.
    *--check mt_good_cells semantically
      CALL METHOD perform_semantic_checks( er_data_changed ).
    *--If PBO is again visited, just refresh the ALV grid.
      CALL METHOD obj_alvgrid1->refresh_table_display
        EXCEPTIONS
          finished = 1
          OTHERS   = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    ENDMETHOD.
    METHOD perform_semantic_checks.
        LOOP AT er_data_changed->mt_good_cells INTO w_good.
          v_index = sy-tabix.
          CASE w_good-fieldname.
            WHEN 'ZASCAS'.
    *Now here based on some conditions I am changing my final internal table i_zamtsmatnp
                              MODIFY i_zamtsmatnp FROM w_zamtsmatnp INDEX
                                               w_good-row_id TRANSPORTING
                                                 zascas modif.
    User enters data in zascas field. Based on the data entered, I am changing other fields which is getting refreshed. I am also changing zascas in the program even after user had already entered the value which was bit wrong and i am correcting it in the program on the even "data_changed" even.
    Please help me friends as i m strugling past hours wondering why the data is not getting refreshed for the cell in which user enter data.
    Regards,
    Surya

    Hi Surya,
       The approach you are following is correct. You need to use the comibnation of all these things:
    Event - DATA_CHANGED
    Methods - CHECK_CHANGED_DATA
                 -  GET_CHANGED_DATA.
    However, here are few standard programs which are having similar functionality.
    BCALV_EDIT_03
    BCALV_EDIT_07
    Check out these once.
    Note: If anything is helpful, dont forget to reward points
    Thanks,
    Adithya K
    SAP Practise
    [email protected]

  • How to avoid multiple copies of data in page refresh

    How to avoid multiple copies of data in page refresh

    If you are talking about a page with an insert query, ignore the fact that it's a page refresh.  It's just another way that someone can insert duplicate records.  I like to handle this in my insert query.
    insert into thetable
    (f1, f2, etc)
    select distinct
    value1, value2, etc
    from some_small_table
    where you don't already have that record

  • Nightly scheduled workbook refresh: monitoring is any failed

    Is there a way to monitor if any workbook refreshes failed during the night batch window using SQL script or something like that?

    Hello Samuel/Raman,
    Is getting below error related to the same reason as mentioned in this thread - 
    Failure Correlation ID: 3e0e1f6a-cdfe-40ac-8d05-5e86f50052ef 
    Errors in the high-level relational engine. The following exception
    occurred while the managed IDataReader interface was being used: The operation has timed out.
    The query takes around 27 mins to execute.
    Thank You

  • PowerPivot removed table replicated into the data model on refresh

    Hey
    I am facing the following problem which is absolutely persistent and annoying in nature. I am using a data model created with PowerPivot with connections to three different SQL servers and 25 tables. The bug is that every time I refresh my data, a table
    that was initially added to the data model (and later removed) is replicated in equivalent number of tables that use this connection, which is currently around 12 tables, so I get 12 duplicates of the same unnecessary table on every refresh, named with the
    name of the schema on the SQL server that is followed by a running number. Removing these from the data model on every refresh simply takes too much time on a daily basis. The additional undesired table which is created is what is defined in the SQL query
    of the connection string of this connection.
    I tried to solve this problem by zipping the Excel file and modifying this SQL statement present in the connection string in the connections.xml file in a way that it would not return anything, but this always leads into a corrupted workbook.
    After encountering this I have managed to avoid this problem by making sure that the initial table I'm adding to the data model will remain in the model, but I really don't want to rebuild this current model. Is there any fix for this issue without
    rebuilding the data model?
    Thanks for all the help in advance!

    I am using 64-bit Office 2013 with the recent SP1 upgrade and the included PowerPivot plug-in on a Windows 8.1 machine.
    I always create the connection by using "From SQL server" then fill in the server and log in details and use a ready SQL statement that I have written by using SQL Server Management Studio to import the initial table. For all the preceding tables
    using the same server and schema, I always select it from existing connections and just paste the SQL queries required for any additional tables to the "Write a query that will specify the data to import", rather than using the table import tool.
    I am not sure if it could have any effect that I've been using the type connection "From SQL server" although the database is really running on Azure (there is a possibility to select From Other sources > Microsoft SQL Azure, but the functionality
    seems the same).
    I don't really understand what I should edit from the existing connections section. Just to clarify, apparently the Connection String parameters can be edited from PowerPivot, but not the Command Text which can be viewed from Excel Data > Connections
    > Properties, but is shown in gray with a message "Some properties cannot be changed because this connection was modified using the PowerPivot add-in."
    In the data model I am using two sets of identical tables, but connected to two different servers that are running a database 1:1 in structure. Initially the problem considered only the other of these, but I accidentally reproduced it by, again, editing
    the SQL query in the table that was initially imported when that connection was created (PowerPivot > Design > Table Properties). Now when refreshing I get tables that are structured as in what the "Connection Text" part of the connection would
    produce, which replicated for the equivalent amount of additional tables using the same connection, so now I'm getting 12 tables (the number of tables using the same connection) each named "*schemaname1* Query", "*schemaname1* Query2",
    "*schemaname1* Query3" "*schemaname2* Query" and so on.
    Personally I can definitely see a pattern here. If there isn't a table matching what has been specified in the "Command Text" that was described when the connection was created, then it for some reason runs this query anyway on every table that
    is using the connection.

  • Not showing Variable screen in Workbook - Refresh

    Hi BW Experts,
    I am working on BI 7.0
    When I try to refresh Workbook in Analyzer it is refreshing the query giving current data, but it is not showing Variable screen.
    What should I do to open variable screen when I click on Refresh button in Workbooks.
    Kindly advise.
    Ram,

    You should click the 'refresh variable values' button.
    Also switch on the 'process variables on refresh' in the workbook properties.

  • Workbook Refresh Sheet Protection

    Hello Gurus.
    I want to protect some cells in the sheet from the user, in order not to modified it, i'm using BEx 3.5 and the excel function of blocking cells and sheet protection, but when I save the workbook and then try to refresh it, it's saying me that this function is not available with excel protection, so I wonder of another way of protect my cells from user and also be able to refresh data in query.
    Thanks in advance.

    Hi,
    there is a possibility to use the SAP Workbook protection.
    Menu Business Explorer->Tools->SAP Protection. This prevents people from changing anything outside query area.
    regards,
    Raymond Baggen
    Uphantis bv

  • Automate Workbook Refresh

    Hi All,
    Does anyone have a way to automatically refresh a workbook and save it to a file folder? We have a workbook that is highly formatted and has multiple queries on one worksheet so the reporting agent as I understand it won't help me, but let me know if I am wrong. Any ideas will be appreciated.
    Thanks in advance.

    Hi Soniya,
    I saw your original posting with this question.  I did not respond to that posting because this is really not something that can be done in VB.
    With VBA in Excel, you can schedule a routine to run (the command is Application.OnTime, then give the time for the subroutine to run and the name of the subroutine).  But, this has 2 problems for your application:
    1.  this allows only "time", not "date + time"
    2.  the schedule stays in Excel memory; which means it gets lost if Excel is closed.
    I would think that using scheduling within BW is the right way to do this.  But, I am not an expert on that subject.
    If the workbook is stored on a local or LAN drive vs. on the BW server, then the only other option that comes to mind is Windows scheduling (and set up the workbook so that your macro will kick off automatically when the workbook opens).
    Here is a link that gives instructions on how to use Windows scheduler:
    http://www.iopus.com/guides/winscheduler.htm
    Hope this helps.
    - Pete

  • Table data does not refresh

    Using LV2010.
    A table displays the test configuration that has been selected by the user.  This appeared to work fine until recently. 
    Nothing in that area of the code has changed .
    The issue is that although valid data exists on the wire and it even gets written to file, nothing is displayed in the table.
    The operator can click multiple times and nothing is displayed.  Even when running with highlight execution turned ON, the table does not get refreshed.
    Unfortunately, each time the operator click the button to insert the configuration, it does.  But it is not displayed.  The same list goes to the table.  You would expect the subsequent attempts would cause all the items to be displayed when it finally does, but no... only the last selection gets displayed.
    I've recently taken over the project and did notice that a previously working feature was not working.  That feature was to allow multiple selections to be inserted at once.  I suspect the feature still workes, but the table only displays a single line of data.
    I did find a thread that started to discuss a similar behavior with a link to a description of the bug, but that page appears to have dissappeared from the website.  It was discussed in 2005.
    Is there a way to force a refresh display on a table?  Another thought... Could it be that the table is displaying data from a portion further down the list which makes it appear as if there is no data?  As I said earlier, this section of code was not touched and it is the only area where the table data is updated and the display refreshed..
    Has anyone else seen this behavior?
    As can be seen above, the probe does "see" the data on the wire.  The screen capture was taken after the data flow had completed the entire state. The wire itself claims to have a 2D array of 1 X 11 elements.  Normally, this data would be displayed.  I can't think of why it wouldn't be displayed.  If I could, I wouldn't be posting this.. 
    I am curious if this is a LV bug...
    Attachments:
    TableDataInvisible.PNG ‏21 KB

    You know me & locals... 
    Plus the property node was used for something else.
    I fear using the VI Analyzer would... well... euh..  hummm...  how to say this,...
    blow up.. 
    LOL!! 

  • Data federator Universe refresh issue

    Hi all,
    we are facing the issue refreshing the Universe which is based on Data Federator.
    whenver the changes are done in BW Cube i.e adding the dimension or the keyfigure. the dimensionobject  is not appearing in the Universe.even we delete the dimension or a key figure from BW and then refresh the dependent tables in DF . Deploy again the project,it is updating the catalog but when we refresh the Universe it is not refreshing properly
    SO data federator and BW are in Sync but when we refresh the Universe it is not in sync
    we are using BO XI SP3  and BW 7.01 SP7
    I would really appreciate your valuable inputs regarding this issue
    Regards
    Suzane paul

    Hi Amit,
    Thanks for your reply.
    Ok. So, Universe on top of Data Federator has limited functionality.
    And, other option you mentioned is on report level. I am creating an adhoc universe and I have few objects which will calculate days between 2 dates coming from 2 different tables.
    But, how can I achieve this on Data Federator level. I have no function there to find Days Between 2 dates. I see lot of time and date functions but not the one I required. Also, I added a column in the target table and tried to apply the formula there in the default mapping area. But, I see only the selected target table. I need another date column from another table, which is not displayed in the default mapping area.
    How can I achieve this?
    Regards,
    -Peter

  • Multiple Queries in Workbook - Refresh Screen Shows Up for Every Query

    We have multiple queries in a workbook.  All of these queries have the exact same selections for the variable selection screen.  When all the queries are refreshed once, the selection screen used to show up once and all the queries are refreshed with the same selections.  
    We were on BI 7.0 and SP10.  We recently moved to SP12.  Since the SP12 installation, the multiple query refresh pops-up the selection screen for every query.  It is nothing like "multiple query refresh" at once since the user has to click "execute" button for every single query.  It is interesting to note that the selection screen only contains hierarchy variables and hierarchy node variables.  The other variables of selection screen do not show up.  I couldn't find any OSS note on this topic.  Please let me know if anyone has any comments on this issue.  I will assign points to useful posts.

    hi Sameer,
    try to update front end patch to latest version ?
    Using the BI 7.x Add-On for SAP GUI 7.10 - Requirements
    hope this helps.

  • How can we update the date&time without refreshing the page

    Hi friends,
    I have a jsp page. In that there is Date and Time. The date and time should be updated for every one minute without refresh the page(dynamically).
    Its urgent for me
    Thanks
    Mallik

    hello friend ru looking at date and time @ client side frm the server side if it is all about the client side date i don't think there is use of AJAX triggers and rendering the view by modifying the dom...
    here is an example for you..
    <%@ page language="java"%>
    <HTML>
    <HEAD>
    <SCRIPT language="JavaScript">
    function startclock()
    var thetime=new Date();
    var nhours=thetime.getHours();
    var nmins=thetime.getMinutes();
    var nsecn=thetime.getSeconds();
    var nday=thetime.getDay();
    var nmonth=thetime.getMonth();
    var ntoday=thetime.getDate();
    var nyear=thetime.getYear();
    var AorP=" ";
    if (nhours>=12)
        AorP="P.M.";
    else
        AorP="A.M.";
    if (nhours>=13)
        nhours-=12;
    if (nhours==0)
       nhours=12;
    if (nsecn<10)
    nsecn="0"+nsecn;
    if (nmins<10)
    nmins="0"+nmins;
    if (nday==0)
      nday="Sunday";
    if (nday==1)
      nday="Monday";
    if (nday==2)
      nday="Tuesday";
    if (nday==3)
      nday="Wednesday";
    if (nday==4)
      nday="Thursday";
    if (nday==5)
      nday="Friday";
    if (nday==6)
      nday="Saturday";
    nmonth+=1;
    if (nyear<=99)
      nyear= "19"+nyear;
    if ((nyear>99) && (nyear<2000))
    nyear+=1900;
    this.document.getElementById("clockspot").innerHTML = "<b>"+nhours+": "+nmins+": "+nsecn+" "+AorP+" "+nday+", "+nmonth+"/"+ntoday+"/"+nyear+"</b>";
    setTimeout('startclock()',1000);
    </SCRIPT>
    </HEAD>
    <BODY>
    <div id="clockspot"></div>
    <SCRIPT language="JavaScript">
    startclock();
    </SCRIPT>
    </BODY>
    </HTML>hope this might help :)
    REGARDS,
    RaHuL

  • CRM Header data not getting refreshed in BADI when clicked in New order

    We have used a ORDERADM_H BADI, header badi to populate some custom field values.
    Step 1) While creating sales order in CRM(CRMD_ORDER), we are giving inputs such as sold to party , material etc.
    Step 2) Before actually saving the order, we found that we dont need this order to be created and again click on create new button in the transaction. In order header BADI, order data for the previous order is not getting refreshed. The previous GUID is still there and function module CRM_ORDER_READ still retrieves the old order values which was cancelled in the previous step. It is causing lot of issues and finally giving dump.
    basically the previous GUID is not getting refreshed. Please suggest

    Pls send the code that you have in the Badi. Did you actually compare the GUIDs manually ? Instead of CRM_ORDER_READ have you tried using CRM_ORDER_READ_OW ?

  • Workbook refresh displays key instead of text

    Hi,
    We are on NW2004S rampup. Our support pack level for Quality environment is 7. When we execute the workbook in management cockpit in transaction UMM_PRES, the calendar month is displayed as text. When we refresh workbooks, the calendar month changes from text to key., like from Jan 2006 - May 2006 to 01/2006 - 05/2006. This happens for every refresh. On the other hand when we log back and display, text is shown and with every subsequent refresh key is displayed. This does not happen in Quality system under 3.0b version. My search on OSS notes does not get any relevant  one. Anyone having similar experience?
    Thanks.
    Param

    Hi David,
    I am able to get the result as text only after each refresh. This is made possible as follows:
    In RSD1, I changed the following under BEX tab.
    Display  changed to Text
    Text type changed to medium type
    The Text type is  new one in 2004S as compared to 3.x.
    Tnx.
    Param

  • Restriction of data in workbook in SAP BI 7.0

    Hi All,
    We are restricting new queries and workbooks but a particular work book is displaying data even when the analysis authorization is removed from the user ie wether the user has this authorisation or not he is able to view the result in the workbook.
    The ifoobject should restrict the customer division by consumer but it is also showing for commercial.
    The infoobject and the attributes are allready authorisation relevant.can you please let me know where the problem can be
    Regards
    Mohammed

    Hi Mohammad,
    What is reuslt when you run the query? Is it showing all values or restricted values?

Maybe you are looking for