I need to get data out of Oracle 8i??!!

I am working for a company that is moving from one old application to a new application.
The Old application is using Oracle 8i for a backend. I know SQL Server very well. However, I don't know Oracle.
1) One guy on the forum helped me to find the SIDs and see the databases being run.
2) I have also changed the password file and can now get in as internal.
Great, but I need data.
1) How can I get the data out of Oracle 8i?
2) Is there a way to export the data to CSV or spreadsheet?
3) There are 1400 tables with cryptic table names. How can I see the tables and their column names?
(this is easy to do with SQL Server, but again, I am just starting to use Oracle).
Thanks in advance for any and all help!!! This is crazy!

Hello,
No one likes a thread that goes on and on. I really appreciate those that try to help.
I now this database is being used. However, we are trying to read the database and create reports before switching over to a new application.
The database is in use.
I've tried
select table_name, column_name from user_tab_columns;
I get over 15,000 rows of this
TABLE_NAME COLUMN_NAME
EXU81REFC ROWNER
EXU81REFC RTNAME
EXU81REFC CNAME
EXU81REFC CNO
EXU81REFC RCNO
EXU81REFC ACTION
EXU81REFC ENABLED
EXU81REFC DEFER
EXU81REFC PROPERTY
EXU81REFC ROBJID
EXU81REFC ROWNERID
EXU81REFC REFTYPE
EXU81REFI OBJID
EXU81REFI OWNER
EXU81REFI OWNERID
EXU81REFI TNAME
EXU81REFI ROWNER
EXU81REFI RTNAME
EXU81REFI CNAME
EXU81REFI CNO
EXU81REFI RCNO
(none of which looks like user tables, but rather system tables)
when I tried
SELECT TABLE_NAME, NUM_ROWS FROM ALL_TABLES;
I get over 1400 rows of this:
TABLE_NAME NUM_ROWS
CNBIL1
CNBIL2
CNBJR
CNBJT
CNBLC
CNBLDE
CNBLES
CNBLK1
CNBLK4
CNBLLOG
CNBLNET
CNBLQ
CNBLR
CNBLR1
CNBLRD
CNBLRR
CNBLRT
CNBLRW
CNBLTF5
CNBLX
CNBPC
I've tried to do a select on a few table_names and I get "no rows selected".
Isn't there a way in Oracle to see what tables have a rowcount > 0 and then get the table_names and column_names from those tables?
I found the free download of TOAD, but not sure how much more that would help me than using SQL Plus at this stage of the game when I don't even see data. Maybe TOAD would help getting the data once I know where to look...I guess.
Thanks for helping to straighten out with the confusion.

