Could anyone provide sample of WebDynpro Java TableFilter for Dynamic Table

Hi
I have a dynamic table I have given a context node as a data source and it executes a Web Service and populates itself based on the resultset of query this node contains no of columns and rows
The table changes dynamically everytime the user selects different table type
When I created a TableFilter I used IWDTableColumn from the current view and looped though the context elements and binded the values of attributes of each context element to this column inside a loop. TableSort works, But I  am not able to get the Filter working for the Dynamic Table , when I click on Filter Button the Filter does not filterand  just sorts.
Not sure what is wrong but if someone can give some inputs,leads I will highly appreciate if some one has  a  sample of WebDynpro Java TableFilter for Dynamic Table
Thanks in advance,
Ragu.

Hi Ragu,
Please check the link for table filtering.
http://wiki.sdn.sap.com/wiki/display/WDJava/GenericTableFilter+Code
since your dynamic table uses webservice I assume it has fixed context attributes, just put the filter into wdDoModify method everytime you execute/trigger the webservice.
Regards,

Similar Messages

  • Could anyone provide sample code to replace JMSQueueMBean usage in WL10 api

    Hi,
    I am working for a Weblogic Server Application Migration project from Weblogic 8.1 to Weblogic 10.3, we need to get rid of all weblogic 8.1 deprecated code. But I am not able to find any equivalent code using Weblogic 10.3 api for the following on google:
    Context initCtx = ServiceLocator.getInstance().getInitialContext();
    MBeanHome home = (MBeanHome)initCtx.lookup(weblogic.management.MBeanHome.ADMIN_JNDI_NAME);
    //eGenera Application Migration Changes starts
    /*Set beans = home.getMBeansByClass(weblogic.management.configuration.JMSQueueMBean.class);*/
    Set beans = home.getMBeansByType("JMSQueue");
    //eGenera Application Migration Changes ends
    for (Iterator i = beans.iterator(); i.hasNext(); ) {
    JMSQueueMBean queue = (JMSQueueMBean)i.next();
    this.setRetryCount(queue.getName(), queue.getRedeliveryLimit());
    Can anyone please help me out and provide equivalent code for the above using weblogic 10.3 strategy?

    This code works for 10.3
    http://weblogic-wonders.com/weblogic/2010/01/21/jms-resources-using-jmx/

  • Could anyone provide the complete manual of SAP Query Creation

    Hi,
    Now I am learning to create SAP Query.
    I viewed many questions and answers about SAP Query.
    Some mentioned this,and some did that...
    Could anyone provide a complete manual of SAP Query Creation for developers.
    I can create SAP Queries step by step with it.

    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
    use either SQ02 ans SQ01
    or SQVI tr code
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
    useful
    http://www.erpgenie.com/abap/code/abap47.htm
    regards,
    Prabhu
    reward if it is helpful

  • Could anyone provide an easy ADF tutorial to go through from end to end

    Could anyone provide an easy ADF tutorial to go through from end to end retrieving a table with parameter and display result as a table on web page. would like to learn EO, VO, AM page generation with this easy example.
    Thanks

    I've been using these
    http://www.oracle.com/technology/products/jdev/11/cuecards111/index.html
    I've done this one all the way through a couple times.
    http://www.oracle.com/technology/obe/obe11jdev/bulldog/ria_application/developriaapplication_long.htm

  • Could anyone provide me step by step testing process using Quality Center ?

    Hi,
    Could anyone provide me step by step testing process using Mercury Quality Center ?
    Recently i got one object need to tested using Mercury Quality center. I do not know how to do that. I have to deliver the object in 3 days
    Treat this is urgent ....
    Thanks in advance....
    Akki

    Hi Akash,
    But this is Solution Manager forum.
    Do you want to integrate Solution Manager & Mercury Quality Center?
    Or is it a pure Mercury Quality center related task?
    best rgds,
    Alagammai.

  • Can anyone provide Error code list and causes for OBIEE10g/11g ?

    Hi
    Can anyone provide Error code list and causes for OBIEE10g/11g ?
    Regards
    Srini
    Edited by: Srini on Feb 18, 2012 10:41 AM

    Hi,
    List of Bug Fixes Included In OBIEE 11.1.1.5.0
    Admin Tool
    •7538753 SAP BW IMPORT DOES NOT RETRIEVE UNIQUE NAME FOR MEASURE COLUMNS
    •10012297 ADMIN TOOL CRASH ON VERY LARGE EXPRESSIONS – OVERFLOW AT APPROX 3200 CHARACTERS
    •10032385 TABLE MISSING IN SQL “FROM” CLAUSE – FWD PORT 8308443 TO 11G
    •10045212 EQUALITY EXPRESSION IN LTS “WHERE” CAUSES INTERNAL SQORRQLIST ERROR ON QUERY
    •10264475 ADMINISTRATION’S “SHUTDOWN SERVER” MENU SHOULD BE REMOVED
    •10265121 ADMIN TOOL EXPRESSION BUILDER CRASHES ON DOUBLE-BYTE LOGICAL COLUMN NAME
    •10394725 ON-LINE MODE CHECK-IN OF DYNAMIC INIT BLOCK CAUSES [43058] REFRESH LOCK FAILURE
    Answers
    •6521146 ERROR: “NO FILTER” WHEN USING “COMBINE WITH SIMILAR REQUEST” – UNION
    •7534635 INACTIVATING DRILLDOWN ON COLUMN VALUE ALSO INACTIVATES COLUMN HEADER LINK
    •9026854 CLARIFICATION REGARDING DATA FORMAT WHEN COMBINING REQUESTS
    •9107277 KEEP THE NUMBER PRECISION IN DATABASE WHEN “DOWNLOADING TO EXCEL”
    •9524080 PIVOT TOTAL DIFFERENT TO TABLE TOTAL WHEN REPORTAGGREGATEENABLED TRUE
    •9697529 JAPANESE CHARACTER SET NOT PASSED CORRECTLY TO DRILL REPORT IN FIREFOX BROWSER
    •9871470 SORTING ON A NULL VALUED COLUMNS GIVES ASSERTION ERRORS
    •9886904 CORRECT DOC FOR ADDING CUSTOM DATE FORMAT STRING
    •9918283 CORRECT DASHBOARD FORMATTING PROBLEMS WITH SCROLLING
    •9928318 ROW HEADER MISSING AT PIVOT TABLE VIEW FOR MIGRATED REPORTS IN 11G
    •9968574 SOME UPGRADED 10G CHARTS SHOW UP JAVA EXCEPTION
    •10023165 MAPS DO NOT WORK IN MAP VIEWS WHEN JOIN COLUMN CONTAINS A “&” CHARACTER
    •10065166 GAUGE RANGE IS NOT UPDATED WHEN IT CHANGES THE FIELD VALUE
    •10078041 ACTION LINK DOES NOT WORK WHEN COMPOUND LAYOUT ONLY HAS A MAP VIEW
    •10091354 “SCALE MARKERS” OPTION IS MISSING IN VERTICAL AXIS 2
    •10147762 CANNOT SET GAUGE FOOTER (TITLE), KEEPS SHOWING “UNDEFINEDUNDEFINEDUNDEFINED”
    •10182955 BUBBLE CHART IS NOT BEHAVING AS EXPECTED
    •10213761 CONDITIONAL DASHBOARD SECTIONS (GUIDED NAVIGATION) ALWAYS RUNS REPORTS
    •10229397 CANNOT SAVE REQUEST USING STANDARD DATE FORMATS.
    •10282140 CELL IMAGE AT BLANK CELL OF PIVOT TABLE IS NOT DISPLAYED WHEN USING COND FORMAT
    •10296730 UNABLE TO USE PRESENTATION VARIABLE IN SCALE MARKERS
    •10312496 CHARTS. MEASURE LABEL IN GRAPH PROMPTS DOES NOT CHANGE CONTENT OF THE CHART
    •10312795 ACTION LINK ON COLUMN HEADING NAVIGATION DOES NOT CONSIDER PROMPT VALUES
    •10329343 CLICKING A LINE GRAPH BETWEEN TWO DATA POINTS DRILLS TO LAST VALUE IN HORIZONTAL
    •10337649 PIVOT TABLE SHOWS BUTTONS FOR SORTING ON CALCULATED ITEMS.
    •10402102 INCORRECT RESULT WHEN USING [NEW CALCULATED ITEM] PROP IN PIVOT TABLE
    •10414887 DRILL DOWNS NOT WORKING IN CHART PIVOTED TABLE SELECTED FROM VIEW SELECTOR
    •10418875 CHART SIZE IS CHANGING AFTER WEBCAT UPGRADE FROM 10G
    •10634175 GRAPH ENGINE IS NOT RESPONDING
    •10639913 COMPLETE TEXT IS NOT SAVED IN DB IF CURSOR IS MOVED AWAY DURING INSERT
    •11711658 FILTER NEEDS TO SUPPORT UNTYPE LITERAL FOR RANK OPERATOR AS 10G DOES
    •11805468 CUSTOMIZED GAUGE VIEW IS NOT CONSISTENT WHEN EXPORTED AS PDF,HTML AND XLS
    •11817696 INCORRECT FILTER IS BUILT IF FILTER IS CONTRUCTED BEFORE SELECTING REQ. COLUMNS
    •11845286 PIVOT TABLE WITH PERCENTAGES, GRAPHED PERCENTAGE VALUES DISPLAYED ARE INCORRECT
    •11894921 GRAPH LABEL OPTIONS NOT AVAILABLE IN 11G
    •11895279 INCORRECT FILTER VALUE WHEN USING ACTION LINK WITH GRAPH
    •12412666 ALL PAGES LOSES CONDITIONAL FORMATTING
    •12561361 PSE FOR BASE BUG 10295403 ON TOP OF 11.1.1.5.0 FOR GENERIC OS
    CHARTING
    •8990756 MISLEADING INFORMATION IN DOC REGARDING PIVOT TABLE SETTINGS
    DASHBOARDS
    •7459700 ABILITY TO SPECIFY FIXED COLUMN WIDTH TO A DASHBOARD PROMPT
    •10177865 OBIEE 11G : DEFAULT VALUES CANNOT BE DE-SELECTED FROM MULTI SELECT PROMPT
    •10279722 DASHBOARD SLIDER PROMPT SHOWS THUMB VALUES WITH TWO DECIMAL PLACES FOR INTEGERS
    •10279829 DASHBOARD SLIDER PROMPT SHOWS WRONG VALUES FOR “ALL COLUMN VALUES” OR “SPECIFIC
    •10310511 “REQUIRE USER INPUT” MESSAGE APPEARS THE FIRST TIME ONLY FOR THE REQUIRED PROMPT
    •10389799 DASHBOARD NAVIGATION MAY CAUSE GETELEMENTBYTAGNAME ERROR IN IE
    •10411545 PROMPT WITH BETWEEN OPERATOR AND SQL DEFAULT VALUES ARE NOT UPGRADED PROPERLY
    •11056057 ERROR WHILE UPGRADING THE DASHBOARD WITH CERTAIN FILTER FUNCTIONS
    •11076452 ABILITY TO CONSTRAIN PROMPTS AGAINST A SLIDER PROMPT
    •11717024 ERROR 500 OCCURS WHEN SETTING ACCESSIBILITY MODE TO ON
    •12620143 PSE FOR BASE BUG 12561330 ON TOP OF 11.1.1.5.0 FOR LINUX X86 [46] (PSE #602152)
    INSTALL
    •9459177 PREREQUISITES FOR DEPLOYMENT ON SEPARATE MACHINES
    •9540009 UNIXCHK.SH ENCOUNTERS HOST NOT FOUND ERROR WHEN DNS IS NOT AVAILABLE.
    •10071302 ENTERPRISE INSTALL: CONFIGURE PORTS : FORMAT OF INI FILE
    •10126542 OBIEE 11G INSTALATION FAILS AT AS INSTANCE CREATION DUE TO PERM SIZE ERROR
    •10287335 CANNOT START BISERVER1 . SWITCH TO JSSE FRAMEWORK REQUIRED
    •10302421 OBIEE 11G WINDOWS PROMPTS FOR USERNAME / PASSWORD AFTER ENCRYPTING CREDENTIALS
    •11849674 SAG: DISCREPANCY IN DOCUMENTED ORACLE DATABASE REQUIRED FOR MAPVIEWER
    MIGRATION
    •7432799 ORACLE EUL CONVERTER CRASHED WHILE GENERATING A REPOSITORY
    REL_NOTES
    •12604761 TWO STEPS OF THE UPGRADE TO 11.1.1.5.0 ARE NOT CLEARLY DOCUMENTED
    SCHEDULER
    •10036466 “RE-RUN INSTANCE(S) NOW” MENU IS NOT AVAILABLE FOR COMPLETED JOB INSTANCES
    SECURITY
    •8996295 PROVIDE DETAIL INFORMATION TO SETUP WNA(KERBEROS) FOR OBIEE AUTHENTIFICATION
    •9216995 PROVIDE LATEST DETAIL INFORMATION ABOUT HOW TO SETUP LDAP SSL FOR OBIEE
    •10194154 TECHNOTES- PROVIDE DETAIL INFORMATION TO SETUP WNA(KERBEROS) FOR OBIEE AUTHENT
    •10198837 BIEEHOME LOGIN PAGE IS NOT DISABLED EVEN AFTER ENABLING THE SSO
    •10218031 USING EXTERNAL DB TABLE TO SET ROLES SESSION VARIABLE DOESN’T ACCEPT LONG NAMES
    •10373788 IF OBJECTGUID PUBLISHED AND SAMACCOUNTNAME CHANGED USER CANNOT CONNECT ANYMORE
    •11731080 QA:SECURITY GUIDE NEEDS UPDATE FOR DEFINING A USER SESSION VARIABLE
    SERVER
    •6510747 NETWORK FAILURE DURING PHYSICAL QUERY HANGS END USER WITHOUT ERROR MESSAGE
    •6836444 OBIEE SERVER SYSTEM DATE IS WRONG AND DOES NOT MATCH MACHINE SYSTEM DATE
    •8371912 BI SERVER CRASHES ON NAVIGATION SPACE MAP RACE – SR 3-887711721
    •9433198 DOCUMENT SYSLOG ENTRIES IN SYSTEM ADMINISTRATOR’S GUIDE
    •9696424 DOC INSTANCECONFIG PARMS ALLOWEDLANGUAGES & ALLOWEDLOCALES IN SYSADMIN GUIDE
    •9954411 PSR:MOD_SUPPORTED NOT ENABLED FOR TERADATA AND CAUSES CAMPAIGN SLOW PERFORMANCE
    •10258683 REQUEST WITH COMPLEX FILTER IS CONSUMING ALMOST ALL CPU & NO SESSION IS CREATED
    •10258755 EXCEL FAILS TO CONNECT TO 11G BI SERVER USING ODBC DSN
    •10335924 REPORT-BASED TOTALS FAIL ON MEASURES CONTAINING AGGREGATION EXPRS SUCH AS FILTER
    •10374571 NEED FLEXIBILITY TO OVERRIDE HOSTNAMES WHEN CUSTOMER DNS IS INCORRECT OR BROKEN
    •10650122 PIVOT VIEW WITH UNION OF NON – COMPATABLE TYPE ERROR IN OBIEE 11G AFTER UPGRADE
    •11804596 NQQUERY LOG LEVEL 2 IS TOO VERBOSE – BACKPORT 10308263 TO 11.1.1.5
    •11809295 NQUDMLGEN NOT GENERATING UDML FILE IN UTF FORMAT
    UPGRADE
    •9886765 ERRORS ENCOUNTERED WHEN UPGRADING WEB CATALOG USING UA.BAT
    •10121344 ERROR IN LOG USING UA TO UPGRADE BI SCHEDULER SCHEMA ON SQL SERVER DATABASE
    •11069928 UPGRADE SHOULD HANDLE PROMPT WITH INCONSISTENT VALUES AS 10G DOES
    WEB_ADMIN
    •8564456 SHARED FOLDER ACCESS PERMISSION ISSUE
    •9381764 CATALOG MANAGER COPY FUNCTION NOT WORKING AS EXPECTED
    •9739865 EXITING MANAGE SESSION RESULTS IN HTTP ERROR
    •10016252 LACKING INFORMATION ON FORCEABSOLUTECOMMANDURL FOR ABSOLUTECOMMANDURLPREFIX
    •10144989 WEB CATALOG DOES NOT UPGRADE TO 11.1.1.3.0
    •10218524 VALIDATION ERROR AFTER THE UPGRADE OF WEBCATALOG TO OBIEE 11G
    •11723425 INCORRECT DEFAULT VALUE OF DEFAULTROWSDISPLAYED IN THE INSTANCECONFIG.XML
    •11827202 OPMN NOT STARTING AFTER SETTING UP THE REPLICATION AGENT
    WEB_GNRL
    •10191078 FILTER VALUES ARE RESET IN GO URL WHEN COLUMNS ARE SORTED OR RE-ARRANGED
    •10360461 NEED ABILITY TO CONTROL NEW, DASHBOARD AND OTHER HEADER LINKS
    •11780508 10G COLUMN FILTER PROMPT WITH PROMPTCAPTION ATTR NOT UPGRADING
    •12416695 TOOLTIP EMPTY IN MAPVIEWER
    WEB_INTGRT
    •10294759 FMAP-REFERENCED IMAGES IN ANALYSIS HEADERS DON’T APPEAR IN DOWNLOADS TO EXCEL
    WEB_MKTG
    •8692820 DIRECT DATABASE CAMPAIGN LOAD FORMAT COMBINED LISTS FAILS
    •9908019 SAW SERVER CRASH WHEN LOADING A PARTICULAR CAMPAIGN
    •9935859 UNGROUP OF SEGMENT BLOCKS CORRUPTS SEGMENT DEFINTION AND BAD COUNTS
    •10331355 MOVING CRITERIA WITHIN A SEGMENT’S GROUP CORRUPTS THE INCLUSION OPTIONS
    Thanks,
    RM

  • Sample code - webdynpro java Handheld.

    Dear all,
    I am new to webdynpro java handheld.
    I need sample code for
    1. how to get a value from context element.
    2. how set a value in a context element.
    3. how to create a context and bind.
    and any sample tutorial available with create,update,retrieval, delete operations.
    I have modeled a data object in DOE with all operation (c,u,r.d).
    present i am trying develop a handheld application for the object.
    I have created query,and costume operations in services component.
    But i am unable use the service component (becuse lake of coding knowledge)
    please help me
    lakshman balanagu

    Hi,
    Please go thorugh the following document for the sample code you had asked for.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40fcc34f-af0e-2e10-41b3-f1f60bcb5a7f?quicklink=index&overridelayout=true
    There are code snippets mentioned here.
    You will get answers for your queries there in the documents.
    Hope this helps.
    Thanks,
    Lakshmi

  • How to export a Webdynpro java DC, for reuse in another system

    Hi Everybody,
    I am having a Webdynpro Java DC, i want to give that DC to another person to import into his system and work.  i am doing a export of that DC and creating a zip file.  But when we are trying to import it in another system, it is giving errors.  When trying to build, its not showing DC options at all,  DC-> buid or deploy options are not visible, when right clicked over the DC.
    Am i doing it in a wrong way.  Can anybody help me.
    thanks & regards,
    Ravi

    Hi Ravi,
    Are you working with local DC?
    Then you can take ur dc in the following way..
    Find where the dcs are stored in ur system..
    <Some File Path> .dtc\LocalDevelopment\DCs\<your dc package>\
    There will be a folder with your project name.
    Copy that folder and Paste in the other system under the same folder structure.
    ie., the copied folder need to be pasted here
    <Some path> .dtc\LocalDevelopment\DCs\<your dc package>\
    Once you copied,Open your NWDS and go to DC perspective.In the Local DCs.
    Go to Local Development -- > My Component
    Right Click on 'My Component' and click on 'Refresh'.
    Your new project will appear under the 'My Component' hierarchy.
    Right Click on your project and Choose 'Create Project'.
    Now Proper dc will be available for you to work on.
    If you are facing any problems, let me know.
    Best Wishes
    Idhaya R

  • Could anyone provide your experience in cdma testing with LabView??

    CDMA testing with LabView is a project I am involved with now. I would like to hear from anyone who has had experience and can provide whitepapers, sample code, etc., on this subject. What about interfacing TestStand with TTCN-3??

    There is also example code demonstrating Successive Interference Cancellation with CDMA that you may be interested in.
    Attachments:
    README.txt ‏4 KB
    UPLINK_CDMA_WITH_SIC.llb ‏2474 KB

  • Could anyone tell me what the 'irj' stands for? what is its abbreviation?

    thanks, I have not found any explanation from SAP documentation.

    hi,
    In addition to what others said
    The Java iView Runtime is part of the iViewServer. It runs as a servlet on a Java application
    server. It executes Java iViews and renders the returned content. It provides Java iViews with
    access to infrastructure services such as user management. It also offers personalization of
    Java iViews and stores personalization data and any other persistent data in the persistence
    layer.
    In addition the Java iView Runtime provides a development platform that allows developers to
    build their own iViews written in Java or JSP.
    SAP portal components are deployed as enterprise archives to the iView Runtime for Java (IRJ), the EP's Java runtime environment. You can develop and build a portal component archive (PAR) file with any commercial IDE you can even use Apache Ant, the open source build tool. For the Eclipse Platform, SAP provides a custom plug-in that supports portal component development projects with wizards and templates based on the DynPage framework. The Eclipse plug-in also enables the hot deployment of portal archives directly to the IRJ.
    Regards,
    Ganesh N

  • Can anyone provide the VI of current measurement for Agilent34901A channel21 and 22?

    I want to measure the current by the Agilent34901A channel21 or 22. The HP34901A installed on the Agilent34970A is connected to the computer via GPIB Bus. Does anyone have the subvi for this measurement?

    If you have the 34970A driver from NI, open HP34970A EZ Voltage.vi. On the diagram, the first string you'll see is "MEAS:VOLT:". Change this to "MEAS:CURR:". Save the modified VI as HP34970A EZ Current.vi. If you want, you can add this VI to HP34970A Single Point.vi just by adding an item to the "Function" slider and adding a new case.

  • New to developing could anyone point me in the right direction for sqlite issue?

    Hello I am a new developer in training trying to work on my first project I have been hit by a major roadblock that i have worked on correcting for 5 days before posting here.  I am currently using flash builder 4.6 coding in flex.  I am trying to make a database that is able to be accessed accross multiple views.   I am also trying to hook up the date spinners so it search's in the Archive view between the selected dates for entries. However for the life of me I cannot seem to get a database up and running.
    I keep getting the following errors.
    Database is now open
    Error #2044: Unhandled SQLErrorEvent:. errorID=3115, operation=execute , message=Error #3115: SQL Error. , details=no such table: 'stb'   //this error is from the Journal view
    Database is now open
    Error #2044: Unhandled SQLErrorEvent:. errorID=3115, operation=execute , message=Error #3115: SQL Error. , details=no such table: 'stb' // this error is from the Archive View
    // Journal view code
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="Journal" creationComplete="createDatabase()">
              <fx:Script>
                        <![CDATA[
                                  import flash.data.SQLConnection;
                                  import flash.data.SQLStatement;
                                  import flash.errors.SQLError;
                                  import flash.events.Event;
                                  import flash.events.SQLErrorEvent;
                                  import flash.events.SQLEvent;
                                  import flash.events.TimerEvent;
                                  import flash.filesystem.File;
                                  import flash.utils.Timer;
                                  import mx.collections.ArrayCollection;
                                  import mx.utils.ObjectUtil;
                                  import org.osmf.events.TimeEvent;
                                  public var sqlc:SQLConnection = new SQLConnection();
                                  public var dbFile:File;
                                  public var dbConnection:SQLConnection;
                                  private function createDatabase():void
                                            dbFile = File.applicationStorageDirectory.resolvePath("assets/appsimplicity.sqlite"); //last modified
                                            dbConnection = new SQLConnection();
                                            dbConnection.addEventListener(SQLEvent.OPEN, onDatabaseOpen);
                                            dbConnection.addEventListener(SQLEvent.CLOSE, onDatabaseClose);
                                            dbConnection.openAsync(dbFile);
                                  private function onDatabaseOpen(evt:SQLEvent):void
                                            trace("Database is now open");
                                            var statement:SQLStatement = new SQLStatement();
                                            statement.sqlConnection = dbConnection;
                                            statement.sqlConnection.open(appsimplicity.sqlite, SQLMode.READ);
                                            statement.text = "CREATE TABLE IF NOT EXISTS stb (id INTEGER PRIMARY KEY AUTOINCREMENT, title TEXT , entry TEXT)";          ///working on issue here
                                  private function onDatabaseClose(evt:SQLEvent):void
                                            trace("Database is now closed");
                                  private function saveJournal():void
                                            var statement:SQLStatement = new SQLStatement();
                                            statement.sqlConnection = dbConnection;
                                            statement.text = "INSERT INTO stb_ (title , entry) VALUES ('"+title_txt.text+"','"+entry.text+"')"; //is this maybe wrong?
                                            statement.execute();
                                            title_txt.text = "";
                                            entry.text = "";
                                  //debug log
                                  //[SWF] Main.swf - 3,574,774 bytes after decompression
                                  //Database is now open
                                  //Error #2044: Unhandled SQLErrorEvent:. errorID=3115, operation=execute , message=Error #3115: SQL Error. , details=no such table: 'journallistb'
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Label id="title_lable_txt" x="10" y="48" width="124" height="21" color="#E2881E" text="Title:"/>
              <s:TextInput id="title_txt" x="47" y="36" width="146" enabled="true" prompt="Entry Title" needsSoftKeyboard="true" />
              <s:TextArea id="entry" x="9" y="120" height="147" enabled="true" prompt="Entry" needsSoftKeyboard="true" />
              <s:Button id="savejournal" x="11" y="326" width="296" label="Save" click="saveJournal()" />
              <s:Button id="addphotostojournal" x="11" y="275" width="296" label="Add Photos"/>
              <s:Label id="journal" x="10" y="97" color="#E2881E" text="Journal:"/>
              <s:Label id="Datefield" x="145" y="97" color="#E2881E" text="Date:"/>
              <s:TextInput id="date" x="187" y="78" width="120" height="34" enabled="true" prompt="enter date"/>
    </s:View>
    //Archive view code
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        title="Archive" creationComplete="createDatabase()">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.ArrayCollection;
                                  public var dbFile:File
                                  public var dbConnection:SQLConnection;
                                  public var selectQuery:SQLStatement;
                                  private function createDatabase():void
                                            dbFile = File.applicationDirectory.resolvePath("appsimplicity.sqlite");
                                            dbConnection = new SQLConnection();
                                            dbConnection.addEventListener(SQLEvent.OPEN, onDatabaseOpen);
                                            dbConnection.addEventListener(SQLEvent.CLOSE, onDatabaseClose);
                                            dbConnection.openAsync(dbFile);
                                  private function onDatabaseOpen(evt:SQLEvent):void
                                            trace("Database is now open");
                                            selectQuery = new SQLStatement();
                                            selectQuery.sqlConnection = dbConnection;
                                            selectQuery.text = "SELECT * FROM stb ORDER BY title ASC";
                                            selectQuery.addEventListener(SQLEvent.RESULT, onQueryResult);
                                            selectQuery.execute();
                                  private function onQueryResult(evt:SQLEvent):void
                                            archivefiles.dataProvider = new ArrayCollection(selectQuery.getResult().data);
                                  private function onDatabaseClose(evt:SQLEvent):void
                                            trace("Database is now Closed");
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:DateSpinner id="Startdate" x="66" y="54" width="40" height="60"/>
              <s:List id="archivefiles" x="69" y="119" width="185" height="138" enabled="true" labelField="title" ></s:List>
              <s:Button id="Delete" x="68" y="313" width="185" label="Delete"/>
              <s:VScrollBar x="248" y="120" height="138"/>
              <s:DateSpinner id="Enddate" x="68" y="361" width="40" height="50"/>
              <s:Label id="adspace" x="0" y="0" width="321" height="36" color="#751E1E" text="AdSpace"/>
    </s:View>
    I made the data base using sqlite manager "Firefox plugin" then copied it to a new package I called assets. inside the project SRC folder.  I am at a lose, and any help would be greatly appreciated! 
    Message was edited by: JeanneM7289  updated with tags

    I am now getting the error.
    Error: Error #3101: Database connection is already open.
              at Error$/throwError()
              at flash.data::SQLConnection/open()
              at views::HomeView/onDatabaseOpen()[C:\Users/blah\Adobe Flash Builder 4.6\appSimplicity Journal\src\views\HomeView.mxml:55]
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="Journal" creationComplete="createDatabase()">
              <fx:Script>
                        <![CDATA[
                                  import flash.data.SQLConnection;
                                  import flash.data.SQLStatement;
                                  import flash.errors.SQLError;
                                  import flash.events.Event;
                                  import flash.events.SQLErrorEvent;
                                  import flash.events.SQLEvent;
                                  import flash.events.TimerEvent;
                                  import flash.filesystem.File;
                                  import flash.utils.Timer;
                                  import mx.collections.ArrayCollection;
                                  import mx.utils.ObjectUtil;
                                  import org.osmf.events.TimeEvent;
                                  public var sqlc:SQLConnection = new SQLConnection();
                                  public var dbFile:File;
                                  public var dbConnection:SQLConnection;
                                  private function createDatabase():void
                                            dbFile = File.applicationStorageDirectory.resolvePath("appsimplicity.sqlite"); //last modified
                                            dbConnection = new SQLConnection();
                                            dbConnection.addEventListener(SQLEvent.OPEN, onDatabaseOpen);             ////************ added by bblommers
                                            dbConnection.addEventListener(SQLErrorEvent.ERROR, onDatabaseError);  
                                            dbConnection.addEventListener(SQLEvent.CLOSE, onDatabaseClose);
                                            dbConnection.openAsync(dbFile);
                                  private function onDatabaseError(evt:SQLEvent):void    
                                            trace('Error with the database: '+evt);
                                  private function onDatabaseOpen(evt:SQLEvent):void
                                            trace("Database is now open");
                                            var statement:SQLStatement = new SQLStatement();
                                            statement.sqlConnection = dbConnection;
                                            statement.sqlConnection.open("appsimplicity.sqlite", SQLMode.READ);
                                            statement.text = "CREATE TABLE IF NOT EXISTS stb (id INTEGER PRIMARY KEY AUTOINCREMENT, title TEXT , entry TEXT)";          ///working on issue here
                                            statement.execute();                    //************* added by bblommers
                                            trace("Table is now created");     //************ added by bblommers
                                  private function onDatabaseClose(evt:SQLEvent):void
                                            trace("Database is now closed");
                                  private function saveJournal():void
                                            var statement:SQLStatement = new SQLStatement();
                                            statement.sqlConnection = dbConnection;
                                            statement.text = "INSERT INTO stb (title , entry) VALUES ('"+title_txt.text+"','"+entry.text+"')"; //is this maybe wrong?
                                            statement.execute();
                                            title_txt.text = "";
                                            entry.text = "";
                                  //debug log
                                  //[SWF] Main.swf - 3,574,774 bytes after decompression
                                  //Database is now open
                                  //Error #2044: Unhandled SQLErrorEvent:. errorID=3115, operation=execute , message=Error #3115: SQL Error. , details=no such table: 'journallistb'
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Label id="title_lable_txt" x="10" y="48" width="124" height="21" color="#E2881E" text="Title:"/>
              <s:TextInput id="title_txt" x="47" y="36" width="146" enabled="true" prompt="Entry Title" needsSoftKeyboard="true" />
              <s:TextArea id="entry" x="9" y="120" height="147" enabled="true" prompt="Entry" needsSoftKeyboard="true" />
              <s:Button id="savejournal" x="11" y="326" width="296" label="Save" click="saveJournal()" />
              <s:Button id="addphotostojournal" x="11" y="275" width="296" label="Add Photos"/>
              <s:Label id="journal" x="10" y="97" color="#E2881E" text="Journal:"/>
              <s:Label id="Datefield" x="145" y="97" color="#E2881E" text="Date:"/>
              <s:TextInput id="date" x="187" y="78" width="120" height="34" enabled="true" prompt="enter date"/>
    on the archive view I am still getting the error
    Error #2044: Unhandled SQLErrorEvent:. errorID=3115, operation=execute , message=Error #3115: SQL Error. , details=no such table: 'stb'
    However the journal view Trace show's Table created and Database opened  I am at my wits end with this

  • Could anyone help me with setting up classpath for an application in OC4J

    I am using OAS 10.1.2 OC4J embedded.
    I have lotsof.properties files in some directory external to OAS.
    Right now, since we had problems, I moved the properties files into the OC4JHOME/applib directory. It works.
    I would like to keep it in the external directory itself. Can we set up some environment variable (CLASSPATH or library) in some deployment or orion descriptors to point to this external directory.
    I am using ResourceBundle.getResource("yyy.properties") in the code.
    Thank you

    One possible solution (I think):
    In the file OC4J_HOME/config/application.xml, we added the following line.
    <library path="directory"/>
    This directory is not EAR or WAR context relative. It can anywhere be in the local system.
    Thanks

  • WebDynpro Java Field for recognizing Subtype selected

    I wanted to find out the field which gets updated each time when different subtypes are selected in the Overview screen....

    can you verify if some personalisation is done on this iview to hide these fields of clock times?
    It should be visible
    1616250 - ESS LEA: Clock times are not displayed during leave approval
    Apply the note to resolve the issue
    Also we do the customisation here V_PTARQ_TPROCESS
    Edited by: Siddharth Rajora on Nov 4, 2011 4:13 PM

  • Java mapping for Dynamic File name: stuctures?

    Hi,
    Scenario:  Sender AS2 adapter --> PI --> Receiver File (NFS) Adapter. Just a file pass through, no mapping
    Requirement: Want to have the receiver file name as C1.yymmdd.C2 where C1 and C2 are contants and yymmdd is current date.
    I was told in sdn forum that I have to write java mapping and provided the sample code also. However, I am not sure how and where to use that sample code. Could you please help on following questions:
    1) What is the source and target data type structures for mapping?
    2) Where do I develop java mapping? How do I import to PI?
    3) How do I get access to SAP Netweaver Developer Studio? Can I download it to my laptop? or if I dont have access, can I use any other tool to develop? ( NetBeans, Eclipse ??) and how?
    4) what are the files and libraries that we need to import to java mapping? (e.g.,  Import aii_map_api.jar library)
    5) How to generate .jar file?
    If someone has already developed java mapping (.jar file) ready to import into PI, please provide the same.
    Thanks in advance
    - Riya Patil

    Hi Sarvesh,
    Is this UDF work if I dont select ASMP on sender side? (We tested selecting ASMP on both sender & receiver file adapters, it works fine and it works without UDF also).
    In my requirement I have to use sender AS2 adpter, please confirm if I can use this UDF without selecting ASMP on sender side.
    I have done the following tests:
    Test-1) Select ASMP with 'File Name' on both sender and receiver file adapters without any mapping (UDF)
    It works great. No UDF or mapping required. It is just pass through of file having the receiver file name same as in sender channel.
    Test-2) Select ASMP with 'File Name', only on receiver file adapter without any mapping (UDF)
    It is obvious, it doesn't work. I am getting the following error:
    Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    Test-3) Select ASMP with 'File Name', only on receiver file adapter with mapping (using DynamicConfiguratio UDF)
    We are getting the following error message in SXMB_MONI:
    Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_Filename_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
    Here is the code we have in UDF:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = "C1." + a + ".C2";
    conf.put(key, SourceFileName);
    return " ";
    So looks like UDF is not working and it is failing in mapping. If I could make it work, I think there is good chance that I can see DynamicConfiguration under SOAP Header, which what required for the error we see in out test-2.
    Can someone please help me to straighten this UDF and make it work.
    Thanks in advance.
    - Riya Patil

