Recordset with matching date record

I am trying to create a recordset where all the items with
the same date are displayed.
The date being taken from a form on the page which has its
initial value taken from the date of the last record.
I can get all the items to display but can't seem to limit it
to just one date. Is there a way to narrow the recordset by
matching dates?
I have tried using a URL parameter but as I am posting the
recordset I can't GET the URL at the same time...?
Ideas?

hi
date is todays date only i.e 31.08.2007
thanks
Ravi

Similar Messages

  • Breakout table (fill table with matching data from another table)

    Hi
    I've been trying to study old discussions about breakout tables. I feel I'm close, but still no cigar :-)
    In plain english, I'm trying to autocreate rows with data on a table, based on matching values from another table. E.g. have a table to display all rows where type = AssetX
    I have attached a screenshot of my "master table" called Assets:
    I'm looking to prefill Asset name, Total from this table and populate a new table called e.g. Greenhouse
    Where I'd be adding more data (date, income, expense).
    Any help whould be greatly appreciated.
    Thanks!

    Hi,
    Here is a Sample Query.
    Update Emp A
    Set Sal = (Select Sal from emp b where
    a.empno = b.empno)
    where empno in (select empno from emp);
    Regards,
    Ganesh R
    null

  • Unique data record means you can't  update a record from ECC with same key.

    Unique data record means you can't  update a record from ECC with same key fileds right?
    Details: For example i have two requests Req1 and Req2 in DSO with unique data record setting checked. on day one Req1 has a filed quantity with value 10 in Active data table. On day two Req1 can not be overwitten from ECC with Req2 with the same key fields but different value 20 in the filed quantity because of the Unique data record settings. finally the delta load fails from ECC going to DSO because of this setting. is it right?
    I think we can only use unique record setting going from DSO to cube right?
    Please give me a simple scenario in which we can use this setting.
    I already search the threads and will assign points only to valuable information.
    Thanks in advance.
    York

    Hi Les,
    Unique Data Records:
    With the Unique Data Records indicator, you determine whether only unique data records are to be updated to the ODS object. This means that you cannot load a data record into the ODS object the key combination for which already exists in the system – otherwise a termination occurs. Only use this setting when you are sure that only unique data records are to be loaded into the ODS object (for example, single documents). A typical application of this is in the loading of mass data. It improves the load performance.
    Hope it Helps
    Srini

  • Table - Issue with Logging Data Changes

    Hi Experts,
    My client's requirement is to log data changes happened in a table which is critical. I've selected 'Log data changes' check box in technical settings of the table. Now, I'm able to see log for all the changes i did after that. But, I'm facing following issues. Kindly help me in fixing the same.
    1. The table is having two fields with same data element. In the change log SCU3, under the field name, field label mentioned in the data element is getting displayed. As, the data element is same for two fields, its difficult to find out which particular field is changed. Is there any way to display table field name instead of field label from data element?
    2. Sometime, even there is change in the data record, I'm able to see a log record in the change log with caption 'Data record unchanged'. What might be the problem and how to resolve?
    Thanks in Advance,
    Siva Sankar.

    Hi Moha Nan,
       You just use ABAP to change the table P? In this way I think it is not change to X table.
    You can upload master data to add navigation,it is a good way to bulid the SID of P table and X
    table .
      Hope it is help to you!

  • How can I make a report of all records with the date in the last two weeks?

    Hi!
    I have records with a date field, I want to create a report that only includes records with a date which is within the last two weeks of the system date, is this possible? Surely this is a basic database function, I would have thought, but I can find no help about it and there's very little in Mac Help about doing anything other than simple stuff with reports.
    I'm not a genius with databases, so help with any required formula or what have you would be great!

    Hi Jonathan,
    Here's a formula you can use with the Match function. 'Date' is the name of the date field, which must be a "Date" type field.
    'Date'>NOW()-14
    Match will select (highlight) all records matching the query. You'll then need to use Organize > Hide Unselected to show only the matches.
    Unfortunately, I haven't found a way to make the NOW() function work in a Find request, and neither Match requests nor Hide Unselected can be included in a recorded search, either of which would reduce repeating the report to a one-button operation.
    Regards,
    Barry

  • Have to papulate table with matched and unmatched data

    Hi all
    I have to populate tables suppose T1 and T2 on the basis of a SELECT satement with various WHERE clause.
    now the problem is i have to Put the matched data in T1 and the remaing unmatched data in T2.
    Please reply
    thanks

    well i dont think this will work in my case.
    Let me tell you exact scene
    Table T has columns which contains records.
    Now i have to Build a procedure the logic of proc should be
    When that proc run the good records should goes to Table T1 and the bad records to T2.
    and bad records are determind with where cluase like e.g
    "where col1 not like 'rec2.1' " and many other clauses.
    so here an eg
    Table T
    col1 col2 col3
    rec1.1 rec1.2 rec1.3
    Now when proc run I have to sort the records on condition Where so n so
    And required out put should be
    Table T1
    Col1 col2 col3
    rec1.1 rec1.2 rec1.3 -----good record
    Table T2
    col1 col2 col3
    rec2.1 rec2.2 rec3.3 ----- bad record
    I guess this will help to understand prob.

  • Package parametеr "overwrite records with match key" (BPC 10)

    Hi all.
    We load data from DSO in SAP BW to BPC. We use the /CPMB/LOAD_INFOPROVIDER process chain for that.
    In the package we use the "overwrite records with match key" parameter for the "Handling of records in target" setting.
    But if there's no data in the DSO, the package hangs in the "Running" status and won't finish loading.
    If we start the package with the "append" parameter for the "Handling of records in target" setting, then package finishes with the warning status.
    What could be the problem if use "overwrite records with match key" ?
    Best regards,
    Sergey

    Hi,
    As per the below note its known issue in SP08. In which version of BPC are you running now.
    1787650 - Data Manager package no end at dumpload step for empty data
    Thanks,
    Raju

  • Combining 2 seperate recordsets with related records

    What is the easiest to combine 2 seperate recordsets with related records?
    The following example has two different recordsets F1 and F2 but are joined with F0.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> with t0 as
      2  (
      3     select 1 as id, 'Example 1' as f0 from dual union all
      4     select 2 as id, 'Example 2' as f0 from dual
      5  ),
      6  t1 as
      7  (
      8     select 1 as id, 'a' as f1 from dual union all
      9     select 1 as id, 'b' as f1 from dual union all
    10     select 2 as id, 'aa' as f1 from dual union all
    11     select 2 as id, 'bb' as f1 from dual union all
    12     select 2 as id, 'cc' as f1 from dual union all
    13     select 2 as id, 'dd' as f1 from dual
    14  ),
    15  t2 as
    16  (
    17     select 1 as id, 'x' as f2 from dual union all
    18     select 1 as id, 'y' as f2 from dual union all
    19     select 1 as id, 'z' as f2 from dual union all
    20     select 2 as id, 'ww' as f2 from dual
    21  )
    22  select f0,f1,f2
    23  from t0, t1, t2
    24  where t0.id = t1.id
    25  and t0.id = t2.id;
    F0        F1 F2
    Example 1 a  x
    Example 1 b  x
    Example 1 a  y
    Example 1 b  y
    Example 1 a  z
    Example 1 b  z
    Example 2 aa ww
    Example 2 bb ww
    Example 2 cc ww
    Example 2 dd ww
    10 rows selected.desired output:
    F0        F1 F2
    Example 1 a  x
    Example 1 b  y
    Example 1    z
    Example 2 aa ww
    Example 2 bb
    Example 2 cc
    Example 2 dd

    I got it! One more question though, can this be done in a easier way? Like using xmlsequence, analytical functions or other tricks that I don't know about.
    SQL> with t0 as
      2  (
      3     select 1 as id, 'Example 1' as f0 from dual union all
      4     select 2 as id, 'Example 2' as f0 from dual
      5  ),
      6  t1 as
      7  (
      8     select 1 as id, 'a' as f1 from dual union all
      9     select 1 as id, 'b' as f1 from dual union all
    10     select 2 as id, 'aa' as f1 from dual union all
    11     select 2 as id, 'bb' as f1 from dual union all
    12     select 2 as id, 'cc' as f1 from dual union all
    13     select 2 as id, 'dd' as f1 from dual
    14  ),
    15  t2 as
    16  (
    17     select 1 as id, 'x' as f2 from dual union all
    18     select 1 as id, 'y' as f2 from dual union all
    19     select 1 as id, 'z' as f2 from dual union all
    20     select 2 as id, 'ww' as f2 from dual
    21  )
    22  select f0,f1,f2
    23  from
    24  (
    25      select f0, rn,
    26            max(case when f1 is null then null else f1 end) f1,
    27            max(case when f2 is null then null else f2 end) f2
    28      from
    29      (
    30          (
    31              select f0, f1, null f2, row_number() over (partition by f0 order by null) rn
    32              from t0, t1
    33              where t0.id = t1.id
    34          )
    35          union all
    36          (
    37              select f0, null f1, f2, row_number() over (partition by f0 order by null) rn
    38              from t0, t2
    39              where t0.id = t2.id
    40          )
    41      )
    42      group by f0, rn
    43  );
    F0        F1 F2
    Example 1 a  x
    Example 1 b  y
    Example 1    z
    Example 2 aa ww
    Example 2 bb
    Example 2 cc
    Example 2 dd
    7 rows selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to delete data-records with BI-planning in BEx?

    Hi folks, masters and gurus,
    we just upgraded some of our functions from BPS to BI-Planning.
    Only one thing I could not resolve up to now:
    In BPS (web based) it was easily possible to delete data-records by choosing a radio-button beside the data-entry-field and click the "delete"-button (a red "-") on the top.
    When I tried to find a delete-function in RSPLAN now I only found one that deletes the data, but not the record itself.
    Does anyone know how to build a function that I can use to delete data-records?
    Thx in advance for your help,
    Thomas

    Oh yes ... it´s not necessary as it is easily possible to supress lines with only 0 in it with
    query-properties / rows/coloumns / supressing Zero / activ ...
    Edited by: Thomas Kejik on Jan 19, 2009 9:46 AM

  • Retriving records with the date and time stamp

    I need to get all the records that were update between 08:36:06 AM and 8:36:09 AM on the12/15/2009
    I am using this query it is giving me the right numbers (I think) because this condition GURMAIL_CPLN_CODE = 'UGAP', I would like something more
    precise using the date and time stamp with the dates
    12/15/2009 08:36:06 AM
    12/15/2009 08:36:07 AM
    12/15/2009 08:36:08 AM
    12/15/2009 08:36:09 AM
    select * from GURMAIL
    where
    PERMAIL_CPLN_CODE = 'UGAP'
    AND TO_CHAR(PERMAIL_ACTIVITY_DATE,'MM/DD/YYYYHH24:MI:SS AM') >= '12/15/2009 08:36%'Thank you

    Yes, but HH24 and AM cannot be used together:
    SQL> select to_date('12/15/2009 08:36:06 am', 'mm/dd/yyyy hh24:mi:ss am') from dual;
    select to_date('12/15/2009 08:36:06 am', 'mm/dd/yyyy hh24:mi:ss am') from dual
    ERRORE alla riga 1:
    ORA-01818: 'HH24' impedisce l'uso dell'indicatore meridianoUse this:
    select *
    from   gurmail
    where  permail_cpln_code = 'UGAP'
    AND    permail_activity_date between to_date('12/15/2009 08:36:06', 'mm/dd/yyyy hh24:mi:ss')
                                    and  to_date('12/15/2009 08:36:09', 'mm/dd/yyyy hh24:mi:ss')or this:
    select *
    from   gurmail
    where  permail_cpln_code = 'UGAP'
    AND    permail_activity_date between to_date('12/15/2009 08:36:06 AM', 'mm/dd/yyyy hh:mi:ss am')
                                    and  to_date('12/15/2009 08:36:09 AM', 'mm/dd/yyyy hh:mi:ss am')Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]
    Edited by: Massimo Ruocchio on Dec 23, 2009 12:05 AM

  • How can I do a multiple record data merge, but specify that a specific text frame with variable data only merges on the first record?

    I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
    I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
    Is it possible?
    I thought that perhaps if I place the text frame that must merge once on the master page, it would work.  But you are not allowed to place variable text on the master and on the document page.
    I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
    Thanks,
    Suzanne

    Suzanne,
    If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
    I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
    That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
    It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
    I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
    Mike

  • Problem with Purchase Info Record Condition Data ( ME11)

    Hi all,
    I am trying post Data for Purchase Info Records with Conditions data.
    I am using a standard Batch Input Method ( LSMW).
    Object 0060
    Method 0000
    Program Name RM06IBI0
    Program Type B Batch Input
    I am able to post data only for the condition type PB00. for other condition types FRC1 & FRA1 not able to post the data ( also session is not giving any error).
    Therefore I am trying out witH BAPI option ( BAPI_PRICES_CONDITIONS),
    when i try to test the BAPI i am getting an error "Record KNUMH = 0000668598,
    VARNUMH = 000000000000000000000000000000: det. data missing ( Structue BAPICONDIT) .
    i am passing below mentioned values to the structue BAPICONDIT
    OPERATION 009
    SD_DOC
    ITM_NUMBER 000000
    COND_NO 0000668598
    COND_COUNT 02
    APPLICATIO M
    COND_TYPE FRC1
    SCALETYPE F
    SCALE_QTY 0.000
    SCALE_VAL 1.000000000
    CURRENCKEY USD
    CURREN_ISO USD
    CALCTYPCON C
    COND_VALUE 2.000000000
    CONDCURR USD
    COND_ISO USD
    COND_P_UNT 1
    COND_UNIT KG
    CONUNITISO KG
    NUMCONVERT 1
    DENOMINATO 1
    BASE_UOM KG
    BASEQTYISO KG
    CONDITIDX 01
    Please Suggest what else needs to be passed to get the BAPI working.
    Regards,
    Sriram

    Hi Phemmy,
    it is possible to create  PO before info record .info record establishes the relationship between vendor and your particular material.
    to answer your 2nd question:
    it is possible to create inforecord automatically during PO creation. in the ME2N screen, in the material tab, put the material code. then go to item details.in the materail data tab, you will get infoupdate  check it.and then inforecord will be created automatically.
    Thanks
    Nisha
    Edited by: nishaprasad on Jan 14, 2010 11:29 AM

  • IDOC Data record is appending with NULL characters instead of spaces.

    Hi Gurus,
    1)     We have created a port with Japanese characters for MATMAS05 (IDOC type) and trying to download an IDOC into an XML file using the ADAPTER, the actual data is less than the length of the IDOC string so we need to append the remaining spaces to each data record which in turn fills the segment pad but whereas in NON-UNICODE server the data record is appending with NULL characters instead of spaces.
    2)     For Japanese port the receiver port name in XML file is appearing with some junk characters in NON-UNICODE client, whereas in UNICODE client it is displaying the correct port name with Japanese characters.
    Your help will be appreciated.
    Thanks in Advance.

    ORA-06512 indicates a numeric or value-error line 2 seems to show to the first statement.
    Check the datatypes of your columns/items.
    Try to issue an update manually in SQL*Plus to see if it works generally.

  • Query for records on a block with Query Data Source Type : Procedure

    Hi All,
    The veriosn of form I'm using is:
    Forms [32 Bit] Version 6.0.8.23.2
    I have a block based on a procedure.
    But when I enetr-query and search for records specific to ceratin criteria even then the result of the Query is all records.
    Is Query not allowed on a block with Query Data Source Type : Procedure.
    Hope my question is clear.
    Thanks in advance.
    Regards
    Arif

    When you use a table based block, forms can construct any select with any where clause based on the given inputs. Using a procedure based block, forms cannot "know" which in or out parameter of the procedure corresponds to which item. Even if Forms could pass the value of an item to an argument automagically, the procedure would have to "do something" with the argument, and you´d have to code it.
    So, any item that should be used in the where-clause must be mapped to an argument.
    Perhaps it would be easier to use a table based block querying a view? For DDL, you could use an instead-of-trigger on the view.
    Regards,
    Gerd

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

