Strange issue on a dynamically created VO.

I am having a wierd issue with one the OAF pages. Really appreciate if you can point me to right direction. This is what I am doing.
1. Using EBS 12.1.2 Oracle Quoting
2. I am add a new VO to the seeded Page's Root AM. I am doing all this programatically in the processRequest() method of the extended controller of the seeded page. The VO xml is using positional binding.
Example:
select (select emp_name from employees where emp_id=:1) emp_name,
(select status from other_table where emp_id=:2) emp_status
from dual
Issue: When I have deploy the code on the server. Most of the time seeded page renders fine with the new info coming from the custom VO. However, sometimes I have noticed that I get error on the page. When I refresh the page couple of times, the error goes away, and does not come back. It is very wierd. The error that I get shows seeded VO query not the custom VO that I had written.
Error:
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT csm.ship_method_code,
csm.enabled_flag,
fl.enabled_flag lookup_Enabled_Flag,
fl.meaning
FROM wsh_carrier_ship_methods csm,
fnd_lookup_values fl
WHERE fl.lookup_type = :1 AND
fl.lookup_code = csm.ship_method_code AND
fl.view_application_id = :2 AND
nvl(fl.start_date_active, sysdate) <= sysdate AND
nvl(fl.end_date_active, sysdate) >= sysdate AND
fl.language = USERENV('LANG') AND
fl.enabled_flag = :3 AND
csm.enabled_flag = :4 AND
csm.organization_id = :5) QRSLT ORDER BY meaning
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3241)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3036)
at OA.jspService(_OA.java:228)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1738)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3382)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
Thanks.