Maybe you are looking for

  • When i send a PDF via e-print, it gets cropped, is there a way to prevent this from happening?

    PDF's are printing fine when i print direct to the printer but when they are sent by e-mail they get cropped, is there a way to get the document to fit to page when sent as an email attachment? The Printer in question is a HP LaserJet Enterprise 500

  • Data source creation with XEClient driver crashes ODBC Data Source Admin.

    OS: Windows XP Professional SP2 How to reproduce: 1. Install Oracle XEClient 10g from: http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html 2. (optional) You may need to install MSVCRT71.DLL and MFC71.DLL (see Re: o

  • Multiple signatures in Mail

    The instructions on how to create multiple signatures in Mail seems very straight forward. However, I can only get one signature to appear. I have created 2 signatures for two separate accounts. Yet Signature #1 always dominates and #2 never appears

  • Why is Muse not saving?

    Been using Muse for a while now. For some reason everytime I use it lately–the past week or two (since the last update)–once I begin working on a pre-existing site I've already made with Muse, Muse will not save any work or changes I make using the '

  • Iphoto '08 exporting single albums

    In iphoto '06 I could drag and drop a album to a CD for achieving. This was useful for those albums that were only viewed occasionally (e.g weddings). Inserting the CD would open iphoto and allowed the album to be viewed a a shared device with the al