Data status on the Query

Hello,
What are the ways can we do this ....
When a BW user logs on to execute a query via Analyzer, Query Designer or on the Web. The BW User should be notified at the point of executing the query in some manner if there is any problems with the loading of the cube, masterdata, or any other info objects pertaining to the query.
In other words, the user is to be informed if the data is not valid at the point of running the query.

I am not aware of the way where the message is automatically displayed ... but here is one way..
Enable "Display Text Elements"
Bex Analyzer Tool bar -> Layout -> "Display Text Elements" -> General
This will display all the general Information of the query such as the user who created the query, InfoProvider of the query, Key Date, Status of Data, Last Refreshed etc. If the "Last Refreshed" is greater than "Status of the data" then it means the last refresh has not yet successfully finished. I am not sure if there is any other conditions where this "Status of the data" date will be less thatn "Last Refreshed" Date.
Hope this helps!
Regards,
Vinod Swarnapuri

Similar Messages

  • Date format at the query

    hi
    Can  You Please suggest how minimal we can correct this at the query output
    My coming output for the date field at the query is
    01/28/2008
    04/27/2006
    06/1/2006
    05/16/2006
    Desired Output for the query field at the query is
    1/28/2008
    4/27/2006
    6/1/2006
    5/16/2006
    Zeroes should not be present can you quickly help me in this regard

    Hi
    Check conversion routine on info object maintainance .
    Regards,
    Chandu.

  • Data load status on the Query

    Hello,
    What are the ways can we do this ....
    When a BW user logs on to execute a query via Analyzer, Query Designer or on the Web. The BW User should be notified at the point of executing the query in some manner if there is any problems with the loading of the cube, masterdata, or any other info objects pertaining to the query. 
    In other words, the user is to be informed if the data is not valid at the point of running the query.

    Please check my reply to your other message in "BI Suite – Business Explorer" forum.
    Also, In future please try to post it in one forum. Most of the people view all the forum's post using SAP Business Intelligence view.

  • Data Error in the Query/Report after selective data deletion for infocube

    Hi Experts,
    Please advise what i was missing and what went wrong...
    I got a Query (Forecast) on a Multicube...which is based on 2 Infocubes with Aggregates...
    As i identified some data discrepency..yesteraday i performed selective data deleation on one of the Infocube
    and executed report yesteraday and the results in the query are correct...
    When today i executed the same report i am getting different results..
    When i compared the results of the report with that of data in cube they are not matching
    The report is not displaying the data in cube..for some rows it is displaying the data in the cube but for some rows it is just displaying same as the above row
    there is no data loaded into info cube after selective deleation
    Do i need to perform request compression and fill the aggregated after selective deleation
    Please advise what went wrong

    Hi Venkat,
    No i haven't done anything on aggregates before or after selective delete
    As there is not data load after the selective delete according to SAP Manual we don't need to perform any thing on aggregates...as selective data deletion on cube will delete data from aggregates as well
    Please update how to identify error

  • Problem to get ResultSet when it is used a Date type in the query condition

    hello ,
    I having a bit of nightmare getting a ResultSet how result of one simple Query for a table when the condition WHERE involve a Date type.
    To change the String value in a date to use in the query condition, I tried both:
    String strDate = "dd/mm/yyyy";
    (1.) java.sql.Date sqlDate = new java.sql.Date(strDate.getTime() )
    (2.) SimpleDateFormat formatter = new SimpleDateFormat(strDate) ; sqlDate = formatter.parse(strDate);
    and finally I use this code to get the ResultSet:
    sql = "SELECT * FROM myTable Where (idCli = " + cd_Cli + " And dateReg = " + sqlDate + ")";
    statement = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    resultSet = statement.executeQuery(sql);
    boolean ok = resultSet.last();
    totNumberOfRegistration = resultSet.getRow();
    But In both the cases I get a empty resultSet.
    I shoul like if someone would look my code to say me where it is the mistake...
    thank you
    tonyMrsangelo
    P.S. I tryed using PrepareStatement too to get the ResultSet, but in that case I couldn't use the ResultSet because executing the statement resultSet.last() I get the error: "Result set type is TYPE_FORWARD_ONLY"

    In a database like Oracle, you need to use a function like TO_DATE; other databases may have something similar.
    However, the proper way to do this is to use a PreparedStatement. Then you can say
    PreparedStatement ps = conn.prepareStatement("update SOMETABLE set SOME_DATE=? where SOME_ID=?");
    ps.setDate(1, new java.sql.Date(someJavaUtilDate.getTime()));
    ps.setInt(2, theId);
    ps.executeUpdate();

  • Data Error in the Query Output

    Hi Experts
    Could you please advise me how to proceed.....and impact of Aggregates
    I had a Query based on a Multicube which in turn is based on 4 Infocubes
    IC1-North,
    IC2-South,
    IC3-EAST,
    IC4-WEST.
    I had Aggregates developed on
    IC1-North,
    IC2-South,
    IC4-WEST.
    Data is loaded according to Location to the respective cubes
    When i execute query based on Multicube...in the variable screen i had a user entry variable...when i select the drop down list of avaliable Location...the list doesn't contain EAST as a Location ID and also when i execute the query with out location it is not displaying IC3-EAST data in the output
    Could you please update me ...what might be the reason of the problem and how to proceed
    Thanks

    Hi Venkat,
    No i haven't done anything on aggregates before or after selective delete
    As there is not data load after the selective delete according to SAP Manual we don't need to perform any thing on aggregates...as selective data deletion on cube will delete data from aggregates as well
    Please update how to identify error

  • Keyfigure value by comparing 2 date fields, in the query designer.

    Hi all,
    Could any one please intimate, how to display the key figure result with the comparison of 2 date fields.
    We are having "Completed Date" say(CDATE) and "Deadline Date"(DDATE) values in the report as time characteristics, dervied from the CRM system.
    Now we need to compare the values as:
    CDATE <= DDATE, then only consider this under "Meeting Planned Date"(Key Figure).
    Could you please intimate, how to display the key figure value, by using the code at  the query designer level.
    Thanks & Regards,
    A.V.N.Rao

    Hi Rao,
    Simple create two formula variables with replacement path from these two date fileds,then create a formula then do the comparison
    Eg:
    ZVAR_CDATE  WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ CDATE
    ZVAR_DDATE  WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ DDATE
    CREATE A FORMULA FORMULA1: IN THE FORMULA BUILDER AREA DO THE COMPARISON.
    Thanks & Regards
    Ramsthota

  • How to get max date field in the query

    Hi,
    We uploads the data into the cube every week.
    Basically we are planning to put some ticker on the query. This ticker will show the user, upto which date the data is available in the cube.
    I want the query, which will show me only the maximum date (maximum 0calday) from the infocube in the report.
    This in turn, I will use in the ticker and make use of it.
    Can anyone please help in making this query.
    Thanks
    Ramesh Ganji

    if 0CALDAY is used as a characteristic then you have to convert that as a key figure using a replacement path variable.
    Please see the below link for changing 0CALDAY as a key figure using Replacement path
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    https://websmp106.sap-ag.de/~sapdownload/011000358700001963972003E/HowToCalcWithAttr.pdf
    Now you have to create an exception "Top N Rows" based on the replacement path variable created above.
    This will solve your problem.
    Regs
    Gopi.
    Award points if it helps ...

  • Count on a header table including the line data also in the query

    Hi,
    I have a requirement to develop a report which shows the metrics on supplier. I need to find the total PO's for this supplier that are matched to invoice
    report has to have toatl#ofpo's, #invoice, total_inv_amt and total_po_amt, total_tax_amt with item numbers also with in a time period. So my question is how can we achieve this I have this below query whih gives all the data but not sure how to get the counts with this. Any ideas
    SELECT hou.name,
    pov.vendor_name,
    api.invoice_num,
    api.invoice_id,
    invoice_date,
    gl_date,
    api.invoice_currency_code,
    apid.line_type_lookup_code inv_line_type,
    apid.description inv_description,
    apid.amount,
    apid.unit_price inv_price,
    amount_paid,
    apt.name payment_terms,
    payment_status_flag,
    apc.check_number,
    apc.check_date,
    poh.segment1 po_num,
    poh.creation_date po_creation_date,
    por.creation_date po_rel_creation_date,
    por.release_num,
    pol.line_num,
    mc.segment1 category_name,
    (select msi.segment1 item_num
    from inv.mtl_system_items_b msi
    where msi.inventory_item_id = pol.item_id
    and msi.organization_id = 1) item_num,
    pol.item_description po_item_description,
    poll.need_by_date,
    pol.unit_price po_price,
    poll.quantity,
    poll.quantity_cancelled,
    poll.quantity_received,
    poll.quantity_billed
    FROM ap.ap_invoices_all api,
    hr_operating_units hou,
    ap_terms_tl apt,
    ap.ap_invoice_distributions_all apid,
    po.po_distributions_all pod,
    po.po_vendors pov,
    po.po_headers_all poh,
    po.po_lines_all pol,
    po.po_line_locations_all poll,
    po.po_releases_all por,
    ap.ap_checks_all apc,
    ap.ap_invoice_payments_all apip,
    -- inv.mtl_system_items_b msi,
    apps.mtl_categories_b mc
    WHERE apt.term_id = api.terms_id
    AND hou.organization_id = api.org_id
    AND TRUNC (poh.creation_date) BETWEEN :p_start_date AND :p_end_date
    AND api.invoice_id = apid.invoice_id
    AND apid.po_distribution_id = pod.po_distribution_id(+)
    AND pov.vendor_id = api.vendor_id
    AND poh.po_header_id(+) = pod.po_header_id
    AND poll.line_location_id (+) = pod.line_location_id
    AND pol.po_line_id (+) = pod.po_line_id
    AND apip.check_id = apc.check_id(+)
    AND apip.invoice_id(+) = api.invoice_id
    AND mc.category_id(+) = pol.category_id
    AND por.po_release_id (+) = pod.po_release_id
    AND pov.vendor_id = 1

    Hi,
    The sounds like a job for the COUNT function. That's all I can say with any confidence based on the information you gave.
    If you want to see, on each row of output, how many of the rows with the same value of api.invoice_num have a value for poh.po_header_id, the you can use
    COUNT (poh.po_header_id) OVER (PARTITION BY api.invoice_num)   AS po_cntI could give much better directions if you could post a little sample data (CREATE TABLE and INSERT statements), and the results you want from that data. I realize that's hard with so many tables. Even seeing some of your current output, and the desired output, might help.

  • How i can change date format in the query

    I have made a query and Document date format is DD/MM/YYYY but i want Document date Format as YYYYMMDD. Please help me out as soon as posible.
    Thanks is advance.

    Hi Harman,
    By default query shows same date setting what is maitianed in SU01 (user maintenance). User can set the dates as they want. Ask user to log in BI system and go to system> User Profile> Own Data. They can select the date format and save the changes.
    If you want to display same setting for all user, please select the format whenever you create any users and change for existing users.
    Regards,
    Kams

  • No Data displayed in the query

    Hi All,
    I have created a query on master data.
    Data is available in Master data, but I am not able to view any data in query.
    Any suggestion?
    Thanks
    Vandana

    Hi,
    Have you activated the data?
    regards,
    raju

  • Passing the Date range within the query

    Hi ,
    In my query , I have two date characteristic, and while doing the selection I have to do selection on only one date field.
    This selection is a date range selection , So I have used a selection variable for this.
    Can anyone please let me know if it is possible to pass the selection range to other variable. Is it possible to use Customer exit to pass the complete range.
    Thanks
    Altair

    Hi,
    You can do it in the user exit.And that is the only approach to transfer the values of one variable to other variable .
    Search this forum for the code. you will find  lot of postings.
    With rgds,
    Anil Kumar Sharma .P

  • Requested start date - status of the item

    Hi,
    I have a workitem which has a requested startdate. In table SWWWIHEAD this table gets status WAITING.
    Whenever the workitem reaches his startdate, will the status change ?
    kr
    Björn

    Björn
      Yes.
    Thanks

  • Master data is not getting displayed in the Query Designer

    Hi,
    I have a DSO in which I have an InfoObject called Emp No. in the Data Field.
    The Emp.No is being maintained as master with (Emp Name, Address, Telephone No, DOB) as attributes.
    I have loaded the data in the Emp. No. master. Then tried loading the transaction data in DSO.
    The Emp.No is there in the DSO active data, but in the query designer its not getting displayed.
    Hope its clear.
    Please help.
    Thanks

    Hi,
    I have brought the Emp. No. in the Key Field and also have activate the master data again.
    Yet my Query Designer doesn't have the Emp. No.
    I have done a full load for both Master and Transaction.
    Please advice me what the other alternative.
    Thanks

  • Sorting of Date field in the SQL Query useing ORDER BY

    Hi
    I am facing a problem when I am getting the results of a query from the ORacle 8i database using jdbc connection.
    The query is having a date field and I have to sort the query results using ORDER By for the Date field. The query is giving exact results in the SQL PLus interface.
    When I am getting this results in the GUI where servlets are being used an Exception is coming as not supported RefreshRow method.
    If anyone has faced this problem and have got the solutions please let me know.
    thanks
    sulfy

    That doesn't sound at all like an SQL problem.
    More like you trying to do updates on the resultset which is not allowed ...
    send a some code (not to much pls :) and we'll be
    able to help more
    cu
    Spieler

