Working with 2 identical tables 1.2008   2.2009

I have 2 separate tables 1 being an archive table(2008) and the other being a current table(2009).  I would like to do some comparisons and forcasting of the data however I have not been successful in linking and defining a selection criteria to pull the 2 data sets together.  The fields in the tables are identical and the only difference being data separation by date range. Any additional tips on the report layout would be appreciated.
ps...I also have tables for 2000-2007

You could just do a union of the two (or however many) tables, ie:
select fielda, fieldb, fieldc from 2008tabledata
union select fielda, fieldb, fieldc from 2009tabledata
union select fielda, fieldb, fieldc from 2007tabledata
That will give you one big table with all your data (you may want to add date criteria in a where clause if it's too big!) that you can then write your report off of to see your time trends, etc.

Similar Messages

  • Crystal Reports Version to Work With Vb 6 and VS 2008

    Hi,
    We have some legacy VB 6 applications which are too large to port over to Visual Studio which use Crystal 7.0
    Recently at one site there have been problems with another application which uses a new version of Crystal. Either one or the other will work but not both. This might be solved by ugrading to Crystal XI R2 ( I believe that newer versions can run side by side). However, we also have new projects starting that are to be developed in VS 2008. As I understand it, Crystal XI R2 will not work with VS 2008 and CR 2008 will not work with VB 6.
    We really donlt want to have to buy both versions !!
    Anyone got any ideas ?
    Many Thanks
    Paul

    CR 7 did not support side-by-side installs. Likely what is happening is the your app and the other app is loading crpe32.dll from the \windows\system32 folder. Which obviously will not support each other. This is the only dll that is common among all versions of CR, see below for more info, and that due to it's location can cause issues like this. Newer versions from 8.5 do version checking and athough the dll's have the same name XI R2 will not load other versions, there are exceptions. The exceptions are UFL and some legacy database drivers that will work in any and all versions.
    A few possible work arounds, in your app do version checking when loading crpe32.dll or specifically if crpe32 is residing in a memory space that some other app has loaded it and Windows will share, check the version of the dll and if in your case it's not 11.5.x.x. then pop up a message indicating they must close the other Crystal app before continuing.
    Move all the runtime files into the applications startup folder, what's specified in the Icon on the your desktop or short cut. Moving them there may fix this, we start looking for our runtime where your EXE is located and then in the working Folder, then in the \system32 folder and finally down the PATH statement. We also have hard coded specific location in our load methods. In this case you may have to rename the \windows\crystal folder from the CR 7 install. But I don't recall if this will break the CR 7 app.
    Also if you are moving the version 7 runtime or the other app it may break that application so make note what you did so you can restore it. Also highly suggested to back up everything and test this on a test machine before applying to the production PC's.
    You can use tools like Filemon and modules from our site. You can get filemon from www.sysinternals.com.
    Other than that it will not likely work due to 7 not supporting side-by-side and will load anything it finds. And of course, Don't support or install both versions of software on the same PC.

  • Does current version (6)work with Norton identity safe?

    I don't want to upgrade to version 6 if it does not work with Norton 360 identity safe. I know there was a problem with one of the earlier upgrades.

    Norton IDS works with Firefox 7, which was released this morning. See Norton support for details.

  • Working with VERY LARGE tables - is it possible to bypass row counting?

    Hello!
    For working with large result sets ADF provides the `Range Paging` mechanism for views, described in the 27.1.5 part of the Developer’s Guide For Forms/4GL Developers.
    It works well, but as a common mode it counts total row count to allow paging. In some cases query `select count(1) from (SELECT ...)...` can take very, very long time.
    But if a view object doesn't know row count (for example we can override getEstimatedRowCount() method ), paging controls doesn't appear in user interface.
    Meanwhile I suggest that it's possible to display two paging links - Prev and Next, without knowing row count. Is it a way to do it?
    Thank in advance,
    Ilya Rodionov.

    Hi Ilya,
    while you wait for Franks to dig up the right sample you can read this thread:
    Re: ADF BC: Performance issue with getEstimatedRowCount (ER?)
    There we discuss the exact issue.
    Timo

  • Cache purgin is not working with event polling table

    hi all,
    i am facing problem with event polling tables
    i will tell you the steps which i have followed for event polling tables
    1.i have created a table in back end for event polling table
    2.i have created ODBC connection to import the tables
    3. i have imported the tables along with event polling table
    4. i made the table as event polling table using utilities
    5.and then i ran the report in presentation catalog and i checked out the cache entries in Administration tool(in cache)
    6.and in back end i have manually inserted a db_name,catalog_name,schema_name and table name in to the event polling tales
    but cache purging is not happening ,
    any other steps that i have to follow ,or did i do any mistake while implementing event polling table
    please can any tell me how to make use of event polling table, i have followed following link
    http://gerardnico.com/wiki/dat/obiee/event_table_
    Thanks

    Hi,
    The steps are correct frm the link i have given,is the table name correctly specified i mean is it matching with the physical layer table.
    Test it for 1 table and check out by running the request containing that table and then insert 1 row manually to purge the activity or not by going to and verify that the cache entry is deleted and that you can find the below trace in the NQQuery.log file.
    Still the problem exists check out the log details whats the error.If your getting error in the same blog gerard has given some common errors and their support.
    hope you follow etiquitte.
    By,
    KK

  • Working with dynamic internal tables

    Hi,
    I've created dynamic internal table and then assigned it to field symbol structure.
    This is part of the code.
    wa_tab  = cl_abap_structdescr=>create( comp_tab ).
      i_tab   = cl_abap_tabledescr=>create( wa_tab ).
      create data i_table type handle i_tab.
      assign i_table->* to <f_tab1>.
    As a second step I am populationg that structure <f_tab1> with data using dynamic select:
    select (sel_list) from (p_table)
            into table <f_tab1>
            up to p_row rows.
    So far so good but I need to copy the data from <f_tab1> into internal table with the same structure and to use that internal table on a later stage as a driver table in select...for all entries.
    How can I doo that ?
    Thanks,
    Stefan
    <Code tags added>
    Edited by: Suhas Saha on Oct 27, 2011 4:23 PM

    Hello Stefan,
    You might be interested in reading this thread How to use dynamic internal table with FOR ALL ENTRIES.
    Do let us know if you find any alternative solution
    Cheers,
    Suhas

  • Does Firefox 12.0 work with Norton Identity Safe?

    I recently updated to Firefox 12.0 and wanted to take advantage of Norton offering for free their Identity Safe app. I am running Mac OSX 10.7.3 and when it took me to the mac app store, it uploaded the extension in my Firefox ribbon on the top, but when I click on it, it opens in Safari. Is it not compatible yet with Firefox?

    After you run "Live Updates" from the PC Security Section contained in the Norton Security Suite, do the following:
    '''1.''' Click on "'''Tools'''" ---
    '''2.''' Click on "'''Add-ons'''" ---
    '''3.''' Click on "'''Extensions'''" ---
    '''4.''' Click on "'''''Enable'''''" to the right of the "'''''Norton Tool Bar 2011.7.7.5'''''" ---
    '''5.''' Click on "'''''Enable'''''" to the right of the "'''''Symantec Intrusion Prevention 10.1.1.8-4'''''" ---- Then restart your system if needed.

  • Help to work with 2 internal table with tricky  use

    HI ,
    I have 2 internal table one with new data and one with old data (same structure ) and i want to combine the 2 of them to final table .
    what i need to do here is little bit tricky
    The  table is build like this :
    mandt
    User
    user_data
    valid
    if there is no different from the user data from table old to table new the user data in the final table should look like this
    000
    user1
    userdata1
    X
    000
    user1
    userdata2
    X
    IF there is difference between of them the table entries in final table should like this
    000
    user1
    userdata3
    X
    000
    user1
    userdata4
    X
    000
    user1
    userdata1
    "Valid field is empty -abap false  since the user dont have this data (userdata1) any more
    000
    user1
    userdata2
    "Valid field is empty -abap false  since the user dont have this data (userdata2) any more
    1. alwayes table new is coming with data that is valid field = abap_true
       and should be change the user entries just if there is new entries are diffrent than the old one .
    2. table new can have new users with data so it enter the new users to final table with valid entry = abap_true
    3. if in the new table there is no user which exist in the old table the user in the final table
    should stay with the same entries but the valid entry should be abap false
    What is the best way to do that ?
    Regards
    Chris
    Edited by: Chris Teb on Nov 15, 2009 10:39 AM

    HI
    I have table with entries like that that i read from DB (i call it itab_old)
    old_itab
    mandt     User      user data      timestemp      valid
    0     usr1      User_data1     X     TRUE
    0     usr1      User_data2     X     TRUE
    0     usr1      User_data3     X     TRUE
    0     usr2      User_data1     X     TRUE
    0     usr2      User_data2     X     TRUE
    0     usr2      User_data3     X     TRUE
    0     usr2      User_data4     X     TRUE
    0     usr3     User_data1     X     TRUE
    0     usr3     User_data2     X     TRUE
    0     usr3     User_data3     X     TRUE
    assume the user entry for usr 1 is changing i.e. (new entries in table itab_new) the table should look like this
    new_itab
    mandt     User      user data      timestemp      valid
    0     usr1      User_data4     Y     TRUE
    0     usr1      User_data2     Y     TRUE
    0     usr1      User_data6     Y     TRUE
    0     usr2      User_data1     Y     TRUE
    0     usr2      User_data2     Y     TRUE
    0     usr2      User_data3     Y     TRUE
    0     usr2      User_data4     Y     TRUE
    and the final_itab should look like that
    usr1 old entries are mark as false and new recoreds is enter to the table for him ,
    usr2 have the same entries so it not change
    final_itab
    mandt     User      user data      timestemp      valid
    0     usr1      User_data1     X     FALSE
    0     usr1      User_data2     X     FALSE
    0     usr1      User_data3     X     FALSE
    0     usr2      User_data1     X     TRUE
    0     usr2      User_data2     X     TRUE
    0     usr2      User_data3     X     TRUE
    0     usr2      User_data4     X     TRUE
    0     usr3     User_data1     X     TRUE
    0     usr3     User_data2     X     TRUE
    0     usr3     User_data3     X     TRUE
    0     usr1      User_data4     Y     TRUE
    0     usr1      User_data2     Y     TRUE
    0     usr1      User_data6     Y     TRUE
    0     usr7     User_data1     X     TRUE
    0     usr7     User_data2     X     TRUE
    0     usr7     User_data3     X     TRUE
    last thing there is option that new user will come in table new_itab that is not exist in old table for this user we need to create new entry in final table (like user 7 )
    Thanks in advance
    Chris
    Edited by: Chris Teb on Nov 15, 2009 10:50 PM

  • Error when working with Agentry Complex table

    Hello Gurus,
    I follow the tutorial Flight Booking and try to load a complex table onto my Agentry client. However, when I transmit from Agentry server, it display the error in the log:
    Exception: 11:20:06 07/24/2014 : 20 (Agentry3), JavaBackEndError (java.lang.NoSuchMethodException: com.syclo.sap.mm.object.VendorCT.<init>(com.syclo.agentry.ComplexTableSession, java.util.GregorianCalendar)),
    VendorCT is the complex table.
    Please help me. Thank  you.

    Hi,
    Create a class handler and bapi wrapper in sap
    Create a mobile data object, assign the class handler and check the active flag for the data object
    Create a bapi wrapper,assign the bapi and check the active flag
    Create a class in java for complex table,make sure the field names are correct
    Create a complex table in agentry , assign the java class created, field name ( make sure they are correct),define indexes(check weather they are mapped correctly to the fields)   
    Check in ate view-toolbar-localization
    Once check weather the above steps are performed correctly
    Thanks & Regards,
    Sravanthi Polu

  • One of USB ports not working with wireless mouse USB receiver (MBP mid-2009

    Hi,
    I've got a weird problem with one of the USB ports (the one next to SD card slot). I use a Logitech VX Nano (wireless) mouse.
    When I plug the usb receiver to the USB port, no device can be detected. But when trying the other USB port, all works fine.
    I also tried using a usb extension cable with the USB port (problematic one). All works fine again.
    The same happens with windows xp pro.
    Any help appreciated.
    Cheers,
    Alex
    Message was edited by: apexyang

    Is the monitor powered?

  • External isight not working with Macbook Pro early 2008

    My external isight is not working with my Macbook Pro early 2008 (2.4 GHz, Intel Core 2 Duo, 6 GB RAM, OSX Lion). It goes warm when plugged into the firewire port but is not recognized in system prefs (lists as "unknown device" and also does not turn on (green light. I tried resetting PRAM and all the other stuff as suggested here but no luck. It used to work fine on a 1st generation Macbook and I remember that one of the first times I tried it with this machine here it turned on for a few secs (green light) but then it just simply stopped.
    Unfortunately, I have no other firewire device to check the port.
    Any ideas, dear community?

    Our (old) external Firewire iSights can be sensitive to dust, shock, vibration, humidity, and other environmental factors in storage.  (I store my spare in its original plastic shipping case with a new desiccant pack on a solid shelf - never in a desk drawer or other container that moves.) 
    You have tried several good things and may be finding that your old iSight needs work. 
    Here are the alternatives I can offer.  Consider any you have not tried in any order you like:
    (1) You can try Apple's suggestions from http://support.apple.com/kb/HT2090
    Test in more than one user account and with more than one Apple softwre application.
    (2) My expanded suggestions here: http://www.ralphjohns.co.uk/EZJim/EZJimpage4.html
    (3) Reset Firewire ports using the info from this old archived Apple article: http://web.archive.org/web/20090331211534/http://support.apple.com/kb/HT1317
    (4) If you have no local Apple Authorized service Provider who can help you, other service options are here: http://www.apple.com/support/isight/service/
    (5) Consider a new USB cam with current warranty such as one of these: http://www.mac-compatible-web-cam.com/
    Message was edited by: EZ Jim

  • Working with large tables - thumbnail size

    Hi,
    I'm working with some oversized tables in IBA. What I usually do is make the table as needed and then use the "Uses thumbnail on page" option in the Layout section of the inspector and adjust the thumbnail size to fit the page as needed. What happened this time, that after the document has been closed and reopened, some tables reset the thumbnail size back to default, which is small. I can't seem to find what's causing this, one table is not behaving like that, although it's been done using the same method. Anyone else ran into the same thing? Any suggestions?
    Thanks in advance.

    Why don't you use a stored proc?
    Why are you ordering it?
    Should I take partial entries in a loop? Yep. Because software isn't perfect. No point in attempting to process the universe when you know it will fail sometime and it is easier to handle smaller failures than large ones (and you won't have to redo everything.)

  • ABAP to XML with several internal tables

    hi,
    i have to make a XML file with this structure :
    <Order>
      <OrderHeader>
          <i>...[fields of header]...</i>
      </OrderHeader>
      <OrderItem>
          <i>...[fields of item 10]...</i>
      </OrderItem>
      <OrderItem>
          <i>...[fields of item n]...</i>
      </OrderItem>
    </Order> 
    and that for several orders...
    I don't know anything about XML, XLST and since 1 day just start to read doc, tutorial.. and i can't say i'm understanding everythings..
    so, in a first step, i have tried to export several Order headers :
    I have done a XSLT (thanks to another topic/replies in the forum) and call it with CALL TRANSFORMATION and it works good...
    now,and here i need a little help, i would like to know :
    1-is it possible to work with 2 internal tables and in this case, how to make XLST looping all item for each header?
    2-or should i use only one internal table with deep structure?
    Regards,
    Christophe
    The XSLT
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sapxsl="http://www.sap.com/sapxsl" version="1.0">
      <xsl:strip-space elements="*"/>
      <xsl:template match="/">
        <Order>
          <xsl:for-each select="//item">
            <OrderHeader>
              <OrderNo>
                <xsl:value-of select="AUFNR"/>
              </NoOT>
            </OrderHeader>
          </xsl:for-each>
        </Order>
      </xsl:template>
    </xsl:transform>

    Hi,
    Here is the sample code.
    * Databases
    TABLES:
      makt,                                "Mat description
      marc,                                "Material / plant
      t001w,                               "plant name
      bhdgd.                               "Batch heading
    * Internal tables
    DATA:
      BEGIN OF gt_marc OCCURS 0,
        werks LIKE marc-werks,
        matnr LIKE marc-matnr,
      END OF gt_marc,
    * Table to be downloaded as xml. Each line stores start and end tags
    * and the value
      BEGIN OF gt_xml OCCURS 0,
        line(120),
      END OF gt_xml,
      g_maktx(120).
    * User-input
    SELECT-OPTIONS:
      s_werks FOR marc-werks,
      s_matnr FOR marc-matnr.
    START-OF-SELECTION.
    * Extract all required data
      PERFORM main_processing.
    END-OF-SELECTION.
      SORT gt_marc BY werks matnr.
      LOOP AT gt_marc.
        AT FIRST.                          "First tag must be root
          CLEAR gt_xml.
          gt_xml-line = '<LOCATIONS>'.
          APPEND gt_xml.
          CLEAR gt_xml.
        ENDAT.
        AT NEW werks.                      "At new plant
          PERFORM read_plant.
          FORMAT COLOR 4 ON.
          SKIP 1.
          WRITE :/ gt_marc-werks, t001w-name1.
          FORMAT COLOR 4 OFF.
          CLEAR gt_xml.
          gt_xml-line = ' <PLANT>'.
          APPEND gt_xml.
          CLEAR gt_xml.
          CONCATENATE ' <NUMBER>' gt_marc-werks '</NUMBER>'
          INTO gt_xml-line.
          APPEND gt_xml.
          CLEAR gt_xml.
          CONCATENATE ' <NAME>' t001w-name1 '</NAME>' INTO gt_xml-line.
          APPEND gt_xml.
          CLEAR gt_xml.
          gt_xml-line = ' </PLANT>'.
          APPEND gt_xml.
          CLEAR gt_xml.
        ENDAT.
        PERFORM read_description.
        CLEAR gt_xml.
        gt_xml-line = ' <MATERIAL>'.
        APPEND gt_xml.
        CLEAR gt_xml.
        CONCATENATE ' <NAME>' g_maktx '</NAME>'
        INTO gt_xml-line.
        APPEND gt_xml.
        CLEAR gt_xml.
        CONCATENATE ' <NUMBER>' gt_marc-matnr '</NUMBER>'
        INTO gt_xml-line.
        APPEND gt_xml.
        CLEAR gt_xml.
        gt_xml-line = ' </MATERIAL>'.
        APPEND gt_xml.
        CLEAR gt_xml.
    * display data
        FORMAT COLOR 2 ON.
        WRITE :/ gt_marc-matnr, makt-maktx.
        FORMAT COLOR 2 OFF.
      ENDLOOP.
    * The last tag must be the root closing tag --*
      gt_xml-line = '</LOCATIONS>'.
      APPEND gt_xml.
      CLEAR gt_xml.
      CALL FUNCTION 'DOWNLOAD'
           EXPORTING
                filename = 'C:PLANT1.XML'
                filetype = 'ASC'
           TABLES
                data_tab = gt_xml.
    TOP-OF-PAGE.
      MOVE sy-title TO bhdgd-line1.
      MOVE sy-repid TO bhdgd-repid.
      MOVE sy-uname TO bhdgd-uname.
      MOVE sy-datum TO bhdgd-datum.
      MOVE '0' TO bhdgd-inifl.
      MOVE '132' TO bhdgd-lines.
      FORMAT INTENSIFIED ON COLOR COL_HEADING.
      PERFORM batch-heading(rsbtchh0).     "report header
    *  Form READ_PLANT
    FORM read_plant.
    * Get plant name
      CLEAR t001w.
      SELECT SINGLE name1
        INTO t001w-name1
        FROM t001w
       WHERE werks EQ gt_marc-werks.
    ENDFORM.                               " READ_PLANT
    *  Form MAIN_PROCESSING
    FORM main_processing.
    * Material and plant basic data
      SELECT werks matnr
        INTO TABLE gt_marc
        FROM marc
       WHERE werks IN s_werks
         AND matnr IN s_matnr.
    ENDFORM.                               " MAIN_PROCESSING
    *  Form READ_DESCRIPTION
    FORM read_description.
    * Material name
      CLEAR g_maktx.
      SELECT SINGLE maktx
        INTO g_maktx
        FROM makt
       WHERE matnr EQ gt_marc-matnr
         AND spras EQ 'E'.
    * Replace special character
      DO.
        REPLACE '&' WITH '*ù%;' INTO g_maktx.
        IF NOT sy-subrc IS INITIAL. EXIT.ENDIF.
      ENDDO.
      DO.
        REPLACE '*ù%;' WITH '&amp;' INTO g_maktx.
        IF NOT sy-subrc IS INITIAL. EXIT.ENDIF.
      ENDDO.
      DO.
        REPLACE '/' WITH '&#47;' INTO g_maktx.
        IF NOT sy-subrc IS INITIAL. EXIT.ENDIF.
      ENDDO.
    ENDFORM.                               " READ_DESCRIPTION
    Hope this helps.If so,kindly reward points.

  • Joins with multiple fact tables

    Hi Experts,
    i have one doubt in joins
    we have two dimensions D1 and D2,
    D1 is having A1 and A2 columns
    D2 is having B1 and B2 columns
    two facts F1 and F2 these are joined like D1 to F1 D1 to F2 and D2 to F1, D2 to F2
    D1----->F1
    D1------>F2
    D2-------->F1
    D2-------->F2
    if i selected A1 and B1 in a request from which FACT table will get the data and why can you please explain
    please help me
    reg,
    Jell

    Hi All,
    I have a similar requirement where I have 4 multiple fact tables and we can't combine all those facts into one single fact table. In that case how can a query work with multiple common and uncommon dimensions and measures from multiple fact tables, if it doesn't work that way - can you please explain how can we expect a query to work with multiple fact tables.
    For eg: D1– Dim
    D2 – Dim
    D3 – Dim
    D4 – Dim
    F1 –Fact
    F2 – Fact
    F3 – Fact
    D1 -> F1
    D2 -> F1,F2
    D3 -> F2
    D4 -> F1, F3
    In this case if we want to query from D1,D2,D3, F1, F2 or D1,D2,D3,D4,F1,F2,F3. Kindly please explain how it can be modeled in BMM or what are the limitations. I have done with two fact tables in past and didn't had issues but this is kind of a vast implementation. Your help is appreciated.

  • How to set SunOne IDE to work with Oracle thin driver

    I am new to the SunOne IDE. I am trying to use the JDBC wizard to generate a form to work with an Oracle table. I want to use the ORacle thin driver but I am not sure how I can tell the IDE where its located. Can someone help? Thanks.

    In the explorer window select "RUNTIME".(Bottom of window tabbed pane)
    Expand "DATABASES"
    Expand "DRIVERS"
    Scrolldown and you'll see Oracle thin - click on that and set properties.
    Then right click "Oracle thin" click "connect using..."
    From here/there you should be able to view all tables you have access to view..etc.

Maybe you are looking for

  • Two Apple ID with the same email address.

    Hello, I have 2 Apple ID's using the same email address. When I sign in with my Apple ID in the Apple Support Communities web he request me to "Choose your Apple Support Communities username.", So I write a user name and click continue - and this err

  • Business Services and Business System

    What is deffrence between Business Services  and Business System. Which type do I have to choose for File,JDBC,SOAP Receiver/Sender?

  • How can I get stored photos off of iphone 5c without backing them up to a computer?

    My son has a 16g 5c and his photos use almost 12g of storage. Can these photos be backed up in iCloud? Do they still count towards storage on the phone if they can be backed up to iCloud? He doesn't want to back them up to our home pc.

  • QuickDNS on OSX Server 10.4.6

    Hi, I'm having probems with a server 10.4.6 running QuickDNS. The server cannot resolve its own 192.169.0.1 IP address. It passes the query up to the root servers. Is anyone running QuickDNS on OSX Server successfully? Does Apple's BIND and QDNS inte

  • Why can't I use mover's coupon on Macbook?

    Hi,  Happy thanksgiving everyone, but my experience at Best Buy today was so disappointed. I recently moved to new home and received a mover's coupon for Best Buy. I tried to buy a Macbook Air 13.3 at 8251 Gateway Overlook Dr, Elkridge, MD 21075. At