Maybe you are looking for

  • MIDI feedback loops

    Per a different thread discussion, I've started using Plogue Bidule to host most of my Audio units and I'm using IAC to send MIDI from MainStage to Blogue. However, I frequently get popup dialogs warning me that there is a MIDI feedback loop and I'm

  • How to count number of viewer of a thread in sharepoint discussion board.

    HI All, I am working on sharepoint discussion board, I want to calculate the total number of viewers of a thread. Just like a thread in MSDN forum Replies & Views. is there any column in sharepoint discussion board to get number of views. please tell

  • Linking D-Link DIR 655 and AirPort Extreme

    Help! I need to link my D-Link DIR-655 and new Airport Extreme, but have no idea how to do it. I use the D-Link as my base router and want to use the Airport Extreme as a repeater/range extender upstairs in the house (the D-Link is in my office in th

  • Canvas event handling with a custom menu

    Hey guys! OK, first off i have been trucking along quite nicely on this midlet but i think i have hit a fork in the road. I designed a custom menu that extends Canvas. I keep track of what is selected (there are 4 items) as an int value (0-3). When t

  • Photos Gone after Accidentally Turning off Camera Connected to iPhoto

    I aborted an import of photos to iPhoto from my digital camera, then accidentally turned it off without unmounting it. Suddenly, the iPhoto library only displayed very old photos and none within the last year. All the photos DO exist in my iPhoto Lib