I have done something very similiar to what you are doing; however, without seeing exactly what is triggering your GUI to add text to the text area's it is hard to give you an exact answer.
Just keep in mind that on all events you should be able to get the source component, which would then let you call the getName method of that component. So if a MouseEvent is the trigger for adding text you can get the name like this:
String compName = ((JComponent) mouseEvent.getSource()).getName()
(assuming you set the name of the component when you instantiated it)
(I have some subclasses that are detected at runtime via reflection, each subclass gets a JCheckBox, there can be 0 or more of these subclasses. I used the getSource/setName/getName methods to determine which checkbox was clicked on even though I don't have a named reference to each one)

Similar Messages

  • Strange Database issues while trying to create new user through EM...

    I'm attempting to configure my local Oracle 11g database in order to create a Content Server user in order to setup a Fatwire installation. I'm getting some strange issues with my database that I was hoping maybe someone could help me out with.
    The guide I'm following starts with this:
    +1. Determine the Console Server port:+
    a. Open the emoms.properties file in a text editor. The file is located in:
    +<ora_home>/<servername>_<SID>/sysman/config/+
    b. Find the line,
    oracle.sysman.emSDK.svlt.ConsoleServerPort
    and make a record of the port number value at the end of the line.
    When I open the emoms.properties file in Notepad++, I'm unable to read the contents - it's all symbols/jibberish.
    The next step says this:
    +2. Log in to the Oracle Enterprise Manager console:+
    a. Execute the following command: emctl status dbconsole
    When I execute that command I get the following error:
    Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
    The third step says this:
    Open a browser and go to the URL highlighted in bold in step a above. If you see
    a “Security Mismatch” error, ignore it (the error appears if you are using a selfsigned
    certificate).
    I skipped to this step because I'm assuming the link it wants me to go to is my EM console (https://localhost:1158/em/console/aboutApplication), however when I browse to that URL I get the following error:
    503 Service Unavailable
    Service is not initialized correctly. Verify that the repository connection information provided is correct.
    Clearly, something isn't right here. What's going on? Any help would be appreciated.

    Alfonso Vicente wrote:
    Did you try what I suggested?Yes, thanks for the advice. Now I'm having some additional issues. When I run emctl status dbconsole I get the following error:
    OC4J Configuration issue. C:\app\john.smith\product\11.2.0\dbhome_1/oc4j/j2ee/OC4
    J_DBConsole_ORCL-SMITH.company.com_localhost_orcl not found.
    This is appearing after I made the appropriate changes to the emoms.properties file and set ORCL_UNQNAME to "localhost_orcl" <-- is that correct? the path to my emoms.properties is:
    C:\app\john.smith\product\11.2.0\dbhome_1\localhost_orcl\sysman\config
    Here is my emoms.properties file, does this look right?
    #Mon Mar 19 17:56:05 EDT 2012
    oracle.sysman.emSDK.svlt.ConsoleServerName=localhost\:1158_Management_Service
    oracle.sysman.eml.mntr.emdRepPwd=2ad171ddf6ce91aebf1c2f2c371ee5a315591a1be21f37965a88d54126d7528aa1091f543569e58b
    emdrep.ping.pingCommand=/bin/ping -c 3 -w 30 <hostname>
    em_oob_shutdown=false
    LargeRepository=false
    oracle.sysman.eml.mntr.emdRepPort=1521
    em_email_address=
    oracle.sysman.eml.mntr.emdRepPwdSeed=8622625238442107993
    em_oob_crash=false
    em.oms.dumpModules=omsThread,repos
    oracle.sysman.emRep.dbConn.statementCacheSize=50
    oracle.sysman.db.isqlplusUrl=%ISQLPLUS_PROTOCOL%\://%ISQLPLUS_HOST%\:%ISQLPLUS_PORT%/isqlplus/dynamic
    em_oob_startup=false
    oracle.sysman.emSDK.svlt.ConsoleServerPort=4889
    em_from_email_address=_NOT_AVAILABLE_
    oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
    oracle.sysman.db.isqlplusWebDBAUrl=%ISQLPLUS_PROTOCOL%\://%ISQLPLUS_HOST%\:%ISQLPLUS_PORT%/isqlplus/dba/dynamic
    oracle.sysman.emSDK.svlt.ConsoleServerHost=localhost
    em_from_email_name=_NOT_AVAILABLE_
    oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort=1159
    em_email_gateway=
    oracle.sysman.eml.mntr.emdRepServer=localhost
    oracle.sysman.eml.mntr.emdRepSID=NO_VALUE
    oracle.sysman.eml.mntr.emdRepConnectDescriptor=(DESCRIPTION\=(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=TCP)(HOST\=localhost)(PORT\=1521)))(CONNECT_DATA\=(SERVICE_NAME\=orcl)))
    oracle.sysman.emkeyfile=C:\app\john.smith\product\11.2.0\dbhome_1\localhost_orcl\sysman\config\emkey.ora
    em.ip.ui.enable=true
    oracle.sysman.eml.mntr.emdRepUser=sysman
    oracle.sysman.emSDK.svlt.PublicServletEnabled=true

  • Headphones OK, back connectors crack - strange issue

    4Headphones OK, back connectors crack - strange issue)Hi,
    I encountered very strange issue with my X-Fi Elite Pro. I thought that it was driver failure, but I played with couple of them, including PAX and it's still the same issue. Recently I discovered something that shreds some light on it. Here's the thing:
    I got Windows 7 64-bit and 4 GB of RAM. When I use speakers connected via analog cables using card connectors, there are some cracks and pops when I start a game, almost all games suffer from it. It's only in the beginning when some text appear on the screen. If you play Starcraft II, you can imagine what I'm talking about, when log on screen appears.
    However, if I connect my headphones to the external I/O console, all is fine! The console is connected via digital cable, as I suppose, to the card. No cracks, no pops, all is fine! I tried to connect the headphones to the card directly and the same thing happens: cracks and pops again.
    Has anyone experienced something like that? What do I need to do to make my card working properly?

    Hi,
    I replaced my motherboard last week. It was on Intel chipset 965P, now it's still Intel but P55.
    I must say that now I own the Creative product that I am used to. Very strong bass, clean hi tones, very dynamic sound even on Inspire 500 speakers which I own.
    It seems that in my case it was the duo of chipset or Gigbayte motherboard and X-Fi Elite Pro. That doesn't excuse Creative from creating good drivers, but the good thing is that I got my X-Fi back sounding really really cool!!!
    PS I use Robert K PAX Drivers.

  • How dynamically create connection pool and Datasource

    Hi
    How I can dynamically create a connection pool and Data source in Oracle 10g Application server. In our J2EE application the user will be login with db user name, password and database name. I want to create connection pool and data source on the fly while login the user with database name. I our application we have access approximate 80 Databases. so my approach is given bellow
    1) Planning to create 80 connection pools and 80 Data sources so when user logs in while selecting the db name i will call the appropriate data source and create the DB connection. Is there any limitation to create number of data sources in oracle app server?
    2) Create DB connection with out using connection pool and data source. But i am not prefer this approach coz we need to handle some transaction in our application.
    Kindly throw some light on managing connection pool programmatically or in application run time.
    I would really appreciate if any one can provide any links or any inormation on this issue.
    Thanks in advance.

    Kindly let me know is there any drawbacks to create 80 Data Sources to connect 80 database in Oracle 10G App server and each data sources should have one connection pool. so i need to create 80 connection pool. Please let me know is this right approach or any work around to create Data source on fly for each request for corresponding database.

  • Oracle Identity Manager 9.1.0.2 & WebLogic Strange Issue

    Hello,
    I am running OIM 9.1.0.2 (new installation) and WebLogic 10.3.3 in a clustered environment. I am having a strange issue where the resolution is eluding me.
    This install is running on Windows 2008 x64 Standard and using the x64 JRockit Java.
    What's happening is when I configure the managed server to run as a windows service, OIM isn't detected on the server. I can bring up xlWebApp but an unable to log into that or the Design Console. When launching the Diagnostic Dashboard it statest that OIM isn't installed.
    If I stop the service and log into WebLogic and start the managed server from within the Admin Console in WebLogic, everything works just fine.
    Any thoughts on how to troubleshoot this and ultimately resolve this? The service correct startes the managed server as I can watch it start up in the admin console but when it starts that way, OIM isn't detected. Very odd.
    Thanks,
    Andrew

    Oracle confirmed with us that it is certified for 10.3.3 though it may not be published yet.
    At any rate I figured out the problem today. The script I used to create the service was missing the JAVA_OPTIONS section from the xlStartManagedServer.cmd file. Once I added that and re-created the service, all is well.
    Thanks

  • Adding f:Attribute dynamically to a dynamically created Button

    Hi ,
    I am trying to dynamically create a CommandButton and attach a f:Attribute to the same. But somehow I am not able to get hold of the correct API to do the same -
    >RichCommandButton button=new RichCommandButton();
    >button.setText("Ok");
    >AttributeTag attr=new AttributeTag();
    >attr.setValue("DC_OPERATION_BINDING", "bindings.DENY");
    >button.getChildren().add(attr);
    The issue is that the add method expects a UIComponent and attr is of type com.sun.faces.taglib.jsf_core.AttributeTag

    gues u can use it like
    button.getAttributes().put(DC_OPERATION_BINDING", "bindings.DENY");
    {code}
    http://docs.oracle.com/cd/E17802_01/j2ee/j2ee/javaserverfaces/1.2/docs/api/javax/faces/component/UIComponent.html#getAttributes%28%29                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to synch values of fields (cbo & text) in Master Pages section in dynamically created pages?

    HI folks,
    I have a requirement for a form that has a common master page with a checkbox and text field in it.   The document is basically a table that dynamically adds rows as the user adds entries.   When the first page is full, a second page is dynamically created and the Master page format (including the checkbox & text field) applied to it. 
    When the user sets the checkbox on one page and/or adds text, all of the checkboxes on all of the dynamically created pages (in the master section) and all of the text boxes need to change to show the same values.   
    However, I can't figure out how to address the fields on the other pages.   The number of pages changes from user to user, so I can't address them with a static reference.
    Does anyone know how to keep these fields in synch?
    Thanks in advance!

    It woudl be easier to show than to explain it ...can you share the file? You can send it to [email protected] Include a description of the issue with your email please.
    Paul

  • ORA-39165: During Expdp Strange Issue

    Hi All,
    DB -- 11.1.0.6.0
    OS --HPUX Itanium.
    Today , I came across with one strange issue , where EXPDP tells us the scehma does not exist. we then tried to look into this this particular schema into the database and discovered it's does exist there. One wearied thing is that , all the tables inside this schema are of same size and have bit strange naming convention.I also discovered the same issue with one more database on the same host.
    CPMDVFDM> Total estimation using BLOCKS method: 0 KB
    ORA-39165: Schema WMSYS was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "SYS"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 11:02:43
    [1] +  Done(5)                    expdp  \'/ as sysdba\' directory=data_pump_dir1 logfile=wmsys.log schemas=wmsys &
    SQL> select table_name from dba_tables where owner='WMSYS';
    TABLE_NAME
    WM$RIC_TABLE
    WM$RIC_TRIGGERS_TABLE
    WM$INSTEADOF_TRIGS_TABLE
    WM$WORKSPACES_TABLE
    WM$VERSION_TABLE
    WM$NEXTVER_TABLE
    WM$VERSION_HIERARCHY_TABLE
    WM$VERSIONED_TABLES
    MAX(BYTES) SEGMENT_NAME
         65536 WM$RIC_TRIGGERS_TABLE
         65536 WM$WORKSPACES_TABLE
         65536 WM$MODIFIED_TABLES
         65536 WM$NEXTVER_TABLE
         65536 WM$CONS_COLUMNS
         65536 WM$MP_PARENT_WORKSPACES_TABLE
         65536 WM$LOG_TABLE
         65536 WM$ADT_FUNC_TABLE
         65536 WM$UDTRIG_INFO
         65536 WM$VT_ERRORS_TABLE
         65536 WM$NESTED_COLUMNS_TABLE
    MAX(BYTES) SEGMENT_NAME
         65536 WM$VERSIONED_TABLES
         65536 WM$RESOLVE_WORKSPACES_TABLE
         65536 WM$LOCKROWS_INFO
         65536 WM$MP_GRAPH_WORKSPACES_TABLE
         65536 WM$BATCH_COMPRESSIBLE_TABLES
         65536 WM$TMP_DBA_CONSTRAINTS
         65536 WM$RIC_LOCKING_TABLE
         65536 AQ$_WM$EVENT_QUEUE_TABLE_S
         65536 WM$INSTEADOF_TRIGS_TABLE
         65536 WM$VERSION_TABLE
         65536 WM$VERSION_HIERARCHY_TABLE
    MAX(BYTES) SEGMENT_NAME
         65536 WM$WORKSPACE_PRIV_TABLE
         65536 WM$WORKSPACE_SAVEPOINTS_TABLE
         65536 WM$UDTRIG_DISPATCH_PROCS
         65536 WM$REPLICATION_TABLE
         65536 WM$CONSTRAINTS_TABLE
         65536 WM$EVENTS_INFO
         65536 WM$LOG_TABLE_ERRORS
         65536 WM$REMOVED_WORKSPACES_TABLE
         65536 WM$HINT_TABLE
         65536 WM$RIC_TABLE
         65536 WM$ENV_VARS
    MAX(BYTES) SEGMENT_NAME
         65536 WM$SYSPARAM_ALL_VALUES
         65536 WM$EVENT_QUEUE_TABLE
         65536 SYS_IOT_OVER_12359
         65536 WM$REPLICATION_DETAILS_TABLERegards

    This is not true, there is a set of schemas that Data Pump knows are really not user schemas and therefore are not exported. Most contain sys, but they don't have to.
    If you created a schema called sysxyz, it would be exported.
    Dean

  • Strange issue in flash cs4.. please ans.. ist BUG?....

    Hi I'm using flash cs4.
    Now I got a different strange issue when using mask, which is I'm not  met in my previous experience in flash,
    I have a movieclip in stage, which is contain two layers, that are mask  and maskee, I make the mask object as a movieclip and it'll be animated,  then I returned to stage, It strangely animated in the movieclip  without using play/export option.
    How this possible?...
    I have attached the bug, Please check this and reply me again thanks,
    If this is not issue, please explain why adobe given the mask only play  without export in flash application./....
    I have attached the file, you can also create this again in your flash  also...
    check the attached file here http://www.actionscript.org/forums/attachment.php3?attachmentid=34686&d=1274792512

    is there anyone?... what your comments please submit?..

  • Dynamically creating properties

    Hi,
    I'm migrating my application from NW 7.0 to NW 7.11 CE.
    Previously I dynamically created properties from my application and they were automatically created as onlinemodifiable = true.
    When I migrated my project the properties were no longer created as modifiable.
    Can anybody point me to documentation or suggest a way to solve this issue?
    Here's my code creating the dynamic property:
              Configuration cfg = null;
              try {
                   cfg =
                        _cfgHandler.openSubConfiguration(
                             "application.global.properties",
                             ConfigurationHandler.WRITE_ACCESS);
              } catch (NameNotFoundException e) {
                   e.printStackTrace();
              } catch (ConfigurationLockedException e) {
                   e.printStackTrace();
              } catch (ConfigurationException e) {
                   e.printStackTrace();
              // get the property sheet
              PropertySheet ps = cfg.getPropertySheetInterface();
              // Create the property
              ps.createSecurePropertyEntry(propertyName, "", "");
              // commit the changes
              _cfgHandler.commit();
              cfg.close();
    Best Regards,
    Ran

    Hi,
    Probably this configuration can be done through NWA [check this|http://help.sap.com/saphelp_nwesrce/helpdata/en/18/5157425e060d53e10000000a155106/content.htm]
    Best Regards
    Satish Kumar

  • Is it possible to dynamically create a user variable at runtime from within a Widget?

    I'm trying to develop a custom Interactive Widget. This widget will allow the user to take multiple attempts, and needs to store information about previously completed attempts so they can (hopefully) see their improvements over time.
    I'm trying to figure out the best way to store the data about the previously completed attempts across multiple sessions in a LMS. It seems that the data stored in user variables is automatically stored/restored in suspend_data, which would be perfect. The issue is that I can't find a way to dynamically create a new user variable from within a Widget. It looks like I can only access user variables that the author has explicitly defined in the Captivate interface. I'd rather not have to force the author to define an empty User Variable that they'll never knowingly use, just to give the Widget a bucket to store its data.
    Does anyone have any ideas for what might be the best way to accomplish this? I'd like to stick to standard, "approved" APIs as much as possible, but I'd be willing to bend some rules if necessary.
    Thanks!

    Ryan,
    I assume you've asked this question here:
    https://groups.google.com/forum/?fromgroups#!topic/elearning-technology-and-development/e5 vWZfJ6X8I
    I asked a similar question here:
    https://groups.google.com/forum/?fromgroups#!searchin/elearning-technology-and-development /leichliter/elearning-technology-and-development/Au88bu7LB5o/TC7xlo8iBpQJ
    Philip gave you sound advice.  You'll have to hijack/re-purpose the comments or the suspend data.  I was successful in using SCORM comments in a Moodle system to store extra data I needed for a customer.  It's not ideal, but it gets the job done. Here's a thread about that:
    https://groups.google.com/forum/?fromgroups#!topic/elearning-technology-and-development/Yg YAMGfXQNw
    If you use suspend data, you have to watch out for a few things:
    1.  It's base 64 encoded... so any data you append to what Captivate outputs will need to be in base 64 (that's a good practice anyway since the data has to be serialized).
    2.  On course re-entry, you'll need to capture the suspend data before it hits Cp to strip off / read your needed data.  If the suspend data isn't in the format Cp expects, you'll get a nice white screen of death.
    Ideally, it would be nice to be able to dynamically create user variables for purposes like this... and it's been requested in Cp 6.... we'll see if it gets added (not holding my breath).  Until then, I'd use cmi.comments.
    Jim Leichliter

  • Strange issue - WD4A when called from EP returns wrong data

    Hi Experts,
    I am facing a very strange issue with WD4A. I have created one RFC. WD4A program calls this RFC. When I am executing the RFC using se37 it gives me 10 records. When I am executing the same RFC from WD4A program (Web Dynpro Application -- Right Click -
    test) the program is returning 10 records.
    I have created one iView in Portal. When I am calling the same program from portal, sometimes it returns 9 records and sometimes 10 records. I just refresh the iview and no of records getting displayed in screen changes.
    I have cheked the code many times. The code is perfectly fine.
    I have used clear and refresh command in the beginigng  of  RFC.
    What may be wrong? I have wasted my full dayfor resolving the issue. But I could not succeed.
    Is it due to some BASIS issue? Is it due to some server session issue?
    I have used business graphics in my application. Is it due to this? Whether IGS server and ECC contain different data?
    Please suggest
    Regards,
    Gary

    Hi Experts,
    The System configuration in the EP  is pointing to the right system and right client. I am using same setting for other Iviews. The other iViews are working fine.
    How we can apply break point in WDA. I beliveve I have to meet following requirement:
    1) Suppose EP user is 4755. The EP user 4755 is mapped to R/3 user 4755 and R/3 pernr 4755.
    2) Backend R/3 user 4755 should have se80
    3) Backend R/3 user should have debug access.
    The authorization will not provide such accesses for backend user 4755.
    Do we have any workaround?
    Please help.
    Regards,
    Gary

  • AutoScrolling of PanelLayout and setting Location of dynamically created controls

    Hi, I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up.
    So basically I have wrote a code that lets me drag on control over other other and replace their's locations.
    So I wanted to add possibility for user to dynamically add new controls (every new control is suppose to be 200px below previous) - everything is fine as long as I add them from upper section of my LayoutPanel (without scrolling) but when I try to add
    them while I'm half dawn scrolled they are placed based on CURRENT left upper corner which is NOT a upper left corner of LayoutPanel therfore they are placed with wrong padding based on current scrolled position.
    So my question is how can I avoid it and always add new controls based on LayoutPanel upper left corner? (I have already tried disabling AutoScroll while adding new control and enabling it back after adding - it works but I want to find PROPER way because
    I'm sure there must be some kind of solution to it)
    Thanks in advance.

    Hi darekg11,
    >> I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up
    I am wondering what the PanelLayout was, was it a “flowLayoutPanel” or “tableLayoutPanel”?
    >> basically I have wrote a code that lets me drag on control over other other and replace their's locations
    Did you mean you drag the control at runtime or at design time?
    >> how can I avoid it and always add new controls based on LayoutPanel upper left corner
    I could not reproduce your issue, and could you share us some key code or a simple demo to reproduce your issue?
    I made a research about “scrolling panel”, and I think the link below might be useful to you:
    # Scrolling Panel
    http://www.codeproject.com/Articles/226381/Scrolling-Panel
    Best Regards,
    Edward
    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.

  • Trouble accessing a property of an instance inside a dynamically created MC.

    I’m dynamically creating an instance of a movieclip, call it a game piece. This game piece has 4 frames, each with a movieclip called “base” (although one is red, one blue, one green, one yellow). When the game piece is created I set the frame to indicate player color. I’m also changing the alpha of “base” to 1.0 when it’s being dragged, 0.5 when it’s dropped.
    Using the following code, everything works fine if the game piece color is set to the base in frame 1 (red). If the game piece is created and the timeline moved to a frame other than 1, I throw an error when trying to access base.alpha (this would be the second, third, and fourth instances of base in the game piece timeline). Here’s the strange part, this is only a problem when the game piece is first created and added to the display list. Once created, even after the error has been thrown, I can access the alpha of bases 2, 3, and 4 in the drag start/stop listeners. Here’s a link to the work in progress, and the relevant sections of code (shortened for brevity, t1 is the top left piece on the pallet, others just repeat the same code):
    http://www.appliedcd.com/stormbringergrey/cw/CW_Combat_Sim.html
    var gUnitArray:Array = new Array();
    function initUnitPallet():void {
         t1.addEventListener(MouseEvent.MOUSE_DOWN,popNewUnit);
         // other pieces the same as above
         clanSelect.addEventListener(Event.CHANGE,changeClan);
    function popNewUnit(e:MouseEvent):void {
         var isBase:String = e.target.name;
         var unitType:String = e.target.parent.name;
         if (isBase=="base") {
              var classRef:Class = getDefinitionByName(unitType + "master") as Class;
              var newUnit:MovieClip = new classRef();
              gUnitArray.push(newUnit);
              var newUnitIndex:uint = gUnitArray.length-1;
              this.addChild(gUnitArray[newUnitIndex]);
              gUnitArray[newUnitIndex].gotoAndPlay(clanSelect.selectedItem.data);
              // the following line is a problem if the above gotoAndPlay is anything other than frame 1
              gUnitArray[newUnitIndex].base.alpha = 1.0;
              gUnitArray[newUnitIndex].x = e.stageX;
              gUnitArray[newUnitIndex].y = e.stageY;
              gUnitArray[newUnitIndex].addEventListener(MouseEvent.MOUSE_DOWN,startUnitDrag);
              gUnitArray[newUnitIndex].addEventListener(MouseEvent.MOUSE_UP,stopUnitDrag);
              gUnitArray[newUnitIndex].startDrag();
    function startUnitDrag(e:MouseEvent):void {
         e.currentTarget.base.alpha = 1.0;
         e.currentTarget.startDrag();
    function stopUnitDrag(e:MouseEvent):void {
         e.currentTarget.base.alpha = 0.5;
         e.currentTarget.stopDrag();
    function changeClan(e:Event):void {
         var myClanColor:String = e.target.selectedItem.data
         t1.gotoAndPlay(myClanColor);
         // other pieces the same as above

    Thanks, pointed me in the right direction. I tried implementing a RENDER listener (see commented code below), and it worked, but unreliably. In my case the RENDER event fired before the entire frame was instantiated in about 1 out of 10 tries. I found a bunch of old posts (2007 or so) implying the RENDER event is buggy in Flash at best (apparently it has a better history in Flex). I couldn’t find more recent posts indicating better behavior, but I was unable to eliminate the residual errors in my project.
    Fortunately, while reading I was reminded of the EXIT_FRAME event which seems to work perfectly (but forces me to player 10, not a big deal). Final code below along with proper Z-order control.
    (BTW: I really miss the old forum's code box)
    function initUnitPallet():void {
         t1.addEventListener(MouseEvent.MOUSE_DOWN,popNewUnit);
         clanSelect.addEventListener(Event.CHANGE,changeClan);
    function changeClan(e:Event):void {
         var myClanColor:String = e.target.selectedItem.data
         t1.gotoAndPlay(myClanColor);
    function popNewUnit(e:MouseEvent):void {
         var isBase:String = e.target.name;
         var unitType:String = e.currentTarget.name;
         if (isBase=="base") {
              var classRef:Class = getDefinitionByName(unitType + "master") as Class;
              var newUnit:MovieClip = new classRef();
              gUnitArray.push(newUnit);
              var newUnitIndex:uint = gUnitArray.length-1;
              this.addChild(gUnitArray[newUnitIndex]);
              gUnitArray[newUnitIndex].gotoAndPlay(clanSelect.selectedItem.data);
              gUnitArray[newUnitIndex].x = e.stageX;
              gUnitArray[newUnitIndex].y = e.stageY;
              gUnitArray[newUnitIndex].addEventListener(MouseEvent.MOUSE_DOWN,startUnitDrag);
              gUnitArray[newUnitIndex].addEventListener(MouseEvent.MOUSE_UP,stopUnitDrag);
              gUnitArray[newUnitIndex].addEventListener(Event.EXIT_FRAME,renderUnit);
              // gUnitArray[newUnitIndex].addEventListener(Event.RENDER,renderUnit);
              // stage.invalidate();
              gUnitArray[newUnitIndex].startDrag();
    function renderUnit(e:Event):void {
         e.currentTarget.removeEventListener(Event.EXIT_FRAME,renderUnit);
         // e.currentTarget.removeEventListener(Event.RENDER,renderUnit);
         e.currentTarget.base.alpha = 1.0;
    function startUnitDrag(e:MouseEvent):void {
         if(this.numChildren > 1){
              e.currentTarget.parent.setChildIndex(e.currentTarget,this.numChildren-1);
         e.currentTarget.base.alpha = 1.0;
         e.currentTarget.startDrag();
    function stopUnitDrag(e:MouseEvent):void {
         e.currentTarget.base.alpha = 0.5;
         e.currentTarget.stopDrag();

  • Removing dynamically created movieclips

    The following dynamically creates a set of movieclips that
    I'm using instead of the list component. Each clip has an embedded
    text field(txt) that displays the title of an RSS feed. I have
    multiple RSS feeds that I want to load however, and when a seperate
    button is clicked, I want to delete the above mentioned mc's so
    that they can be replaced by new ones. I have tried loading the
    values into an array, then clearing the array when the button is
    clicked, but the mc's still remain.

    I thought about my methods this morning at breakfast.
    Eventually, the list will grow to a size too big for the
    stage. I'm going to need a container so that I can scroll through
    the items at some point.
    I may as well add a listener to each button created that will
    load a specific container to nest the lists. When a different
    button is clicked I can simply use the removedChild(container) and
    get rid of the movies in one fell swoop as opposed to identifying
    each one for removal. The container can easily be controlled and
    scrolled using its y value as well.
    I have yet to work with this but I can think of an issue
    already. If I register the container at the top, my dynamic mc
    lists will start there, each with an increase in y value. The top
    of that container will become the limit for scrolling upwards.
    How will I note a y value to indicate the bottom of the lists
    for scrolling purposes? Each button will load a container with a
    unique amount of mc lists.

Maybe you are looking for

  • Urgent Help Needed in BAdI ME_PROCESS_PO_CUST

    Hello friends, I m workin on BAdI ME_PROCESS_PO_CUST , my requirement is to store header level text in po if it is left blank by user , for this i have creadted standard text for every po header text , and implemeted method POST of the badi. so when

  • Receiving error 51 on Windows 8.1 Pro

    Hello everyone, I know there have been several posts about this issue, however, I have tried all the solutions and none seem to be working for me. I had the VPN client working on this system (Surface w/ Windows 8.1 Pro) yesterday. Today after install

  • Centring table in IE using CSS/Wrapper Div for  oscommerce

    Hi, I am implementing OScommerce using stylesheets to centre the oscommerce page in the browser. I am using a #holder (wrapper) div around the whole BODY contents with left and right margins set to "auto" (This is based on Adrian Senior's article on

  • Multiple Excel Tabs...

    Hi Is there a possibility to create a template that creates a multiple number of Excel Tab Pages, and how? If not, will u add this feature in future realeses? By the Way, when will the next release be available? Greetings...

  • Comp wont boot with ram in any slots besides 1&3 no matter what, faulty board?

    Ok i've tried pretty much everything, got latest bios, changed timings to everything but the comp just wont boot if I have any ram in slots 2&4. Actually got the comp to boot up with ram in slots 1&2 once, but tried with all 4 slots filled and didn't