To develop an error checker for consecutive values

Thanks Doug. Your answer has given me further insight into the problem.
However, I was wondering if it is possible to make an error checker for consecutive values of a particular variable.
That is, the first value and second value might be 100 and 100.5 respectively, but the third value might be 110, which is a wrong value. How do I discard the 110 point from being plotted?
Thanks.
Choy

Really difficult. How do you know the first two values aren't errors and
the third one is correct. If you're getting these sorts of values fromn
your A-D hardware, I'd suggest fixing the problem at the source.
Regards,
Alf Katz,
[email protected]
"leon2001" wrote in message
news:[email protected]..
> Thanks Doug. Your answer has given me further insight into the
> problem.
>
> However, I was wondering if it is possible to make an error checker
> for consecutive values of a particular variable.
>
> That is, the first value and second value might be 100 and 100.5
> respectively, but the third value might be 110, which is a wrong
> value. How do I discard the 110 point from being plotted?
>
> Thanks.
>
>
> Choy

Similar Messages

  • How does APEX check for null values in Text Fields on the forms?

    Hello all,
    How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
    I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
    All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
    Declare
    v_valid boolean;
    Begin
    IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := FALSE;
    ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := FALSE;
    END IF;
    return v_valid;
    END;
    My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
    Thanks

    See SQL report for LIKE SEARCH I have just explained how Select list return value works..
    Cheers,
    Hari

  • How to check for null values in bpel?? Please Help! very urgent!!!

    Hello Guys,
    I have a problem. I have an external webservice to which I have to post my request. My task is to create an Webservice and Service Assembly to which others would post request and get response. I have to create SA to deploy onto the bus.
    The problem is that there are optional elements in the request and response xsd's. In the Response sometimes certain feilds may come or they may not. for Example:- my response could contain a tag like this <firstName></firstName>
    I have to copy these feilds in my bpel process from one variable to another.(like in the mapper).
    My Question is , Is there any way in BPEL process or BPEL mapper where I could Check for null values in the request or response???
    Your inputs would be very helpful.
    Thanks
    Rajesh

    Thanks for replying man :)
    Ok I will be more clear.
    Here is a snippet of one of the xsd's that I am using.
    <xs:element name="returnUrl" nillable="false" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>Partner specifies the return URL to which responses need to be sent to, in case of
    Async message model.
    </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                             <xs:restriction base="xs:anyURI">
                                  <xs:maxLength value="300"/>
                                  <xs:whiteSpace value="collapse"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
    This means that the return URL field can be there or it may not be there. But if it is there it cant be null because nillable=false. But the whole <returnURL> </returnURL> can be there or it may not be there because minOccurs=0.
    My requirement is , if returnURL is there in the response with a value, then in my BPEL mapper I should map it else I should not map it.
    Thats the issue.
    and Yes kiran, the node be non-existant.
    So can you please help me with this.
    Thanks
    Rajesh

  • Checking for null value in arraylist

    Hi
    i have an excel file which i i am reading into an arraylist row by row but not necesarrily that all columns in the row mite be filled. So how do i check for null values in the array list.
    try
                        int cellCount = 0;
                        int emptyRow = 0;
                        HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(file));
                        HSSFSheet sheet = workbook.getSheetAt(0);
                        Iterator rows = sheet.rowIterator(); 
                        myRow = new ArrayList();
                        int r = 1;
                             while (rows.hasNext())
                                  System.out.println("Row # " + r);
                                  HSSFRow row = (HSSFRow) rows.next();
                                  Iterator cells = row.cellIterator();          
                                  cellCount = 0;
                                  boolean isValid = false;
                                  while (cells.hasNext())
                                       HSSFCell cell = (HSSFCell) cells.next();
                                       switch (cell.getCellType())
                                            case HSSFCell.CELL_TYPE_NUMERIC:
                                                 double num = cell.getNumericCellValue();     
                                                 DecimalFormat pattern = new DecimalFormat("###,###,###,###");     
                                                 NumberFormat testNumberFormat = NumberFormat.getNumberInstance();
                                                 String mob = testNumberFormat.format(num);               
                                                 Number n = null;
                                                 try
                                                      n = pattern.parse(mob);
                                                 catch ( ParseException e )
                                                      e.printStackTrace();
                                                 System.out.println(n);
                                                 myRow.add(n);                                             
                                                 //myRow.add(String.valueOf(cell.getNumericCellValue()).trim());
                                                 //System.out.println("numeric: " +cell.getNumericCellValue());
                                                 break;
                                            case HSSFCell.CELL_TYPE_STRING:
                                                 myRow.add(cell.getStringCellValue().trim());
                                                 System.out.println("string: " + cell.getStringCellValue().trim());
                                                 break;
                                            case HSSFCell.CELL_TYPE_BLANK:
                                                 myRow.add(" ");
                                                 System.out.println("add empty:");
                                                 break;
                                       } // end switch
                                       cellCount++;
                                  } // end while                    
                                  r++;
                             }// end while
                   } myRow is the arrayList i am adding the cells of the excel file to. I have checked for blank spaces in my coding so please help with how to check for the black spaces that has been added to my arraylist.
    I have tried checking by looping through the ArrayList and then checking for null values like this
    if(myRow.get(i)!=null)
      // do something
    // i have tried this also
    if(myRow.get(i)!="")
    //do something
    }Edited by: nb123 on Feb 3, 2008 11:23 PM

    From your post I see you are using a 3rd party package to access the Excel SpreadSheets, you will have to look in your API for you 3rd party package and see if there is a method that will identify a blank row, if there is and it does not work, then you have to take that problem up with them. I know this is a pain, but it is the price we pay for 3rd party object use.
    In the mean time, you can make a workaround by checking every column in your row and seeing if it is null, or perhaps even better: check and see if the trimmed value of each cell has a lenth of 0.

  • Error checking for OS X updates

    hi,
    im getting this message when checking for updates (App Store)   " an error has occurred
    Could not load data from Apple's software update server "
    bootcamp assistant is giving me this message too "Could not download the software due to a network problem." when trying to download windows drivers..
    can´t find a solution.
    thanks.

    Cross reference
    error checking for OS X updates – MacRumors Forums (2015-04-05)

  • Error handling for RGB values

    Hi
    I am having problems doing error handling for RGB values. I have a Java applet with 3 JTextFields whose values are parsed as int variables and stored as ints. If a value is entered that is not a value between 0 and 255 is entered, the appropriate field/s should be set to an empty string.
    The problem I am having is that I am using try/catch block to try to parse as an int but then it breaks out of execution completely.
    I hope this makes sense and that someone can help.
    Thanks!

    this is because your code is probably inside one giant try catch block, what you need to do is have small ones in places where you do the parsing.
    post code and i can show you how to modify it

  • Compiling error: "checking for mtc_init in -lmatc... no"

    Hello
    I'm trying to compile the elmer fem from svn via a selfmade PKBUILD.
    I've got an error message:
    "checking whether we are using the Microsoft C compiler... no
    checking for mtc_init in -lmatc... no
    configure: error: libmatc
    ==> FEHLER: Ein Fehler geschah in build().
        Breche ab ..."
    Is here a dependency missing? Does anyone know which?
    Thanks.

    I'm having the same problem, albeit 18 months later. I am working with a tutorial from apress, which seems very high on Glassfish as a AppServer environment for learning EJB 3.0. I have the same error when I try to run the client application in the Sun Platform 9.0 Application Server's AppClient Module container , "... Error checking for persistence unit annotations in the main class..." and I think it has something to do with the fact that the AppClient is expecting "something" in the MANIFEST.MF file that actually isn't there... ( sigh ). " so close, and yet so far away.... "
    --- andyj748

  • I am looking for a way to develop a grammar checker for the web like spellcheckerplus can you help?

    I am looking for a way to develop a grammar checker for the web like spellcheckerplus can you help? I have my own dictionary for comparing and replacing words.

    Hi,
    The forum is about install/uninstall .NET Framework, please post your issue to dev related forum instead of here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Appclient: Error checking for persistence unit annotations in the main clas

    what does this mean? i tried to launch my app client as follows:
    appclient -client foo.jar
    Oct 9, 2006 3:49:02 PM com.sun.enterprise.appclient.MainWithModuleSupport <init>
    WARNING: ACC003: Application threw an exception.
    java.lang.RuntimeException: Error checking for persistence unit annotations in the main class
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnnotation(StandAloneAppClientInfo.java:88)
    at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnnotations(AppClientInfo.java:342)
    at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersistenceUnit(AppClientInfo.java:311)
    at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo.java:164)
    at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(AppClientInfoFactory.java:136)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:287)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.NullPointerException
    at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
    at java.util.jar.JarFile.getInputStream(JarFile.java:382)
    at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotation(AnnotationDetector.java:139)
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnnotation(StandAloneAppClientInfo.java:86)
    ... 6 more

    Hi, Did you find out what caused this as I have the same problem.
    :\Sun\EJB3\Chapter02-SessionSamples\SessionBeanSamples\archive>%GLASSFISH_HOME%
    bin/appclient.bat -client searchfacadeclient.jar
    006-11-08 12:52:48 com.sun.enterprise.deployment.annotation.impl.ModuleScanner
    etElements
    ARNING: Cannot load SearchFacadeTest reason : SearchFacadeTest
    006-11-08 12:52:48 com.sun.enterprise.appclient.MainWithModuleSupport <init>
    ARNING: ACC003: Application threw an exception.
    ava.lang.RuntimeException: Error checking for persistence unit annotations in t
    e main class
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    tation(StandAloneAppClientInfo.java:88)
    at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    tations(AppClientInfo.java:342)
    at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    ceUnit(AppClientInfo.java:311)
    at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    java:164)
    at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    ppClientInfoFactory.java:136)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    leSupport.java:287)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    aused by: java.lang.NullPointerException
    at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
    at java.util.jar.JarFile.getInputStream(JarFile.java:382)
    at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotat
    on(AnnotationDetector.java:139)
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    tation(StandAloneAppClientInfo.java:86)
    ... 6 more
    xception in thread "main" java.lang.RuntimeException: java.lang.RuntimeExceptio
    : Error checking for persistence unit annotations in the main class
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    leSupport.java:364)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    aused by: java.lang.RuntimeException: Error checking for persistence unit annot
    tions in the main class
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    tation(StandAloneAppClientInfo.java:88)
    at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    tations(AppClientInfo.java:342)
    at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    ceUnit(AppClientInfo.java:311)
    at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    java:164)
    at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    ppClientInfoFactory.java:136)

  • Error checking for persistence unit annotations in the main class

    Hi
    When I tried running the examples from the SUN JMS tutorials, I landed in a problem. I did the following changes...
    1. I created a new project in eclipse
    2. created the java class 'Producer.java' in a package..(the one in java tutorial is not in a package)
    3. copied the build.xml and made the the respective changes.
    I successfully created the jar file, but when I tried to run the the application
    appclient -client JMSProducer.jar eg.jms.P2PProducer.Producer queue 3it throws the following exception:
    Nov 29, 2006 3:40:33 PM com.sun.enterprise.deployment.annotation.impl.ModuleScan
    ner getElements
    WARNING: Cannot load ${main.class} reason : ${main.class}
    Nov 29, 2006 3:40:33 PM com.sun.enterprise.appclient.MainWithModuleSupport <init
    >
    WARNING: ACC003: Application threw an exception.
    java.lang.RuntimeException: Error checking for persistence unit annotations in t
    he main class
            at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    otation(StandAloneAppClientInfo.java:88)
            at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    otations(AppClientInfo.java:342)
            at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    nceUnit(AppClientInfo.java:311)
            at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    .java:164)
            at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    AppClientInfoFactory.java:136)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    uleSupport.java:287)
            at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.NullPointerException
            at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
            at java.util.jar.JarFile.getInputStream(JarFile.java:387)
            at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotat
    ion(AnnotationDetector.java:139)I have spent so much time identifying the problem... can anyone point the error please?

    I'm having the same problem, albeit 18 months later. I am working with a tutorial from apress, which seems very high on Glassfish as a AppServer environment for learning EJB 3.0. I have the same error when I try to run the client application in the Sun Platform 9.0 Application Server's AppClient Module container , "... Error checking for persistence unit annotations in the main class..." and I think it has something to do with the fact that the AppClient is expecting "something" in the MANIFEST.MF file that actually isn't there... ( sigh ). " so close, and yet so far away.... "
    --- andyj748

  • Check for NULL value (Recordset field)

    Hi y'all...
    A little question, so just for the weekend...
    I've a query that returns 4 fields, the fisrt three always containing data, and the last one an integer, or NULL. If I get the value with <i>rs.Fields.Item(3).Value.ToString();</i> it always contains an integer. The NULL values are always converted to '0'.
    How can I check if it is a NULL value?

    Okey, found a workaround, using the SQL function ISNULL()...
    SELECT ISNULL(U_MyVar, 'null_value') FROM [@MyTable]
    Now I can check if the value has the value <i>"null_value"</i>. If so, that field was <i>null</i>

  • Adobearm.exe error Checking for updates

    I'm getting this error when Adobe Reader 10.1.1 checks for updates.  Since it checks automatically this pops up on it's own when you view a PDF.  It will also do it if you check for updates using the help menu.  Running Windows 7 Enterprise x64.  It's also happening on at least one other computer in our organization.  I've searched all over, but I'm not finding much on it.  I've even gone so far as to run procmon to see if I can see where it's trying to read that it's getting an access denied, but that didn't return anything helpful.  Any help is appreciated.

    1.  adobearm.exe does exist in the location the error states.  Interesting it shows an older date on it.  Not sure it's getting uninstalled with reader each time.  maybe I should delete the arm folder manually when I uninstall and try to reinstall?
    2. it has a valid digital signature from Adobe.
    3. 1.5.5.0
    4. I am admin, but UAC is on.  I had also tried running reader as admin, but it made no difference.
    5. Doesn't matter if you open stand alone pdf or in browser.  You will get the error either way.  Without the help menu in the browser I can't manually check for updates, but it appears to check automatically because it will error on it's own when viewing an online pdf.
    6. Yes double-clicking on a file you get the error.  It's not immediate though.  There is a delay before it automatically checks for updates it looks like.  Once it does you get the error.  I assume it's the checking for updates automatically that causes this anyway since it's the same error when I manually check for updates.  I supposed it could be a different problem that produces the same error.
    7. originally I installed it via the enterprise download package.  I customize the installer using "Adobe Customization Wizard X".  When I discovered the problem I rebuilt the package and reinstalled.  Didn't help.  I then reinstalled using the default Enterprise package with no customization.  Didn't help.  I then installed off the website.  Didn't help.

  • Authorization checks for filter values

    Hi,
    I'd need to apply authorization checks to filter values in web reporting. The authorizations should be limited with an attribute of the characteristic, not the characteristic itself.
    A practical example:
    There are two companies A and B. The companies are not allowed to see any data from each other.
    There is a report that displays sales orders. It is used by both companies. The selection of sales orders is limited with the characteristic 'distribution channel', so the initial display is fine.
    customer sales order
    cust1          so1
    cust1          so2
    cust2          so3
    cust2          so4
    Users should be able to filter the sales orders by customer. As filter values, the users should only be able to see and select customers from their own company.
    Access to customers should be limited with an attribute of the customer, e.g. company code, because it would be impossible to maintain authorization profiles that contain lists of customers.
    However, it seems that BEx and web reports don't care about the authorization restrictions applied to the company code. When a user from company A clicks on the characteristic 'customer' and selects filter values (e.g. with F4), he can choose from all customers.
    So, how could we apply authorization checks to filter values?
    Message was edited by: Arto Pihlaja

    Hi Dirk,
    and thanks for your tip!
    Unfortunately I haven't yet been able to test it out. Meanwhile, I'll just review the theory and check that I've understood your idea.
    Continuing with the customer & sales order example, the report could look something like this:
    customer comp. sal.ord.
    cust1......A......so1
    cust1......A......so2
    cust1......A......so3
    cust2......A......so4
    cust2......A......so5
    cust3......A......so6
    when a user from company A runs it.
    What happens if there is a filter for the characteristic Customer, and the user changes the filter values? What values are displayed as possible filter values? Do you mean that BW limits the values of 'customer' based on authorizations to the attribute 'company'?
    Message was edited by: Arto Pihlaja

  • Check for null value of an attribute

    Hi,
    I am reading an attribute using the get_attribute method of the element of a node.
    Depending on whether the value of this attribute is initial or not, I need to do some further processing. But the get_attribute method itself is giving an exception that "Access via null reference is not possible". I first need to check if this is initial (or null) and then proceed. Is there some other way to check this value apart from the get_attribute method??
    Here is the sample code
    IF elem_es_detalhes IS NOT INITIAL.
          DATA:
            item_zzorgas                        LIKE stru_es_detalhes-zzorgas.
    get single attribute
          elem_es_detalhes->get_attribute(
            EXPORTING
              name =  `ZZORGAS`
            IMPORTING
              value = item_zzorgas ).
          wd_comp_controller->setleadselectionorgas( EXPORTING i_value = item_zzorgas ).
        ENDIF.
    > the get_attribute method is throwing an exception that access via null object reference is not possible.
    Please help!!
    regards,
    Priyank

    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Date and Time          04.04.2007 05:54:08
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: " ").
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED" " "
    "CL_WDR_CONTEXT_ELEMENT========CP" or "CL_WDR_CONTEXT_ELEMENT========CM006"
    "IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "pioerp01"
    Network address...... "192.168.0.10"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x Intel 801586"
    Character length.... 8 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "PIOERP01"
    Database type..... "ORACLE"
    Database name..... "ERD"
    Database user ID.. "SAPERD"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Oct 13 2006 00:08:41"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "OCI_10201_SHARE (10.2.0.1.0) "
    Patch level. 80
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 1754160
    EM...... 8362368
    Heap.... 0
    Page.... 0
    MM Used. 9168936
    MM Free. 935200
    User and Transaction
    Client.............. 210
    User................ "PJAIN"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDR_CONTEXT_ELEMENT========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "122.167.22.28"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zagr_fazenda/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" -
    in "IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 36
    of the (Include) program "CL_WDR_CONTEXT_ELEMENT========CM006".
    Source Code Extract
    Line
    SourceCde
    6
    get_not type abap_bool value abap_false,
    7
    first_part type string,
    8
    second_part type string,
    9
    attr_wa like line of me->dynamic_attributes.
    10
    11
    field-symbols:
    12
    <dyn_attr> like line of me->dynamic_attributes,
    13
    <value> type data,
    14
    <attr_info> like line of me->node_info->attributes->*.
    15
    16
    while try_again = abap_true.
    17
    18
      first try static attributes
    19
    assign static_attributes->(name) to <value>.
    20
    if sy-subrc = 0.
    21
    value = <value>.
    22
    try_again = abap_false.
    23
    continue.
    24
    else.
    25
    26
        second try dynamic attributes
    27
    read table dynamic_attributes assigning <dyn_attr> with table key name = name.
    28
    if sy-subrc = 0.
    29
    assign <dyn_attr>-value->* to <value>.
    30
    value = <value>.
    31
    try_again = abap_false.
    32
    continue.
    33
    else.
    34
    35
          dynamic attribute not yet created?
    >>>>>
    read table me->node_info->attributes->* assigning <attr_info> with table key name =
    37
    if sy-subrc = 0.
    38
    attr_wa-name = name.
    39
    create data attr_wa-value type handle <attr_info>-rtti.
    40
    assign attr_wa-value->* to <value>.
    41
    if <attr_info>-default_value is not initial.
    42
    <value> = <attr_info>-default_value.
    43
    endif.
    44
    value = <value>.
    45
    insert attr_wa into table me->dynamic_attributes.
    46
    try_again = abap_false.
    47
    continue.
    48
    else.
    49
    50
            test for :FINAL:NOT
    51
    split name at ':' into name first_part second_part.
    52
    if first_part is initial and second_part is initial.
    53
    try_again = abap_false.
    54
    continue.
    55
    else.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    4
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    3
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    Controle HTTP
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070404
    SY-UZEIT
    055408
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    24 METHOD       CL_WDR_CONTEXT_ELEMENT========CP    CL_WDR_CONTEXT_ELEMENT========CM006    36
    CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE
    23 METHOD       /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP    /1BCWDY/B_5OLH0AU1A64NGHK6WYWX       1265
    CL_FAZENDA_DASHBOARD_CTR=>ONCLICK
    Web Dynpro Component          ZAGR_FAZENDA
    Web Dynpro Controller         FAZENDA_DASHBOARD
    22 METHOD       /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP    /1BCWDY/B_5OLH0AU1A64NGHK6WYWX        358
    CLF_FAZENDA_DASHBOARD_CTR=>ONCLICK
    Web Dynpro Component          ZAGR_FAZENDA
    Web Dynpro Controller         FAZENDA_DASHBOARD
    21 METHOD       /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP    /1BCWDY/B_5OLH0AU1A64NGHK6WYWX        320
    CLF_FAZENDA_DASHBOARD_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    Web Dynpro Component          ZAGR_FAZENDA
    Web Dynpro Controller         FAZENDA_DASHBOARD
    20 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM005     3
    CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
    19 METHOD       CL_WDR_COMPONENT==============CP    CL_WDR_COMPONENT==============CM00D    41
    CL_WDR_COMPONENT=>FIRE_EVENT
    18 METHOD       SAPLWDR_RG_PROXY_FACTORY            LWDR_RG_PROXY_FACTORYI00              120
    LCL_INTERNAL_API=>_IF_WDR_INTERNAL_API~RAISE_EVENT
    17 METHOD       /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP    /1BCWDY/B_BC0OBUXS328BVP4ZI6L1        388
    CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
    Web Dynpro Component          SALV_WD_TABLE
    Web Dynpro Controller         COMPONENTCONTROLLER
    16 METHOD       CL_SALV_WD_C_TABLE============CP    CL_SALV_WD_C_TABLE============CM002   116
    CL_SALV_WD_C_TABLE=>IF_SALV_WD_COMPONENT~FIRE_EVENT
    15 METHOD       CL_SALV_WD_C_TABLE_V_TABLE====CP    CL_SALV_WD_C_TABLE_V_TABLE====CM012   197
    CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_COMP_TABLE_EVENTS~ON_CELL
    14 METHOD       CL_SALV_WD_C_TABLE_V_TABLE====CP    CL_SALV_WD_C_TABLE_V_TABLE====CM005    39
    CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_VIEW~ON_EVENT
    13 METHOD       CL_SALV_WD_A_COMPONENT========CP    CL_SALV_WD_A_COMPONENT========CM005    19
    CL_SALV_WD_A_COMPONENT=>IF_SALV_WD_COMPONENT~VIEW_ON_EVENT
    12 METHOD       /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP    /1BCWDY/B_X4QHFLHM8I07VGMCNR1L        736
    CL_VIEW_TABLE_CTR=>ONACTIONTABLE_CELL
    Web Dynpro Component          SALV_WD_TABLE
    Web Dynpro Controller         VIEW_TABLE
    11 METHOD       /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP    /1BCWDY/B_X4QHFLHM8I07VGMCNR1L        468
    CLF_VIEW_TABLE_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    Web Dynpro Component          SALV_WD_TABLE
    Web Dynpro Controller         VIEW_TABLE
    10 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM005     3
    CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
    9 METHOD       CL_WDR_ACTION=================CP    CL_WDR_ACTION=================CM00A    38
    CL_WDR_ACTION=>IF_WDR_ACTION~FIRE
    8 METHOD       CL_WDR_WINDOW_PHASE_MODEL=====CP    CL_WDR_WINDOW_PHASE_MODEL=====CM009    52
    CL_WDR_WINDOW_PHASE_MODEL=>DO_HANDLE_ACTION_EVENT
    7 METHOD       CL_WDR_WINDOW_PHASE_MODEL=====CP    CL_WDR_WINDOW_PHASE_MODEL=====CM002    62
    CL_WDR_WINDOW_PHASE_MODEL=>PROCESS_REQUEST
    6 METHOD       CL_WDR_WINDOW=================CP    CL_WDR_WINDOW=================CM00V     9
    CL_WDR_WINDOW=>PROCESS_REQUEST
    5 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    94
    CL_WDR_MAIN_TASK=>EXECUTE
    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    69
    CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM017   366
    CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                      946
    HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
    %_HTTP_START
    Chosen variables
    Name
    Val.
    No.      24 Ty.          METHOD
    Name  CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE
    NAME
    ZZPRECO
    5555444
    AA0253F
    VALUE
    222
    000
    TRY_AGAIN
    X
    5
    8
    ABAP_TRUE
    X
    5
    8
    ME->STATIC_ATTRIBUTES
    0.0.0.0.0.0.0.1.
    C0000000
    F0000000
    <VALUE>
    SY-SUBRC
    4
    0000
    4000
    SPACE
    2
    0
    ME->DYNAMIC_ATTRIBUTES
    Table[initial]
    <DYN_ATTR>
    %_DUMMY$$
    2222
    0000
    %_SPACE
    2
    0
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    <DYN_ATTR>-VALUE
    <ATTR_INFO>
    CL_WDR_VIEW_ELEMENT=>CO_UNKNOWN_TEXTLEN
    -1
    FFFF
    FFFF
    ATTR_WA-NAME
    ATTR_WA-VALUE
    0.0.0.0.0.0.0.1.
    C0000000
    F0000000
    <ATTR_INFO>-RTTI
    <ATTR_INFO>-DEFAULT_VALUE
    No.      23 Ty.          METHOD
    Name  CL_FAZENDA_DASHBOARD_CTR=>ONCLICK
    R_PARAM
    |
    | E0001000 |
    | B0004800 |
    | WDEVENT |
    |
    E0001000
    C0003800
    SY-REPID
    /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP
    2344545244454543445433434444334522222222
    F123749F2FB9BAF9DE6F45B6FBA8DD3000000000
    <L_VALUE>
    FTP100600000
    455333333333222222222222
    640100600000000000000000
    ITEM_BUKRS
    BP01
    4533
    2001
    %_DUMMY$$
    2222
    0000
    ITEM_LIFNR
    0001100000
    3333333333
    0001100000
    ITEM_PSPID
    FTP100600000
    455333333333222222222222
    640100600000000000000000
    ELEM_ES_DETALHES
    |
    | F0000000 |
    | 3000C800 |
    | ITEM_ZZPRECO |
    |  |
    | 222 |
    | 000 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | SY-XPROG |
    | SAPCNVE |
    | 5454454222222222222222222222222222222222 |
    | 3103E65000000000000000000000000000000000 |
    | No.      22 Ty.          METHOD |
    | Name  CLF_FAZENDA_DASHBOARD_CTR=>ONCLICK |
    | EVENT |
    |
    E0001000
    C0003800
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | EVENT->PARAMETERS |
    | Table IT_8213[1x16] |
    | DATA=PARAMETERS
    Table reference: 2596
    TABH+  0(20) = 78213E3D98253E3D00000000240A000015200000
    TABH+ 20(20) = 0100000010000000FFFFFFFF04890300A0030000
    TABH+ 40( 8) = 10000000A4288401
    store        = 0x78213E3D
    ext1         = 0x98253E3D
    shmId        = 0     (0x00000000)
    id           = 2596  (0x240A0000)
    label        = 8213  (0x15200000)
    fill         = 1     (0x01000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000006
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x68203E3D
    pgHook       = 0x00000000
    idxPtr       = 0xB8213E3D
    shmTabhSet   = 0x00000000
    id           = 4494  (0x8E110000)
    refCount     = 2     (0x02000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 3     (0x03000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0x68243E3D
    collHook     = 0x00000000
    ext2         = 0x00000000
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    <CUR_PARAM>
    '###Ø###Á#######
    2000D100C0000000
    700089001000E500
    SY-SUBRC
    4
    0000
    4000
    %_VIASELSCR
    0
    4
    SY
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000
    1000000000000000000000000000000000000000300000001000000010000000000000000000000000000000000040
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | <CUR_PARAM>-VALUE |
    | 0.0.0.0.0.0.0.1.  |
    | C0000000 |
    | 1000E500 |
    | R_PARAM |
    |
    E0001000
    B0004800
    ME->F_APPL_CLASS
    |
    | A0005000 |
    | 2000D200 |
    | WDEVENT |
    |
    E0001000
    C0003800
    No.      21 Ty.          METHOD
    Name  CLF_FAZENDA_DASHBOARD_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    HANDLER_NAME
    ONCLICK
    4444444
    FE3C93B
    EVENT
    E0001000
    C0003800
    PARAMETERS
    Table[initial]
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | SYST |
    | 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.  |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000 |
    | 1000000000000000000000000000000000000000300000001000000010000000000000000000000000000000000040 |
    | ME->F_APPL_CLASS |
    |
    A0005000
    2000D200
    WDEVENT
    |
    | E0001000 |
    | C0003800 |
    | CL_ABAP_TYPEDESCR=>TRUE |
    | X |
    | 5 |
    | 8 |
    | ME |
    |
    B0004000
    4000B200
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | No.      20 Ty.          METHOD |
    | Name  CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER |
    | NAME |
    | ONCLICK |
    | 4444444 |
    | FE3C93B |
    | EVENT |
    |
    E0001000
    C0003800
    RET
    F0000000
    F0000000
    SYST-REPID
    CL_WDR_DELEGATING_VIEW========CP
    4455455444444544455445333333334522222222
    3CF742F45C57149E7F6957DDDDDDDD3000000000
    SY-REPID
    CL_WDR_DELEGATING_VIEW========CP
    4455455444444544455445333333334522222222
    3CF742F45C57149E7F6957DDDDDDDD3000000000
    %_SPACE
    2
    0
    %_DUMMY$$
    2222
    0000
    No.      19 Ty.          METHOD
    Name  CL_WDR_COMPONENT=>FIRE_EVENT
    CONTROLLER_NAME
    COMPONENTCONTROLLER
    4445444454445544445
    3FD0FE5E43FE42FCC52
    EVENT_NAME
    ON_CLICK
    44544444
    FEF3C93B
    PARAMETERS
    Table IT_8211[1x16]
    CLASS=CL_WDR_COMPONENTMETHOD=FIRE_EVENTDATA=PARAMETERS
    Table reference: 1900
    TABH+  0(20) = 78213E3D00000000000000006C07000013200000
    TABH+ 20(20) = 0100000010000000FFFFFFFF04B10000E00F0000
    TABH+ 40( 8) = 10000000A4288401
    store        = 0x78213E3D
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 1900  (0x6C070000)
    label        = 8211  (0x13200000)
    fill         = 1     (0x01000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000062
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x68203E3D
    pgHook       = 0x00000000
    idxPtr       = 0xB8213E3D
    shmTabhSet   = 0x00000000
    id           = 4494  (0x8E110000)
    refCount     = 2     (0x02000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 3     (0x03000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    <EVT_SUBSCRIBER>-LISTENER->COMPONENT->COMPONENT_NAME
    ZAGR_FAZENDA
    544554454444
    A172F61A5E41
    <EVT_SUBSCRIBER>-LISTENER->IF_WD_CONTROLLER~NAME
    FAZENDA_DASHBOARD
    44544445445444454
    61A5E41F41382F124
    <EVT_SUBSCRIBER>-HANDLER_NAME
    ONCLICK
    4444444
    FE3C93B
    CL_WD_TRACE_TOOL=>INSTANCE
    |
    | F0000000 |
    | F0000000 |
    | %_VIASELSCR |
    | # |
    | 0 |
    | 4 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | SY-REPID |
    | CL_WDR_COMPONENT==============CP |
    | 4455455444544445333333333333334522222222 |
    | 3CF742F3FD0FE5E4DDDDDDDDDDDDDD3000000000 |
    | ME->COMPONENT_NAME |
    | SALV_WD_TABLE |
    | 5445554554444 |
    | 31C6F74F412C5 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | SYST-REPID |
    | CL_WDR_COMPONENT==============CP |
    | 4455455444544445333333333333334522222222 |
    | 3CF742F3FD0FE5E4DDDDDDDDDDDDDD3000000000 |
    | <EVT_SUBSCRIBER>-LISTENER |
    |
    B0004000
    80007200
    CUSTOM_EVENT
    |
    | E0001000 |
    | C0003800 |
    | %_ARCHIVE |
    |  |
    | 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | RSJOBINFO |
    | 00000000000000                                  #### |
    | 222222222222222222222222222222223333333333333322222222222222222222222222222222220000 |
    | 000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | No.      18 Ty.          METHOD |
    | Name  LCL_INTERNAL_API=>_IF_WDR_INTERNAL_API~RAISE_EVENT |
    | CONTROLLER_NAME |
    | COMPONENTCONTROLLER |
    | 4445444454445544445 |
    | 3FD0FE5E43FE42FCC52 |
    | EVENT_NAME |
    | ON_CLICK |
    | 44544444 |
    | FEF3C93B |
    | PARAMETERS |
    | Table IT_8210[1x16] |
    | CLASS-POOL=/1BCWDY/CX3JTPYDGO9FTM6UG46KCLASS=CLF_COMPONENTCONTROLLER_CTRMETHOD=IF_COMPONENT |
    | Table reference: 2237 |
    | TABH+  0(20) = 78213E3D0000000000000000BD08000012200000 |
    | TABH+ 20(20) = 0100000010000000FFFFFFFF0477010070630000 |
    | TABH+ 40( 8) = 10000000A4288401 |
    | store        = 0x78213E3D |
    | ext1         = 0x00000000 |
    | shmId        = 0     (0x00000000) |
    | id           = 2237  (0xBD080000) |
    | label        = 8210  (0x12200000) |
    | fill         = 1     (0x01000000) |
    | leng         = 16    (0x10000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000444 |
    | occu         = 16    (0x10000000) |
    | access       = 4     (ItAccessHashed) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 1     (ItUnique) |
    | keyKind      = 1     (default) |
    | cmpMode      = 4     (cmpSingleEq) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 0 |
    | unShareable  = 0 |
    | mightBeShared = 1 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x68203E3D |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0xB8213E3D |
    | shmTabhSet   = 0x00000000 |
    | id           = 4494  (0x8E110000) |
    | refCount     = 2     (0x02000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 3     (0x03000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = Not allocated |
    | collHook     = Not allocated |
    | ext2         = Not allocated |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = Not allocated |
    | delta_head   = Not allocated |
    | pb_func      = Not allocated |
    | pb_handle    = Not allocated |
    | SYST-REPID |
    | SAPLWDR_RG_PROXY_FACTORY |
    | 5454545554555455544454552222222222222222 |
    | 310C742F27F02F89F6134F290000000000000000 |
    | ME->F_CTLR_INST->COMPONENT |
    |
    3000C000
    C0003200
    %_DUMMY$$
    2222
    0000
    No.      17 Ty.          METHOD
    Name  CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
    R_PARAM
    |
    | E0001000 |
    | B0004800 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | CUR_PARAM-NAME |
    | R_PARAM |
    | 5554544 |
    | 2F0121D |
    | CUR_PARAM-VALUE |
    | 0.0.0.0.0.0.0.1.  |
    | C0000000 |
    | 1000E500 |
    | <VALUE> |
    |
    E0001000
    B0004800
    ALL_PARAMS
    Table IT_8210[1x16]
    CUR_PARAM
    '###Ø###Á#######
    2000D100C0000000
    700089001000E500
    SYST-REPID
    /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP
    2344545245345554443454354334334522222222
    F123749F383A40947F964D65746BDD3000000000
    No.      16 Ty.          METHOD
    Name  CL_SALV_WD_C_TABLE=>IF_SALV_WD_COMPONENT~FIRE_EVENT
    NAME
    ON_CLICK
    44544444
    FEF3C93B
    R_PARAM
    E0001000
    B0004800
    LR_STD_FUNCTION
    F0000000
    F0000000
    SY-REPID
    CL_SALV_WD_C_TABLE============CP
    4455445554545544443333333333334522222222
    3CF31C6F74F3F412C5DDDDDDDDDDDD3000000000
    LS_MPARAM-NAME
    R_PARAM
    555454422222222222222222222222
    2F0121D00000000000000000000000
    CL_GUI_CONTROL=>LIFETIME_DEFAULT
    %_DUMMY$$
    2222
    0000
    LS_MPARAM-KIND
    E
    4
    5
    CL_ABAP_OBJECTDESCR=>EXPORTING
    E
    4
    5
    LS_MPARAM-VALUE
    0.0.0.0.0.0.0.1.
    C0000000
    0000F500
    LT_MPARAM
    Table IT_8209[1x40]
    CLASS=CL_SALV_WD_C_TABLEMETHOD=IF_SALV_WD_COMPONENT~FIRE_EVENTDATA=LT_MPARAM
    Table reference: 2071
    TABH+  0(20) = 701E3E3D00000000000000001708000011200000
    TABH+ 20(20) = 0100000028000000FFFFFFFF04C70100200E0000
    TABH+ 40( 8) = 10000000A4258001
    store        = 0x701E3E3D
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 2071  (0x17080000)
    label        = 8209  (0x11200000)
    fill         = 1     (0x01000000)
    leng         = 40    (0x28000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000054
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 3     (user defined)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xE01B3E3D
    pgHook       = 0x00000000
    idxPtr       = 0xB01E3E3D
    shmTabhSet   = 0x00000000
    id           = 4493  (0x8D110000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    LS_MPARAM
    R_PARAM                       E#À#######
    55545442222222222222222222222240C0000000
    2F0121D00000000000000000000000500000F500
    CL_SALV_WD_C_TABLE=>C_EVENT_ON_SUPPLY_DRDN_VALUES
    ON_SUPPLY_DRDN_VALUE
    44555554554544554454
    FEF3500C9F424EF61C55
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    LR_DRDN_VALUES
    |
    | F0000000 |
    | F0000000 |
    | CL_SALV_WD_C_TABLE=>C_EVENT_ON_AFTER_CONFIG |
    | ON_AFTER_CONFIG_CTRL |
    | 44544545544444454554 |
    | FEF16452F3FE697F342C |
    | ME->IF_SALV_WD_COMPONENT~R_WD_COMPONENT |
    |
    3000C000
    5000A200
    L_METHOD
    IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
    4454445444454445544445744545445444445455
    96F3FD0FE5E43FE42FCC52E6925FFEF3C93BF564
    No.      15 Ty.          METHOD
    Name  CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_COMP_TABLE_EVENTS~ON_CELL
    T_PARAMETERS
    Table IT_8123[5x16]
    DATA=S_EVENT_INFO-T_PARAMETERS
    Table reference: 2402
    TABH+  0(20) = B054273D000000000000000062090000BB1F0000
    TABH+ 20(20) = 0500000010000000FFFFFFFF04CB010048040000
    TABH+ 40( 8) = 10000000C1288001
    store        = 0xB054273D
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 2402  (0x62090000)
    label        = 8123  (0xBB1F0000)
    fill         = 5     (0x05000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000009
    occu         = 16    (0x10000000)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xA053273D
    pgHook       = 0x00000000
    idxPtr       = 0x00000000
    shmTabhSet   = 0x00000000
    id           = 4433  (0x51110000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    CL_

  • How to check for null value of output parameter?

    Hi guys, I get a test procedure with 2 output parameters and do nothing:
    CREATE OR REPLACE PACKAGE BODY p_parameters_test AS
      PROCEDURE p_null_output_basetype(p1 OUT NUMBER,p2 OUT VARCHAR2)
      AS
      BEGIN
        DBMS_OUTPUT.PUT_LINE('DO NOTHING');
      END p_null_output_basetype;
    END;And I have below C# code:
    cmd.CommandText = "p_parameters_test.p_null_output_basetype";
    OracleParameter p1 = new OracleParameter("p1", OracleDbType.Decimal, System.Data.ParameterDirection.Output);
    OracleParameter p2 = new OracleParameter("p2", OracleDbType.Varchar2, System.Data.ParameterDirection.Output);
    cmd.Parameters.Add(p1);
    cmd.Parameters.Add(p2);
    try
        conn.Open();
        cmd.ExecuteNonQuery();
        if (p1.Value==null)
            Console.WriteLine("p1.Value==null");
        else if (Convert.IsDBNull(p1.Value))
            Console.WriteLine("Convert.IsDBNull(p1.Value)");
        else
            Console.WriteLine("p1 else "+p1.Value);
        if (p2.Value==null)
            Console.WriteLine("p2.Value==null");
        else if (Convert.IsDBNull(p2.Value))
            Console.WriteLine("Convert.IsDBNull(p2.Value)");
        else
            Console.WriteLine("p2 else "+p2.Value);
        Console.WriteLine("finished");
    catch......The output of it is:
    p1 else null
    p2 else null
    Does anyone have any idea why it always goes to the 'else' of the condition-branching, and how can I check if the output parameter is null?
    Thanks in advance.

    Morven... I ran into similar problems. Maybe you've found a solution of your own by now, but here's what I've learned...
    The Value property of output parameters, like p1 and p2 in your code, actually varies, according to (I think) the OracleDbType of the parameter. You've got OracleDbType.Decimal for p1 and OracleDbType.Varchar2 for p2. These look about right, since they match the parameter types in your actual stored procedure.
    After cmd.ExecuteNonQuery() executes, the respective Value properties of p1 and p2 are actually of different types. For p1, it's going to be "OracleDecimal" and for p2 it's "OracleString". Keep in miind that these are the types of the Value property of the OracleParameter objects, not the OracleParameter objects themselves.
    OracleDecimal and OracleString (and some other types like OracleDate, etc.) have an "IsNull" property you can use if you cast the Value property to its runtime type...
    if ((OracleDecimal)cmd.Parameters["p1"].Value).IsNull) { …do something… }
    else { …do something else… }
    Or maybe something like this...
    Decimal p1val = ((OracleDecimal)cmd.Parameters["p1"].Value).IsNull ? 0 : ((OracleDecimal)cmd.Parameters["AVG_SALARY"].Value).Value;
    I'll admit that expressions like this: ((OracleDecimal)cmd.Parameters["AVG_SALARY"].Value).Value look a little weird. But the "Value" of the "OracleDecimal" property is a regular .NET decimal type (System.Decimal). So, it's a "Value" of the "Value" property of the OracleParameter class.
    Even when the stored procedure returns a null, the Value property is still populated. In the case of p1, it's populated with an OracleDecimal object (actually a struct) where IsNull is true. That's why "p1.Value==null" tests false.
    From what I can see, OracleDecimal, OracleString, etc. will never be typed as DbNull, or DBNull.Value. So, that would be why Convert.IsDBNull(p1.Value)) always returns false. btw, it appears that these are Value types. That would suggest that coding something like like this, should be avoided…
    OracleString p2val = ((OracleString)cmd.Parameters["p2"].Value;
    if (p2val.IsNull) { …do something… }
    else { …do something else… }
    By assigning the value to another variable, you’d be actually creating an entire copy of the OracleString structure, which is pointless.
    I hope that helps
    Edited by: 897674 on Jan 3, 2012 10:44 AM
    Edited by: 897674 on Jan 3, 2012 10:46 AM

Maybe you are looking for

  • ASA 5505 Static NAT

    Hi Guys, Me again asking for some more help, thanks. I am trying to deploy a Polycom Access Director behind an ASA 5505 firewall and am having some problems configuring inbound NAT for this device. Currenlty I am able to dial from an endpoint outboun

  • Message Stuck Notification

    Hi there! I seem to have a slight problem with my device. I received a notification from App World telling me that one of my installed apps had an upgrade available for it. I have upgraded the app and it works fine. Howver, in my main Messages folder

  • I wonder why that has not been deducted the amount from my bank account

    I wonder why that has not been deducted the amount from my bank account

  • How to install CF8 and CF9 simultaneous

    Hi, I installed Coldfusion 8.01 and Coldfusion 9Beta on Windows 7 as described in http://coldfusion.sys-con.com/node/397935#feedback but I cannot get IIS7 or Apache (2.28) to recognize the installed Aplication server. In IIS 7 I make a website and us

  • When I click onto a link from a webpage, it never loads.

    When I go onto a website and it gives me a list of links that I can go to, they will not load. It gives a name of (example) 13x42pixels on the tab, the page is blank and the bottom left says Done. I try to refresh, over and over but it never loads.