Reporting on data that is not there

Hi,
I have an infoprovider and a Query. I have created a variable to filter data from the query. Is there a way to report that some data is not there??
If I enter value "123" in the CODE variable, and there is no record according to this, the system will say "no data found". Is there any way to get the system to say "True"/"False" wether this found some records or not?
EJ.
CODE/DATE
123/200701
124/200701
125/200701
If I enter "124" in the CODE variable, the system will say "True".
If I enter "987" in the CODE variable, the system will say "False".
Is this possible??
thanks for the help.
Mauricio.

Dear Mauricio,
The usual way to report on "non existing data" is to set up a MultiCube which combines your InfoCube and the InfoObject for which you miss records in the InfoCube.
A query based on such a MultiCube will give you empty key figure values for all records for which InfoObject values do not correspond with an InfoCube records.
As far as I know there is no way to adapt the variable screen logic, which would allow to see "True" or "False" there.
Geetings,
Stefan

Similar Messages

  • How do I search for data that's not there?

    Scenario:
    The store managers are supposed to upload the previous days data by 11am the following day.
    I have a table of stores (74 records, 1 for each store) and a table of events (3600+ records,1 for each store per day). When I look at the event data selecting a specific date, I can see I only have 71 records, but I can't easily tell which stores are missing.  I want to gather all the events for a date, then look for the store records and report only if the store is NOT there.  I have tried the following linking options:
    store.store_no (equal to link) event.store_no (gives all 71 event records, as expected, but not the ones that aren't there)
    store.store_no (not equal to link) event.store_no (gives all 71 event records, for each store record, store1, event 1, store1, event2, store2, event1, stove2, event2, etc) I believe this is because it's looking for the store match first, not the date, then the store)
    store.store_no (left outer join) event.store_no (gives all 71 event records, as expected, but not the ones that aren't there at the bottom, like the help states)
    I thought of subreport too, but you can't like on what's not there.
    does anybody have any clues?
    BTW, I'm using 8.5 but can change to 10.
    Thanks,
    Clare

    Carl,
    Thanks so much. I took we a while to get the formatting correct, here's what I ended up with:
    SELECT
        store."store_number", store."address1"
    FROM
        "sac"."store" LEFT OUTER JOIN (SELECT * from "sac"."posj_event"  WHERE  posj_event."business_date" = {d '2009-07-08'} ) ev  ON store."store_number"=ev."store"   
    WHERE
        ev."store" is null
    ORDER BY
        store."store_number" ASC
    My original report was set to look for CurrentDate-1, which translated to {d '2009-07-08'} will that still work here?
    Clare

  • How to select data that is not there

    Table : Details
    Columns : 2
    prj1 | empA | R
    prj1 | empB | D
    prj2 | empC | R
    prj2 | empD | D
    prj3 | empE | R
    prj4 | empF | R
    prj4 | empG | D
    Table:Project
    Columns : 4
    prj1 | title1 | start1 | end1
    prj2 | title2 | start2 | end2
    prj3 | title3 | start3 | end3
    prj4 | title4 | start4 | end4
    SQL
    SELECT prj.column1, prj.column2, prj.column3, dtl.column2, dtl2.column2
    FROM project prj, details dtl, details dtl2
    WHERE (prj.column1 = dtl.column1AND dtl.column3='R')
    AND (prj.column1=dtl2.column1 and dtl2.column3='I')
    I am using TOAD for oracle to insert from the source to the staging table and then to the fact table in the data warehouse.
    A project has 1 requester and 1 developer.
    Some projects have requester but have yet a developer assigned to it.
    The sql that I use cannot recognize the missing row.
    The code cannot work because project 3 will be ignored. Anyone's help is very much appreciated.
    Chris.
    Message was edited by:
    user462899

    SELECT prj.column1, prj.column2, prj.column3,
    (SELECT column2 FROM details
    WHERE column1 = prj.column1
    AND column2 = 'R') AS "R_Value",
    (SELECT column2 FROM details
    WHERE column1 = prj.column1
    AND column2 = 'D') AS "D_Value"
    FROM project prj
    Anna

  • Statistic report with figures that will not change when rerun months later

    Hi,
    Is there any good practices that we can follow to create statistic reports with figures that will not change even when rerun after few months later?
    My scenario is my statistic report is generated based on data that is "alive" which means the record will get change after a period of time. So, if you generate the statistic report in for January 2006 in the month of January and regenerate in May for the January 2006 statistic, the figure is different. But what I want is to be able to get the same figures.
    I know in this case looks like we need some sort of summary tables, so posting this to get advice on the best way to design such summary tables. Please comment if there is other ways of doing it.
    Summary tables may work for statistic report, but how to support detail report listing where the records are required to be the same when it was generated few months ago.
    Please advise.
    Thank you.

    What happens, when you execute a report today is the following: a select statement is fired at the data base and the result set is displayed in the report. The data can change after the moment you launched your report. What you could do to keep the result set the same, is implementing a user parameter that fills your date discriminator.

  • Error while TRANSFER System is trying to write data that were not locked

    Hi Everybody,
          I am encountering a Error Msg when i try to TRANSFER plan values .The Error masg is
    "System is trying to write data that were not locked".
    I never got this msg before. I checked my Planning query, it looks fine. I have the cells in Blue but couldn't change values or create new records.
    I have the locks set up in RSPLSE too.
    I am on BI-7 IP SP12.
    regards,
    Roger

    Hi ,
      Below is the reply i got from SAP this morning... i have asked my basis team to apply the note.. will update after i test my layout.
    *************Reply from SAP *********************
    I was able to replicate the issue in your system.
    Please implement the note 1153756 in your system.
    1153756 : Template: BI 7.0 (SP18) / BI 7.1 SPS06
    This note will solve your issue.
    If the issue still persists then , please try using a blank value for
    RSADMIN parameter RSPLS_DATA_CHECK_WRITE = X.
    This parameter triggers some 'extra' checks.
    Using a blank value should avoid these error message which you are
    getting.
    regards,
    roger

  • Clean-up all data that did not match with the selection.

    Hi Everyone,
    In my requirement I need to  Clean-up all data that did not match with the selection from my internal table lt_cdpos.....in this case wat can i use like.'Refresh' or ' Clear' or 'DELETE ADJACENT DUPLICATES FROM lt_cdpos'.
    Pls suggest me...

    Hi Meenakshi
    Try  delete lt_cdpos where kunnr  NE KUNNR (from selection screen) .
    Before Checking <condition> make sure both comparing field type match with each other.
    You can use FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' for append leading zeros in compare condition before comparing kunnr from selection screen
    Regards
    Parveen

  • Script to report on clients that are not up to date with softwareupdate

    I'm not sure how to do it yet. I just need a script that I can run on multiple computers that will tell me what machines require updates and the number of updates. I considered doing something along the lines of:
    <code>softwareupdate --list |wc -l </code>
    but that does not seem to be fool proof since there are obviously lines of output regardless of whether there are updates or not. I just need to get back the number of patches missing from unpatched machines. We have our own SUS, so the only updates being pulled should already be approved.
    Please help.
    Thanks!

    Actually this is exactly what I need, a script that will read the output of softwareupdate --list and count the asterisks and return with a number of how many there were. If there were no asterisks then it can skip that machine.

  • Entries & Leaving Report displays data of selected not equal to org unit

    Hi,
    While using the standard report Entries & Leaving; in the selection criteria when I put
    NOT EQUAl TO(options) in front of the org unit and and mention the corresponding personnel area and entry date, the report still displays the employees with that particular org unit.
    Why is this happening? Any idea how to correct this?

    Hi Sikindar,
      I am using standard adhoc query report Entries& Leaving.( S_PH9_46000223 ). There on the selection screen I enter the following values:
    Personnel Area: GLLV
    Org Unit         : #(Not Equal To) 60000047
    Entry Date : 1.11.2008 to 28.11.2008> F8
    Now the report also displays the employees which belong to  o 60000047 which is incorrect.
    This is the exact problem and how to rectify this. Please suggest

  • Find ODS's with data that is not activated

    Hello,
    Does anyone know a systematic way to find ODS objects containing data loads that are not activated?
    we are working on a system upgrade and this is one thing that we have been asked to identify.
    Thanks,
    Nick

    Hello,
    I found something that will work.
    In RSA1 I clicked on the 'Modelling' tab in the left pane.
    I then clicked on the 'Status Overview' and I was able to review the ODS's there.
    Thanks,
    Nick

  • List pulling data that does not match set parameter

    I have created a template and a list in Marketing that I have set to pull based on a particular date range and flag (Y or N). But when I run the list, I get some records that fall out of the data range and some records that have a 'N' flag even though I set the parameter to only pull 'Y'. Most of the records are correct but there are some that are not. Has anyone else experienced this?

    I have created a template and a list in Marketing that I have set to pull based on a particular date range and flag (Y or N). But when I run the list, I get some records that fall out of the data range and some records that have a 'N' flag even though I set the parameter to only pull 'Y'. Most of the records are correct but there are some that are not. Has anyone else experienced this?

  • HT4623 how to retrieve data that was not backed up

    SOS!  Being a novice SmartPhone consumer, I tried to safeguard my data on my iPhone 4 only to lose all the data from the date of purchase, is there any way possible that the data (pictures and contacts) are not a total eternal lose? 
    Signed,
    Disperate in Cali

    mpg320 wrote:
    Today I completed a software update for my iPhone 5 without backing it up because I did not receive a warning that all my data would be erased and so, did not realize it would be an issue. Upon completing the update, I realized my mistake but figured it was too late to revert the damage and continued with the restoration of my phone to its factory settings.
    After completing the update, I realized just how much data was lost (including important notes with financial information and images and videos of recent trips around Europe). Now I am desperate to try to recover the data deleted in the update. Is there any chance at all that I can recover something? The notes and videos are most important to me. I am also missing many Messages but that is less important to me.
    Can anyone please help?
    Any response is greatly appreciated!
    Here's the official article from Apple on how to update your iOS.
    Update the iOS software on your iPhone, iPad, and iPod touch - Apple Support
    Before you update
    Back up your device to iCloud or iTunes.
    That's virtually the very first thing it says to do.
    There's no excuse to not have your data backed up prior to updating.  Tell me, what would you have done if, instead of this being an issue where you updated your iOS and had an error, if instead you had dropped your iPhone and it was damaged beyond repair, or if it was stolen or lost, etcetera.
    Perhaps you'd been backing up to iCloud and didn't realize it?  Maybe the missing Notes data is linked to a Mail account?  You might be able to reconstruct the data, but it's going to be an uphill battle.
    Best of luck.  Make sure to backup more frequently in the future.  There are two types of people in the world; those who have lost data, and those that will lose data.  The only difference is how prepared you are for that event.

  • How to compare two dates that should not exceed morethan 3 years

    hi all,
    can you please tell me how to compare two dates( basically dates are string type)
    that should not exceed more than 3 years? in JAVASCRIPT
    Thanks in Advance.

    This is not a JavaScript forum.
    [*Google* JavaScript Forum|http://www.google.co.uk/search?q=JavaScript+Forum&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a]
    Good luck.

  • Compare data and output data that does not exist

    Hello,
    i wrote a procedure to insert the data into a 3rd table where i compare the data between two tables, if it matches it shouls insert into the test_a table. if the does not exist either one of the tables i.e. test_code and test_type it should output that data where it doesn't exist. my code works for only one table i.e. test_code. its not dbms outputing a row that is not in test_type table. could any tell my why?suppose if test_code a row that is not in test_type it should output saying this row mismatches with test_type and vice versa.
    --here is my code
    CREATE OR REPLACE PROCEDURE test.GET_data
    IS
    BEGIN
    DELETE test.test_a;
    FOR c IN (select a.cCODE ,
    a.type,
    a.indicator,
    rtrim (xmlagg (xmlelement (e, a.codenum || ',' )order by a.codenum).extract ('//text()'), ',') codeNUMber,
    b.ccode cc,
    b.type tp,
    b.indicator ind
    from test.test_code a, test.test_type b
    where a.ccode = b.ccode(+)
    AND a.type = b.type(+)
    AND a.indicator = b.indicator(+)
    Group by a.ccode, a.type, a.indicator, b.CCODE,b.type, b.indicator
    order by a.ccode)
    LOOP
    BEGIN
    IF (c.cCODE = c.CC
    AND C.type = C.tp
    AND C.indicator = C.ind
    AND C.SYS_IND = C.SYSIND) THEN
    insert into test.test_a (CCODE, type, indicator)
    values (C.cCODE, C.type, C.indicator);
    ELSE
    dbms_output.put_line('Rules Problem For cCODE: ' || C.cCODE);
         dbms_output.put_line('type: ' || C.type);
         dbms_output.put_line('indicator: ' || C.indicator);
    dbms_output.put_line('Rules Problem For CC: ' || C.CC);
    dbms_output.put_line('tp: ' || C.tp);
    dbms_output.put_line('ind: ' || C.ind);
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('Rules Problem For cCODE: ' || C.cCODE);
         dbms_output.put_line('type: ' || C.type);
         dbms_output.put_line('indicator: ' || C.indicator);
    dbms_output.put_line('Rules Problem For CC: ' || C.CC);
    dbms_output.put_line('tp: ' || C.tp);
    dbms_output.put_line('ind: ' || C.ind);
    END;
    end loop;
    commit;
    END;
    Thanks

    You need to use a FULL OUTER JOIN instead an OUTER JOIN for that.
    Just curious, why do you need to use dbms_output instead of running the SQL query with additional conditions (the if part of your procedure)?. You can use it twice, one to insert the ones that match, and one for selecting the others that do not match.
    Regards.

  • 0SD_C03 cube contains data that does not exist  in PSA

    Hi,
    We have a problem with data difference in cube and PSA. Firstly we deleted PSA extactly then extracted data from r3 to PSA. PSA has 2 records now. Then we extracted data to cube (0SD_C03) via DTP (using 2LIS_13_VDITM transformation rules). However, the cube contains approximately 300 000 data. Cube contains many records that does not exist in PSA.
    Where these data come from?
    thanks in advance,

    Hi,
    In your PSA overview, did you change the date that limits the PSA packages showing?
    (middle top of screen) and click refresh?
    it might be that you only have deleted the PSA from a certain date onwards.
    Success,
    Udo

  • Can a trendline in Numbers be extended to see predictions without adding data that does not exist?

    The spread sheet that I'm working with adds daily data over a 6 month timeframe. The trendline stops at the newest data point. I would like to know what to expect in 6 months so I can make adjustments to adjust progress. I would like to do this without adding false data that I don't have yet.
    Thanks

    If you notice in my first response... the top screenshot shows a plot with a trend line that shows the equation.  I used the slope and offset in the formula that extend the "prediction"
    you could use the forecast() or linest() function to create this prediction with out the trend line.
    Here is another example:
    I entered actual (but made up) data in columns A and B
    then I calculate the slope and intercept of that data in column F
    F3=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 1)
    F4=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 2)
    now in columns C and D I enter X values and calculate predicted Y values using the slope and intercepts:
    D2=$F$3×C2+$F$4
    select D2 and fill down as needed

Maybe you are looking for

  • Can't boot back into OSX after installing windows 8.1

    I have a late 2013 MacBook pro 15 inch with retina display. After I got windows 8.1 up and running  with a disk copy I tried to go back to the mac os side, but after I held down option/alt after restarting and clicked on the osx partition but all tha

  • To extend AirPort Extreme 802.11n

    Wanting to extend the range of my AirPort Extreme 802.11n (version 7.4.2) I have a Airport Express as trial also a 802.11n. AirPort Utility has a lot of trouble finding the Express. When AirPort Utility does find it and I want to set up the Express I

  • When are you going to recognize e-mail addresses with special characters. my address has an underscore in it.

    my address is (email removed by mod) but, your system tells me it is invalid because of the underscore.

  • Right click is not working on oracle form

    Hi I created a custom form using template.fmb When user trying to pasted some data into text field and right clikc the mouse , the popup menu is not coming. Actually nothing is happening when right click the mouse. Please help me on this one and let

  • Music player NOT supported?!

    okay, so I got my 5800, and when I click the quick access "XpressMusic" button, then the music icon, It says "aknnfysrv: feature not supported!" And here I thought this phone is suppose to support xpressmusic... And I tried clicking on the music play