Similar Messages

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

  • Need XML table data out of Oracle Tables

    I have an application running using Java/XML technology. My database source is completely HOST and I communicate with HOST to get the data or to save/update the data through XML only. Here I have a situaion, I have my information in metadata (xml tables fromat) and I need to get some of the information from other application which is in Oralce. So I need to get the daily based updated information from Oracle database and that inturn should update my xml tables ( When I say update xml tables, whenver there is change in the Oracle database data my xml tables should also have that changed data).
    Can any one help me how to get this done.
    Regards,
    Sriram Peri
    Work: 919-382-5672
    Home: 919-402-0207
    [email protected]

    Which version of the database...

  • Need help getting data out of a itemrenderer component

    I have a datagrid populated via a dataprovider (arrayCollection). No issue there
    I have a dateField Custom itemRenderer (as a component) and this is populated fine, so no issue there either.
    However I can't seem to find any way of getting the data out (it can be edited, so it is no longer the original data). I can get the original data, but not the new data.
    I can't use an event as there are hundreds of rows that I need to manipulate to write back to the database. I just want to get all the values as displayed in the datagrid.
    I just want to loop through the datagrid and pull out the data as entered in the itemrenderer component object. In debug mode I can see
    event --> itemrenderer --> [inherited] --> mycustomecomponent --> text. I just can't seem to get at it.
    Any Ideas. It's got to be simple and I am just missing it I guess.

    In your ItemRenderer, assign your data.yourDataFieldHere to the new value after editing is complete. This will allow you to then loop through the dataProvider in the main application and get all the values needed.
    function onEdit(evt:Event):void {
    data.yourDataField = evt.currentTarget.text; // Or use whatever property of the edited item you need here.
    Chris

  • Need help getting data out of Berkeley DB

    Hi All
    I have an old vrsion of Berkeley Db (about 5 years old I think) that we use at work for storing key value pairs. We use this to store ids for that data that we later load to a relational database. We have multiple files with key vaue pairs. One particular file is very large(11 GB) and has about 100million entries.
    We are trying to migrate the data from Berkeley DB to a relational database. I was able to get the entries out of most files but this large file is givng trouble.
    I can only get out about 26 million entries. I have tried Ruby and Perl to get the data out (our main application is in Ruby) and tried multiple approaches but all hit the limit at about 26.xx million records.
    If anybody has experienced similar thing and knows a way to get the data out, your help is highly appreciated.
    Thank
    Harsh D.

    Hi All
    This is for Berkeley DB version that is at least 5 years old. I do not know the exact verion and do not know how to find one. This is not for the Java Edition or the XML edition.
    Below is what I am doing in Ruby:
    db = nil
    options = { "set_pagesize" => 8 * 1024,
    "set_cachesize" => [0, 8024 * 1024, 0]}
    puts "starting to open db"
    db = BDB::Btree.open(ARGV[0], nil, 0, options)
    if(db.size < 1)
    puts "\nNothing to dump; #{ARGV[0]} is empty."
    end
    puts "progressing with the db"
    myoutput = ARGV[1]
    puts "allocating the output file #{myoutput}"
    f = File.open(myoutput,"w")
    i = 0
    iteration = 0
    puts "starting to iterate the db"
    db.each do |k, v|
    a = k.inspect
    b = v.inspect
    f.puts "#{a}|#{b}"
    i = i+1
    if (i>1000000)
    iteration = iteration + 1
    puts "iteration #{iteration}"
    i = 0
    end
    end
    This only outputs about 26.xx million records. I am sures there are more than 50 million entries in the database.
    I also tried some other approaches but nothing seems to work. I end up getting only 26.xx million entries in the output.
    In some case, I managed to get it to output more records, but after 26.xx million, everything is output as duplicate entries so they are of no use to me.
    The Ruby is 32 bit version. I tried this on Windows 7 (64 bit) and also on RedHat Linux 5 (64 bit version).
    Thanks
    Harsh
    We ran db_stat on the ExpId database and below are the results
    ExpId
    53162 Btree magic number
    8 Btree version number
    Big-endian Byte order
    Flags
    2 Minimum keys per-page
    8192 Underlying database page size
    2031 Overflow key/data size
    4 Number of levels in the tree
    151M Number of unique keys in the tree (151263387)
    151M Number of data items in the tree (151263387)
    9014 Number of tree internal pages
    24M Number of bytes free in tree internal pages (68% ff)
    1304102 Number of tree leaf pages
    3805M Number of bytes free in tree leaf pages (64% ff)
    0 Number of tree duplicate pages
    0 Number of bytes free in tree duplicate pages (0% ff)
    0 Number of tree overflow pages
    0 Number of bytes free in tree overflow pages (0% ff)
    0 Number of empty pages
    0 Number of pages on the free list

  • Need to Get Data From Siebel On Demand ( I am new to Siebel Please Help)

    Hi All,
    I have a project in which i need to get data from Siebel On Demand and Automate this process.
    I have downloaded the Custom WSDL file and the Schema file from Oracle Siebel On Demand. I am using IDE WSAD and when i import these files into WSAD i am getting an error stating the schema definitions are wrong. Can anyone help me.....
    I need to complete it asap....
    Edited by: user491578 on Nov 11, 2008 6:50 PM

    You should probably ask Advantech. This question really has nothing to do with LabVIEW SE or NI-ELVIS. You could try posting to the LabVIEW board but there have only ever been two posts regarding 'advantech 4716'.

  • Okay so I have a new ipod touch...but I need to get music out of my old nano to my itues w/out wiping out my old nano...how do i do this? new laptop so itues is new...please help

    okay so I have a new ipod touch...but I need to get music out of my old nano to my itues w/out wiping out my old nano...how do i do this? new laptop so itues is new...please help

    You need to authorize your new computer in iTunes with the same account that is synced to your nano (and old iTunes)
    In the menu bar click Store >> Authorize This Computer…
    This will allow your purchased music to be re-downloaded from iTunes and played on your new computer.
    If you did not purchase the music through iTunes, you may need a third-party program to get the music off the nano. However, It is much easier (by far) to move your old library from your old computer to the new one if you still have access to the old files. iTunes will not transfer music from your nano to the computer. It is a one-way sync.
    If you still have access to your old files, search google for how to transfer an itunes library, and follow someones instructions. It's not too complicated. You may want to specify mac to pc, pc to mac, mac to mac, or pc to pc, as the instructions will change.

  • Why so much code getting data out of DB & into web services

    I am new to Java and I am experimenting with web services.
    I am trying to get data out of a database and into a web service
    This is the code I had to build just to get a little bit of data out of a DB and into a web service.
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    Isn't there a way with less code to get data out and stick into a web service?

    I left the part of the code out that is bugging me - I was talking about all of the code to get the data into XML..
    here's the whole code..
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    SOAPElement employee = new SOAPElementImpl("Employees", "ns2", "http://www.abc.com/SampleApplication/Employee.xsd");
    employee.addChildElement("ns2:EMPNO").addTextNode(result.getString("EMPNO"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("FIRSTNME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("MIDINIT"));
    employee.addChildElement("ns2:LASTNAME").addTextNode(result.getString("LASTNAME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("HIREDATE"));
    elem1.addChildElement(employee);
    elem.addChildElement(elem1);
    ctx.setMessage(m);
    dbConn.close();
    } catch (Throwable e) {
    weblogic.utils.Debug.say("(hbs):e " + e);
    e.printStackTrace(System.out);
    putting the data in the node seems excessive to me.
    thanks
    AP

  • Need to get data for month entered in  user prompt to prior 12months.

    Hi,
    I have a report where i need to display total amount for current month  to prior  12 months data...first column will be current month, second column is (current month-1),3rd col: (current month-2)....( current month-12).
    Is there any way I could use current date to get previous 12 months in  variables?
    For example: if  current date is 02/15/2010, I need get  data for 01/2010, 12/2009, 11/2009,....01/2009.
    For example: if I entered Month: 03  and year:2010 in prompt , then I need to get data for prior 12 months to that in the prompt for month:03?.

    The only way to do this is using restrictions on Universe... here you can have the restrictions for every month or a range using the user prompt and the system date.
    Regards

  • How to get data out of XML?

    Hi,All.
    I am running SAX (JAXP1.01) in Applet to process XML file. My question is how to get data out of xml format according to the field name (@age,@rank etc)
    and write into string buffer seperated by comma.
    Should I use SAX or DOM? (file size is big)
    My xml as follow :
    <ROOT>
    <FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@team/relay}">
         <ObjectName>Field124</ObjectName>
         <FormattedValue>HUNTER</FormattedValue>
         <Value>HUNTER</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@age}">
         <ObjectName>Field125</ObjectName>
         <FormattedValue> 19</FormattedValue>
         <Value> 19</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@Rank}">
         <ObjectName>Field126</ObjectName>
         <FormattedValue>43</FormattedValue>
         <Value>43</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{results.athrel_name}">
         <ObjectName>Field127</ObjectName>
         <FormattedValue>1-1 NORRIE</FormattedValue>
         <Value>1-1 NORRIE</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2}">
         <ObjectName>Field128</ObjectName>
         <FormattedValue>1:54.75</FormattedValue>
         <Value>1:54.75</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1course}">
         <ObjectName>Field129</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1std}">
         <ObjectName>Field130</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2course}">
         <ObjectName>Field131</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2std}">
         <ObjectName>Field132</ObjectName>
         <FormattedValue>QT</FormattedValue>
         <Value>QT</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@points(left)}">
         <ObjectName>Field133</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@pointsdecimal}">
         <ObjectName>Field134</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:decimal" FieldName="{@points(right)}">
         <ObjectName>Field135</ObjectName>
         <FormattedValue>0</FormattedValue>
         <Value>0.00</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1}">
         <ObjectName>Field136</ObjectName>
         <FormattedValue>1:55.98</FormattedValue>
         <Value>1:55.98</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@Rank}">
         <ObjectName>Field137</ObjectName>
         <FormattedValue>43</FormattedValue>
         <Value>43</Value>
    </FormattedReportObject>
    Repeat...
    </FormattedReportObject>
    </ROOT>
    ------------------------------------------------

    For big files use SAX: quicker and less memory usage.
    The xerces parser from Apache has some examples. Basically what you do is scan the XML, remembering what tag you are and once you find the right tag, read the contents.

  • Getting data out of ALV Grid

    Hi,
    i have an editable instance of cl_gui_alv_grid. Is there an easy way of getting out the data or do i really need to implement an event handler catching handle_data_changed? I'm not interested in the event itself, and cause the column is a kind of free text i dont need to check the data, so it is sufficient to get the data out when the user is clicking the ok button.

    hi
    refer this sample code... for non oops concept
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes

  • How to get data out of HP4145B to a PC through GPIB cable?

    I have some measurement data in a HP4145B. And I need to get the data out of it to my PC. Is there anyone who can help me with this? The labview version I'm using is 6.0

    There is a LabVIEW driver available for this instrument here. Download the one for version 6 and install it in your instr.lib folder. There is a Learn About Instrument Drivers page if you've never used one before.
    Message Edited by Support on 01-24-2007 05:07 PM

  • How to get data out of Vector of vector ???

    All,
    I have a vector v1 which is getting populated by the resultset of the database. This vector has another two vectors vrow & vcol .
    Code as follows ---
    v1 = new Vector();
    while(rs1.next()) {
         Vector vrow = new Vector();
         for (int i=intstartday ; i <= intendday ; i++)
         {     // here I am getting the new result set for each i //
              ResultSet rs2 = getResultSet();
              while(rs2.next()) {
                   Vector vcol = new Vector();
                   vcol.addElement(rs2.getString("day"));
                   vcol.addElement(rs2.getString("reg_hr"));
                   vcol.addElement(rs2.getString("dateday"));
                   vrow.addElement(vcol);
              rs2.close();                              
         } // for loop end
         vrow.addElement(strChargeNmbr);
         v1.addElement(vrow);                    
    } // end of rs1 resultset while loop
    I need to get the data out of this vector v1. If anyone has any insight on this - how to get the data from vectors which has differnt type of objects in it , please send me the code example asap.
    thanx

    Thanks for your suggestion. It is working now except that I am having problems in getting the charge NUmber out....Charge NUmber is nothing but a String.
    So my row Vector has two values
    1. Check the code where I am populating the Vectors
    while(rs1.next()) {
    strsubmittime = rs1.getString("SUBMIT_TS");
    strapprovetime = rs1.getString("APP_DIS_TS");
    strapprempid = rs1.getString("APP_DIS_EMP_ID");
    strChargeNmbr = rs1.getString("entered_cn");               
    Vector vLaborrow = new Vector();
    for (int i=intstartday ; i <= intendday ; i++)
    // here execute the query and get the result set for every i //                         ResultSet rs2 = getResultSet();
         while(rs2.next()) {
         Vector vLaborcol = new Vector();
         vLaborcol.addElement(rs2.getString("day"));
         vLaborcol.addElement(rs2.getString("reg_hr"));
         vLaborcol.addElement(rs2.getString("dateday"));
         vLaborrow.addElement(vLaborcol);
    } // for loop end
    vLaborrow.addElement(strChargeNmbr);
    vLabor.addElement(vLaborrow);
    } // end of rs1 resultset while loop
    2. check out the following code where I am trying to get the Charge NUmber values out.--
    for(int i=0;i<vLabor.size() ;i++)
    Vector rowVec = (Vector)vLabor.elementAt(i);
    for(int j=0; j< rowVec.size() -1 ; j++)
    try
         if (j==0) {
    String strChargeNmbr = (String)rowVec.elementAt(j) ;
    Vector laborcol = (Vector)rowVec.elementAt(j);
    String day = (String)laborcol.elementAt(0);
    String reg_hr = (String)laborcol.elementAt(1);
    String dateday = (String)laborcol.elementAt(2);
    strChargeNmbr = strChargeNmbr + " " + reg_hr ;
    }catch(ClassCastException e){
         System.out.println("Reading in vector2");
    } // end of j for loop
    System.out.println(strChargeNmbr);
    } // end of i for loop
    I am getting the following Exception --
    "Reading in vector2"
    Please send me the code -- how to get the Charge NUmber out. I am confused where to get the value - is it in the first for loop or second for loop ??

  • Some assistance needed on getting data off of a Time Machine backup

    To make this short, I had a major HD failure on an older external Lacie drive that I used as storage for all kinds of things. I had that drive backed up, along with everything else, onto another Lacie external drive. Coincidentally, after the storage drive failed, so did my newer Lacie drive used for backup, BUT it is assumed that this one if just a bad power supply. A new one should be here today so we'll see if it will spin up.
    While waiting on the PS to arrive, I've decided to change backup strategy a bit and purchased a RAID array set up as RAID1. At least this way a drive failure won't screw me. I know, I still need to be careful since the drives are mirror's of each other so if the data is corrupted...anyway.
    The RAID is up and running and Time Machine is working flawlessly (for now) on it. Once I get the PS for my other drive and providing it spins up, I need to pull data off of the old Time Machine backup in that drive, specifically for the storage drive. I know that on the TM drive there is a directory for that storage drive, but what I don't know is if I can just copy the latest dated directory for that drive and I'll get all the data or am I going to have to go through Time Machine to get at.
    And that is the other problem. I don't think TM will give me access to that drives data since the drive is no longer connected to my system. I'm hoping I'm wrong on that and that there is a simple solution to get at the data.
    So help if you can and keep your fingers crossed that the drive will spin up!
    Anthony

    WOW. After letting DW do it's thing and failing to be able to write a new directory, it WAS able to create one and use it create a preview of the the drive. It said the drive was damaged and the new directory couldn't be written.
    Well, the preview seems to have worked OK and I was able to copy the data from my old "storage" drive to a new folder on my new backup drive. That took an incredibly long time, but it looks like all 67GB of data is intact. I'm currently writing zeros to the old drive after repartitioning it. That should take care of the volume structure problem, but certainly doesn't make me feel all warm and fuzzy about the drive stability.
    And all this leaves me with another question. What the heck caused the volume structure to get completely hosed at the same time the other drive failed totally? Since TM was backing up the "storage" drive to this one, could the failure have caused something to get majorly messed up on the TM drive?
    Or, could the TM drive failure been caused by all these darn TM errors that keep popping up for no rhyme or reason? And oh yeah, the errors are popping up on the brand new 3 day old drive, too. TM seems to work when it wants to!
    All this mess makes me feel really uneasy about using TM at all. Should I change to Retrospect or something? Should I continue to use it and ignore the errors that so many of us seem to be plagued with? Can TM totally FUBAR a drive with these errors?
    I need a drink after this mess, so please feel free to chime in with your thoughts and suggestions.
    Thanks all for giving me advise and encouragement.
    Anthony

  • Need to get data for specific user logged in

    Hi All,
    I need some pointers for the sql query. I have a query that extracts approval history information along with current status of person who submitted for changes of his direct reportee.
    what I need is to get the only the approval data of logged in person( top to bottom/bottom to top persons involved) in approval process.
    we built the report, but it gets all of the approvals data from HRSS related tables.
    I need to get the data of person who logged in.
    is this possible? can someone please provide some pointers?
    Thanks in advance..

    @Pablolee, Thanks for the reply
    Pointer number 1.
    Provide a (working)test case so that your requirements are clear.
    -- scenario
    lets say we have   Manager1, Manager2, Manager3
    Here is test case
       Manager1 - Submitted person salary change and went for approval. In this approval process It went upto manager level say Manager3.
    the sql query i have gets all approval process data of all other's manager's involved in whole approval process. as Manager1 when i logged in I wanted to see where this salary change record is pending i.e Manager3.
    but my query show all others data also. can you tell me how to get Manager1(top to bottom OR bottom to top of this person logged in) change record submitted data in approval process.
    I hope you understand this, If possible please let me know how to achieve this.
    Thx..

Maybe you are looking for