How to read a MessageTextInput in an advancedSearch region

Hi,
I am new to OAF and i am working in a Advanced Search Page. There are 4 criteria with which the Search happens and there are 4 messageTextInputs for taking input. Can anyone tell me how to take handle of these textinputs?
I tried
OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("CICopyFromQuery");
OADefaultSingleColumnBean searchBean = (OADefaultSingleColumnBean)query.findChildRecursive("CICopyFromSearch"); -- This was a advancedSearch Region
OAMessageTextInputBean textInputBean = (OAMessageTextInputBean)searchBean.findChildRecursive("Project1");
But it throws null pointer exception, which mean the text input is not inside the above region. can anyone please share a piece of code to find my Inputboxes?
Thanks in advanced for your help.
Regards,
Ganesh

Gyan,
The requirement is a bit different, we are not going to consider that parameter. For that we are making it readonly through personalisation. We have a default parameter which we will run the query and populate the textinput with the default value dynamically. For this we need the handle of the messageTextInput. I used the below code,
OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("CICopyFromQuery");
OATableBean table=(OATableBean)query.findChildRecursive("CICopyFromTbl");
OAAdvancedSearchBean searchBean = (OAAdvancedSearchBean)query.findChildRecursive("CICopyFromSearch1");
OAMessageTextInputBean textInputBean = (OAMessageTextInputBean)searchBean.findChildRecursive("Project1");
if (textInputBean !=null){
textInputBean.setReadOnly(true);
textInputBean.setText(oapagecontext,<dynamicdefaultValue>);
But the control is not getting into the if condition at all, can you please tell me what is going wrong here?
Regards,
Ganesh

Similar Messages

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • How can Reader v 9  be installed to a volume other than c:?

    How can Reader v >9  be installed to a volume other than c:? such as g:?
    and is there a distrubution executable available so Reader can be installed on a machine that is not connected to the Internet?

    download the .exe from the ftp service and use it to target the install directory:
    ergo
    ftp://ftp.adobe.com/pub/adobe/reader/
    and pick OS and version and language thus:
    ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.5.0/en_US/AdbeRdr950_en_US.exe

  • How to read BLOB column from a table in SQL or PL/SQL

    I have table which is having one BLOB data type column . Ihave inserted few rows in that table . Now i want to see wheather BLOB column has been inserted properly or not . How to read that column through SQL or PL/SQL.
    Can anyone help me to do this.

    You can only manipulate LOBs in PL/SQL because you have to use the DBMS_LOB package.
    Check out the Oracle Developer's Guide

  • How to read excel file in document library and store excel content in sql table

    Hello,
    Can anyone help me how to read the excel file present in document library and store the content inside excel into sql table?
    Please let me know the ways to acheive this. Feel free to give your suggestions.
    Thanks,
    Cool Developer

    Hi!
    this code i have written becuase i donot find any soltions on net for this , u can try with this . :)
    System.Data.OleDb.
    OleDbConnection ExcelConnection = null;
    FileMode fileMode;
    string filePath = ConfigurationManager.AppSettings["TempLoaction"] + "\\" + fileName;
    using (SPSite _site = new SPSite(SPContext.Current.Web.Url))
    using (SPWeb _web = _site.OpenWeb())
    string docLibrary = ConfigurationManager.AppSettings["DocumentLibrary"];
    SPFile _file = _web.GetFile("/" + docLibrary + "/" + fileName);
    fileMode =
    FileMode.Create;
    byte[] byteArray = _file.OpenBinary();
    MemoryStream dataStream = new MemoryStream(byteArray);
    Stream stream = dataStream;
    using (FileStream fs = File.Open(filePath, fileMode))
    byte[] buffer = new byte[4096];
    int bytesRead;
    while ((bytesRead = stream.Read(buffer, 0, buffer.Length)) != 0)
    fs.Write(buffer, 0, bytesRead);
    fs.Close();
    //Create the Connection String
    try
    string ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;
    Data Source ='"
    + filePath + "'; Extended Properties=Excel 5.0";
    //Create the connection
    ExcelConnection =
    new System.Data.OleDb.OleDbConnection(ConnectionString);
    //create a string for the query
    string ExcelQuery;
    //Sheet1 is the sheet name
    //create the query:
    //read columns from the Excel file
    ExcelQuery =
    "Select * from [Sheet1$]"; // from Sheet1";
    //use "Select * ... " to select the entire sheet
    //create the command
    System.Data.OleDb.
    OleDbCommand ExcelCommand = new System.Data.OleDb.OleDbCommand(ExcelQuery, ExcelConnection);
    //Open the connection
    ExcelConnection.Open();
    //Create a reader
    System.Data.OleDb.
    OleDbDataReader ExcelReader;
    ExcelReader = ExcelCommand.ExecuteReader();
    //For each row after the first
    while (ExcelReader.Read())
    thanks,
    kshitij

  • How to read device report for HP Deskjet 1510

    Hi HP,
    I can see from the software provided with this printer there is this option to print the device reports.
    Please assist on how to read this report because it consist of unknown coding and stuff. 
    I would appreciate if your side can help me on this coz I assume that we can track our usage through this report.
    If this is not the purpose, perhaps you may suggest any other way to get an understandable usage reports? 
    Regards,
    Nadiya
    This question was solved.
    View Solution.

    Hello Nadiya,
    Welcome to the forums
    I understand you are looking for a usage report. The printer will print a test page and you can see the page count on that page, along with the printer information, such as your serial number, etc. If there is anything else you may mean by "usage" please let me know and I will do my best to help.
    Click this link: Fixing Ink Streaks, Faded Prints, and Other Common Print Quality Problems
    In the guide, look under "Solution six: Print and evaluate a test page and troubleshoot defects" and print a test page.
    Take care,
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • How to read Excel file in flex

    Hi,
         I am new to Adobe flex and i dont know how to read Excel in flex and i need coding for that. So anybody help me...
    thanks in advance...

    Hi
    You can read and parse XLS files (only works with xls-files) with urlloader and a ZIP-lib that can read zip-files.
    public function loadXLS(url:String):void
                var urlLoader:URLLoader = new URLLoader();
                urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
                urlLoader.addEventListener(Event.COMPLETE, onLoadComplete);
                urlLoader.load(new URLRequest(url));
            private function onLoadComplete(even:Event):void
                urlLoader.removeEventListener(Event.COMPLETE, onLoadComplete);
                model.sheetsDict = new Dictionary();
                var zipFile:ZipFile = new ZipFile(urlLoader.data);
                for(var i:int = 0; i < zipFile.entries.length; i++)
                    var entry:ZipEntry = zipFile.entries[i];
                    var data:ByteArray = zipFile.getInput(entry);
                    if(useFile(entry.name, "/sheet([^$]+)"))
                        model.sheetsDict[entry.name.split("xl/")[1]] = new XML(data.toString());
                    else if( useFile(entry.name, "/sharedStrings.xml") )
                        model.sharedStrings = new XML(data.toString());
                    else if( useFile(entry.name, "/workbook.xml$") )
                        model.workbook = new XML(data.toString());
                    else if( useFile(entry.name, "/workbook.xml.rels") )
                        model.rels = new XML(data.toString());
                trace(model.sharedStrings)
    to read the xml properly you have to use namespaces in the reader-class
    namespace ns1 = "http://schemas.openxmlformats.org/spreadsheetml/2006/main";
            use namespace ns1;
            namespace ns2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
            use namespace ns2;
            namespace ns3 = "http://schemas.openxmlformats.org/markup-compatibility/2006";
            use namespace ns3;
            namespace ns4 = "urn:schemas-microsoft-com:mac:vml";
            use namespace ns4;
            namespace ns5 = "http://schemas.openxmlformats.org/package/2006/relationships";
            use namespace ns5;
    //Olof

  • How to read the data in excel sheet

    Dear sir,
    How to read the data in excel sheet when i recieve a data serial communication... ie i have store a data in excel such that
    Cell A       Cell B
       A           Apple 
       B           Ball
       C           Cat
       D           Doll
    when i recieve A from serial communication i have to display Apple, and when i recieve B i have to display Ball and so on.. 

    Hi, 
    I would recommend you to have a look at the VI attached. It makes use of a VI named 'Read from Spreadsheet' to read the row and column data from the tab delimited excel file. The read data is then searched for the Alphabet specified and finally returns you the corresponding string. The test file used to validate the operation of the VI is also attached. 
    Trust this would help you solve the issue. 
    Regards, 
    Sagar G Yadav | Application Engineer | National Instruments
    Attachments:
    read_from_excel.vi ‏10 KB
    Book1.txt ‏1 KB

  • How to read all values of a queue

    Hi All,
    In Message mapping I am checking condition for field value based on incoming value.
    In test cases i can see the second or third  occurence is getting supressed and first value fails the condition and mapping node not created.
    I would like to know how to read multiple values from queue and check condition for each value and if correct value present condition should pass.
    I tried all possible context changes but no luck.
    Any ideas how to read all values coming .
    Thanks.

    <?xml version="1.0" encoding="UTF-8"?>
    <msg version="" dbName="">
       <rowOp isLast="" cmitLSN="" cmitTime="" authID="" correlationID="" planName="">
          <updateRow subName="" srcOwner="" srcName="" intentSEQ="" rowNum="" hasLOBCols="">
             <col name="END_RSN_CDE" isKey="852369" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
             <col name="SVC_USER_SDT" isKey="789654" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
          </updateRow>
       </rowOp>
    </msg>

  • How to read the file from a folder.

    Hi All,
    How to read the file from a folder or directory from the non sap server / remote server.
    Regards
    Sathis

    open dataset filename for input in text mode
                         encoding default.
    filename is character type variable with the destination filename.
    Edited by: Jino Augustine on Apr 19, 2010 1:31 PM

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • Why is my macbook pro running slow.  It runs slow even if only one app is open, especially if it's a browser.  I don't know how to read Etrecheck, but was hoping someone who does can help me out.  Would be super grateful.  :-)

    Hi.  This is my first time posting.  My Macbook Pro with Os X Mavericks has been running super slow since before I installed Mavericks so I'm pretty sure it's not the OS that has the problem.  It runs slow even if only one app is open, especially if it's a browser, particulary google chrome.  If mail is open...forget about it, down to a crawl.  I don't know how to read Etrecheck, but was hoping someone who does can help me out.  Would be super grateful.  :-)
    P.S. - Also, it sounds like something is loose inside my mac.  How should I proceed?
    Thanks in advance.
    Hardware Information:
              MacBook Pro (13-inch, Late 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.8 GHz Intel Core i7 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 23:21:37
    Disk Information:
              APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 749.3 GB (603.2 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.leapfrog.driver.LfConnectDriver (1.8.0 - SDK 10.7) Support
              [not loaded] com.seagate.driver.PowSecDriverCore (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.0.1) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.0.1) Support
    Problem System Launch Daemons:
              [failed] com.apple.wdhelper.plist
    Problem System Launch Agents:
              [loaded] com.paragon.NTFS.auth.plist Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.leapfrog.connect.shell.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [running] com.sophos.autoupdate.plist Support
              [running] com.sophos.intercheck.plist Support
              [running] com.sophos.notification.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.seagate.SeagateStorageGauge.plist Support
              [running] com.sophos.uiserver.plist Support
              [running] org.chromium.chromoting.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [failed] com.adobe.ARM.[...].plist Support
              [loaded] com.facebook.videochat.[redacted].plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
    User Login Items:
              Activity Monitor
              Dropbox
              Google Drive
              younity
              EvernoteHelper
    Internet Plug-ins:
              o1dbrowserplugin: Version: 5.2.4.18058 Support
              nplastpass: Version: 2.5.5 Support
              Default Browser: Version: 537 - SDK 10.9
              AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              Silverlight: Version: 5.1.20125.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              QuickTime Plugin: Version: 7.7.3
              googletalkbrowserplugin: Version: 5.2.4.18058 Support
              SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions:
              Slick Savings: Version: 1.0
              Slick Savings: Version: 1.0
              Surfon: Version: 1.2.2
              Pearltrees Extension: Version: 6.0.13
              Mindomo Bookmarks: Version: 1.0
              Ebay Shopping Assistant: Version: 1.1
              Zootool: Version: 0.7
              Amazon Shopping Assistant: Version: 1.1
              Pocket: Version: 1.7.1
              Searchme: Version: 1.3
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User iTunes Plug-ins:
              TuneUp Visualizer: Version: 2.4.0 - SDK 10.6 Support
    User Internet Plug-ins:
              Picasa: Version: 1.0 - SDK 10.4 Support
    3rd Party Preference Panes:
              remoting_host_prefpane  Support
              Flash Player  Support
              Paragon NTFS for Mac ® OS X  Support
    Time Machine:
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 697.84 GB Disk used: 136.06 GB
              Destinations:
                        NO NAME [Local] (Last used)
                        Total size: 3.41 GB
                        Total number of backups: (null)
                        Size of backup disk: Too small
                                  Backup size 3.41 GB < (Disk used 136.06 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   6%          Activity Monitor
                   5%          WindowServer
                   1%          InterCheck
                   1%          sysmond
                   0%          ocspd
    Top Processes by Memory:
              152 MB          Finder
              115 MB          HelpViewer
              111 MB          mds_stores
              86 MB          InterCheck
              57 MB          WindowServer
    Virtual Memory Information:
              983 MB          Free RAM
              1.03 GB          Active RAM
              584 MB          Inactive RAM
              1.01 GB          Wired RAM
              17.41 GB          Page-ins
              222 MB          Page-outs

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • How to read a whole text file into a pl/sql variable?

    Hi, I need to read an entire text file--which actually contains an email message extracted from a content management system-- into a variable in a pl/sql package, so I can insert some information from the database and then send the email. I want to read the whole text file in one shot, not just one line at a time. Shoud I use Utl_File.Get_Raw or is there another more appropriate way to do this?

    how to read a whole text file into a pl/sql variable?
    your_clob_variable := dbms_xslprocessor.read2clob('YOUR_DIRECTORY','YOUR_FILE');
    ....

  • What is S.M.A.R.T. and how to read S.M.A.R.T. attributes

    Read the bottom for updated information/amendments
    Hi everyone,
    S.M.A.R.T. is Self-Monitoring, Analysis and Reporting Technology.
    [size=15]1. S.M.A.R.T. info websites[/size]
    OK, now we all know what S.M.A.R.T. stands for. For more details about S.M.A.R.T., here is a comprehensive non-technical explanation about S.M.A.R.T. by pcguide.com. Maxtor has published a white paper on S.M.A.R.T. too. And this is from Seagate. Anyhow, I am not going to discuss whether S.M.A.R.T will protect your harddisk from failure, etc etc here. Let us focus more on S.M.A.R.T. itself.
    [size=15]2. S.M.A.R.T. monitoring tools[/size]
    S.M.A.R.T. data is stored as a tabulated data somewhere in the harddisk as registers. The tools below support reading these registers value from S.M.A.R.T. enabled harddisk.
    1. SpeedFan *sign-up is required for download, but it's FREE
    2. Active SMART
    3. Sisoftware SANDRA 2002.6.8.97 SP1 , older version doesn't support
    [size=15]3. S.M.A.R.T. Tabulated Information[/size]
    Here is a screenshot captured with SpeedFan.
    Let us go through the screenshot. As can be seen, there are 5 columns - Attribute, Value, Worst, Warn and Raw.
    Attribute
    describes the meaning of the values. As mentioned above, the SMART data is stored as a tabulated data as registers. Each attribute represents one register ID. eg Raw Read Error Rate is register ID 01, register ID 03 is Spin-up Time, etc.
    Note that the register IDs are not displayed by SpeedFan, but are displayed by other SANDRA and Active SMART. I have no idea how many S.M.A.R.T. attributes are there, Active SMART stated it can detect more than 35 attributes!
    However, some attributes are manufacturer specific. So possibly some attribute names as shown in these SMART tools might not represent the true meaning of the values too!!
    Value
    is the current relative value of the attribute read from the registers.
    Worst
    is the worst value ever achieved.
    Warn
    is the critical threshold value of the attribute. If the Value has reached and OVER this threshold value, with very high probability the harddisk is in trouble. If SMART is enabled in the BIOS, SMART will alert user in the POST screen, with some manufacturer specific error code. You may need to refer to your manufacturer then.
    Note : Value, Worst and Warn are all relative values, such as percentage, not actual count. I have no idea how to calculate these values. This is the very S.M.A.R.T. algorithm, isn't it? ?(
    Raw
    is in fact, the most understandable represented value here! It represents the actual count of the attribute. SpeedFan displays this raw value as hexadecimal numbers. Such as Power On Hours Count is "AA8", which is 2728 in decimal numbers, meaning that the harddisk has been power on for 2728 hours!! There are some Raws represent average rate, such as "CRC Error Rate" etc.
    [size=15]4. S.M.A.R.T. Attributes In Detail[/size]
    Hopefully by now, you have the basic idea how to read the tabulated data. I will try my best to go through the attributes one-by-one, which after that shall make you understand more about S.M.A.R.T. and of course, starts to appreciate it.
    Raw Read Error Rate represents the condition of the physical disk, based on raw (physical) read errors, and physical surface defects.
    Spin Up Time is the time taken for the hdd to spin-up. more info
    Start/Stop Count is the number of counts (cycles) the hdd start/stop. more info
    Reallocated Sector Count - the number of sectors have been reallocated. Surface scan and found bad sector will increase this count. Now this drive has 7 bad sectors already!
    Seek Error Rate - how often the drive failed to locate the data (seeking)
    Power On Hours Count - the number of hours you have powered on the HDD.
    Spin Retry Count - how many time your drive need to attempt to get the drive platter spinning. If this value is more than 1, your drive is seriously in very bad condition!
    Calibration Retry Count - represents the number of time your drive perform calibration retry. I am not sure if low-level format would increase this value.
    Power Cycle CountThe number of time the hdd has been powered on. On and Off = 1 cycle.
    Read Soft Error Rate - should be Soft Read Error Rate. Similar to Raw Read Error Rate but this one depends on logical level, such as error occured in the hdd buffer, etc.
    Temperature - The drive temperature, Forget the relative values, read from the Raw value -- "2D" in this example, which is 45C. But my SpeedFan displayed 47C at that time!! SpeedFan seems to produce some +-2C error from actual reading once in a while. :P
    Hardware ECC Recovered is the number of counts ECC correction is performed on the data.
    Reallocated Event Count - similar to Reallocated Sector Count but this one is on the data.
    Current Pending Sector - is the number of counts how many sectors are currently pending. But what is a pending sector?? ?( ?(
    Offline Correctable - which is Off-line Scan Uncorrectable Sector Count. Again, what is off-line scan?
    UltraATA CRC Error Rate - which is in fact, CRC Error Count instead of rate. As shown, there have been "3C3", which is 883 errors occured already!!!
    There are more S.M.A.R.T. attributes, such as
    Thoroughput Performance - again, this relative value is surely got from some wierd algorithm again.
    Seek Time Performance - some algorithm has been used to calculate this performance value.
    Power Off Retract and Load Cycle Count are IBM HDD specific features -- unload the head off the platters when power off. More info on Head Load/unload cycle.
    [size=15]5. SpeedFan S.M.A.R.T. Fitness and Performance bars[/size]
    I should not comment on this too much because this is Almico's work. I am not sure how he calculate to define the "fitness" and "performance" though. It could probably based on mathematic relation between the current Values  and the threshold Warns.  
    For most hdds, like Maxtor and Seagate's, out-of-the-box the fitness bar has already reaching half-way 50%. But for IBM hdd, the fitness bar is always around 100%. This is because IBM hdd has its threshold/Warn values set to unrealistically high until it's quite unreachable even after a long term use. While for other brand HDDs, the threshold values are more realistic. Thus, the fitness bar in particular, does not tell the true fitness of the HDD. Take it as a reference only. Please always refer back to the Raw values to determine the fitness.
    [size=15]6. Conclusion : Judging HDD fitness by our own selves![/size]
    Now we all know what the Attributes are, so roughly everyone will have the basic idea how to judge HDD health by our own selves depend on the attributes you're reading. S.M.A.R.T. itself however, define "fitness" and "performance" based on its own algorithm.
    We can categorize the attributes into :
    Error Related Attributes
    "UltraATA CRC Error Rate", "Raw Read Error Rate", "Raw Soft Error Rate", "Hardware ECC Recovered Count", "Reallocated Sector Count", "Reallocated Event/Data Count", Offline Correctable"
    -- tell how often are those errors occured. For the above example, this Maxtor harddisk should be RMA-ed for its high CRC Error Rate count.
    Drive Fitness Attributes
    Spin Up Time, Start/Stop Count, Seek Error Rate, Power On Hours Count, Spin Retry Count, Calibration Retry Count, Power Cycle Count, Power Off Retract Count, Load Cycle Count
    -- check "spin retry count" and "Seek Error Rate", any value other than zero is really bad.
    Other Attributes
    I have no idea what they are for except Temperature.
    As the conclusion, understanding S.M.A.R.T. attributes helps in knowing your HDD fitness by your own self, rather than waiting for the S.M.A.R.T. to alert you for severe error. That might be too late already.  8o
    Thanks for reading.
    Edited:
    1. for better reading pleasure
    2. added Conclusion
    3. added explanations about SpeedFan SMART Fitness and Performance bar.

    Quote
    Originally posted by WarLord
    I like this HD tool. i use it everyday now. the tempture readings are great Hd temp cpu temp and even the system temp nice added feature to the monitoring. And this is an alternative to enabling the SMART in the bios? Thats the way im understanding it. is that right Maesus ?Because i have disabled in bios. She went threw alot of trouble here. thank you  
    Well from my observation, whether SMART is disabled or enabled in the BIOS, SMART is always working within the HDD itself.
    Basically SMART is acting like a blackbox, monitoring and tabulating HDD condition from time to time and its attributes only fully revealable by the manufacturers. SpeedFan's SMART status only displays partial information that is displayable. Some attributes are hidden, ~OR~ the attributes' locations are different from one HDD to another brand, such that some values don't correspond to the attribute meaning at all.
    It is very doubtful to claim that enabling SMART in the BIOS will hog down the performance. Just like a transport bus (yeah real bus that fetch passenger :P ), with or without the black box installed can't help it if the driver wants to speeding. :P

  • How to read the check box value in alv report

    hi experts,
    i m working on one alv report where i m using the check box for field selection in alv display.
    but i don't know how to read the only selected fields.
    wa_fieldcat-fieldname = 'BOX'.
      wa_fieldcat-tabname = 'IT_HEADER'.
      wa_fieldcat-seltext_m = 'Box'.
      wa_fieldcat-checkbox = 'X'.
      wa_fieldcat-input = 'X'.
      wa_fieldcat-edit = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'AUFNR'.
      wa_fieldcat-tabname = 'IT_HEADER'.
      wa_fieldcat-seltext_m = 'Sales Doc'.
      wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = v_repid
         I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         it_fieldcat                       = i_fieldcat[]
         i_save                            = 'A'
         it_events                         = v_events
        TABLES
          t_outtab                          = it_header
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    when '&RELEAS'.
    endcase
    endform.
    i gone through some already posted que for same problem i tried options like
    loop at it_header.
    endloop.
    but i m getting box field empty.
    is there i missed something? plz sugeest.. if u have any other solution plz post...

    Have this code in your user command fm:
    * For capturing changed data
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = w_grid.
      CALL METHOD w_grid->check_changed_data
        IMPORTING
          e_valid = w_valid.
      IF w_valid = 'X'.
    loop at itab where mark = 'X'.
    endloop.
    ENDIF.
    Regards,
    Ravi

Maybe you are looking for

  • Minimizing the java command window?

    I'm running a excutable jar file: 'java -jar myExe.jar' i leave the command window open, and task manager window open next to it. when i minimize my command window, i see the CPU usage for the java process go down. why does it do that?

  • Flashack table and partitions??

    Hi All, Can We use the flash back tables with partitions... Any idea or any document about Flash back table and partitions relationship in 11 or 10g would help... Thanks

  • ABAP Runtime error at simulating MIRO

    Hello SAPians, My user is getting the "ABAP Runtime Error" when simulating the MIRO. My technical consultant has given the below results. Please let me know how to handle this. As this is a standard program we don't want to change. Please find the be

  • Messaging Server 4.15 Plug-in API

    I need to convert a messaging server 3.6 plug-in into a messaging server 4.15 plug-in. I got the messaging server 4.15 plug-in API guide. I wrote a plug-in. Building the SMTP plug-in is OK. I installed this plug-in by configuring the SMTP plug-in con

  • Do i need to uninstall elements on PC before installing on Mac?

    I recently got a mac and want to transfere my elements 10 from my PC to mac. I am aware that elements 10 is multi platform so I should be able to do this. However, should I uninstall the previous version on my PC before attempting to install on my Ma