Maybe you are looking for

  • ITunes downloads fast on old Mac mini but slow on brand new Macbook Pro on the same WiFi network?

    Hi all, I have an old Mac mini that's from around 2008 and runs on Snow Leopard. I also have a brand new Macbook Pro with retina display that's running Mountain Lion. Both running iTunes 10.6.3. I never noticed anything wrong with my MBP's connection

  • OS X 10.5 Leopard install disk won't mount

    I'm running OS X 10.4.11 on an iMac G4 and want to upgrade to OS X 10.5. I bought a retail 10.5.1 installation DVD set but I can't get the disks to mount on my iMac G4. I've tried loading it in with OS 10.4 running and I've tried starting up from the

  • Hi urgent help pls

    pls i need help my blackberry keys has stopped working for 1 week now, took off the battery but it didnt help. cant do anything on the phone not even recieve calls, message or mail.pls what can i do without that it to a blakberry office

  • How do I add more pictures using iMovie themes

    I'm having trouble adding more pic's to the theme I selected on imovie. Is there a way to add more pic's? or is this the extent of using the theme's?

  • How do I fix error installing IIS features

     I try to install an IIS component (IIS Management Service), I keep getting the error that states..."An error has occured. Not all of the features were successfully changed." This is on a 64bit Windows7 machine. Does anyone have an idea on how to fix