Problem while  capturing keys from keyboard .

hello abapers,
i am trying to catch my enter key from keyboard coz i want run some code when user will press enter.
i think sy-ucomm will capture the key pressed, if i am wrong then plz correct me.
(1) with this assumption i tried running bdc for my screen and tried to get the bdc_okcode value  which  is /00
     i passed this value to sy-ucomm in my abap prog but it didnt worked
(2) i tried writting /h in command window it oppend the debugging window but the value for sy-ucomm was blank
if any one of you is able to correct me it would be of great help to me plz its .....
Thank you.
Edited by: Dakshaini A Subramaniam on May 15, 2011 8:36 AM
Edited by: Rob Burbank on May 15, 2011 4:21 PM

Hi ,
Double click your ,
SET PF-STATUS 'STATUS'.
code. At Standard Toolbar part of the pf-status  , set OK CODE for first item (green) to 'ENTER'.
When user hits enter , sy-ucomm will be ENTER.
This is for screen processing .

Similar Messages

  • Problem while loading data from ODS to infoobject

    Hi guys,
    I am facing problem while loading data from <b>ODS to infoobject</b>.
    If I load data via PSA it works fine but
    if I load data without PSA its giving error as Duplicate records.
    Do u have any idea why it is so.
    Thanks in advance
    savio

    Hi,
    when you load the data via the PSA, what did you select? Serial or Paralel?
    If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
    Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
    hope this helps...
    Olivier.

  • I am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    hi TimoHahn,
    i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
    Root cause of ServletException.
    java.lang.NullPointerException
    at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Problem while selecting BELNR from BSEG

    Hi Experts,
    I have a report performance problem while fetching BELNR from BSEG table.
    I have to print latest BELNR from BSEG where BUZID = ‘M’ but at the time of execution of report, It is taking too much time (More that hour and sometimes it gets hanged).
    I have also gone through the comments provided by experts for previous problems asked in this forum e.g. BSEG is a cluster table that is why data retrieval takes long time etc.
    Can any one has any other idea or suggestion  or any other way to solve this problem
    Regards,
    Neeraj

    Hi,
    1) Try to create an index on BUZID field
    2) Don't use SELECT/ENDSELECT statement. Instead of that extract all the concerned entries from BSEG into an internal table :
    select belnr from bseg appending table itab where buzid = 'M'.
    then do this :
    sort itab by belnr.
    describe itab lines n.
    read table itab index n.
    Please reward if helpful.
    Regards,
    Nicolas.

  • Problem while retrving data from a view

    Hi Friends
      i have a problem while retriving data from a view <b>v_t685a</b>.
    the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view."""
    i wrote : select single VTEXT1 from V_T685A into w_cst_jin1 where
                        KSCHL = 'JIN1' and
                        KAPPL = 'V'.
    how to retrive the data.
    waiting for quick response
    Regards
    Mukesh

    Hi
    This is a Maintenance View, not a Database View
    SO can't fetch data using select statement.
    You can use the Table <b>T685</b> directly to fetch the condition Types data straight away instead of the view. write the same select for this table and use.
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • HT1473 Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?

    Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File<Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?

    Try:
    iTunes: Finding lost media and downloads
    iTunes: How to re-create your iTunes library and playlists
    Next try:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Also:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • Problem while reading data from Serial Port

    Hi All,
    I am facing some problem while reading data from Serial Port.
    As per the requirement I am writing the data on Serial Port and waiting for response of that data.
    Notification for data availabilty is checked with method public void serialEvent(SerialPortEvent event) of javax.comm.SerialPortEventListener.
    When we are writing data on the port one thread i.e. "main" thread is generated and when data availability event occures another thread "Win32SerialPort Notification thread" is generated. This creates problem for me as we can't control thread processing.
    So can anybody pls explain me how to overcome this problem?
    Regards,
    Neha

    My Problem is:-
    I am simoultaneouly wrting data on port & reading data from port.
    First I write data on port using outputStream.write() method. Now when target side sends me response back for the request on serial port DATA_AVAILABLE of SerialPortEventListner event occured,we are reading data from serial port.Now till the time we didn't get the response from target next command can't be written on the serial port. When we are writing data on port main thread is executed.Now my problem starts when DATA_AVAILABLE event occured.At this point another thread is created.Due to this my program writes data of next command without reading response of previous command.To solve this prob. I have used wait() & notify() methods as follows.But again due to this my pc hangs after execution of 2 commands. (PC hang in while loop in a code provided below.)
    From SOPs I could figure it out that after 2 commands we are not able to write data on serial port so DATA_AVAILABLE event doesn't occure n pro. goes in wait state.
    Can anybody help me to solve this issue.
    Neha.
    Code:
    public void serialEvent(SerialPortEvent event)
              switch (event.getEventType())
                   case SerialPortEvent.BI:
                   case SerialPortEvent.OE:
                   case SerialPortEvent.FE:
                   case SerialPortEvent.PE:
                   case SerialPortEvent.CD:
                   case SerialPortEvent.CTS:
                   case SerialPortEvent.DSR:
                   case SerialPortEvent.RI:
                   case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
                                 break;
                   case SerialPortEvent.DATA_AVAILABLE:
                        try
                             dataThread = Thread.currentThread();
                             dataThread.setPriority(10);
                             dataAvailable = true;
                                                                                    byte[] tempArray=new byte[availableBytes];
                                        inputStream.read(tempArray);
                                                                       catch (IOException io)
                             SOP(io, "Error in serialEvent callback call for event DATA_AVAILABLE");
    public void  writetoPort(byte[] data) throws IOException
                             outputStream.write(data);
                              while(finalTimeOut >= actualTime)
                            if( ! dataAvailable)
                                    actualTime = System.currentTimeMillis();
                           else
              synchronized (mainThread)
                   mainThread = Thread.currentThread();
                   mainThread.wait();
    public  void sendDatatoUser(byte[] b) throws Exception, HWCCSystemFailure
              obj.returnData(b);
              synchronized(mainThread)
                   mainThread.notify();
                                                           

  • Problems While Extracting Hours From Date Field

    Hi Guys,
    Hope you are doing well.
    I am facing some problems while extracting hours from date field. Below is an example of my orders table:-
    select * from orders;
    Order_NO     Arrival Time               Product Name
    1          20-NOV-10 10:10:00 AM          Desktop
    2          21-NOV-10 17:26:34 PM          Laptop
    3          22-JAN-11 08:10:00 AM          Printer
    Earlier there was a requirement that daily how many orders are taking place in the order's table, In that I used to write a query
    arrival_time>=trunc((sysdate-1),'DD')
    and arrival_time<trunc((sysdate),'DD')
    The above query gives me yesterday how many orders have been taken place.
    Now I have new requirement to generate a report on every 4 hours how many orders will take place. For an example if current time is 8.00 AM IST then the query should fetch from 4.00 AM till 8 AM how many orders taken place. The report will run next at 12.00 PM IST which will give me order took place from 8.00 AM till 12.00 PM.
    The report will run at every 4 hours a day and generate report of orders taken place of last 4 hours. I have a scheduler which will run this query every hours, but how to make the query understand to fetch order details which arrived last 4 hours. I am not able to achieve this using trunc.
    Can you please assist me how to make this happen. I have checked "Extract" also but I am not satisfied.
    Please help.
    Thanks In Advance
    Arijit

    you may try something like
    with testdata as (
      select sysdate - level/24 t from dual
      connect by level <11
    select
      to_char(sysdate, 'DD-MM-YYYY HH24:MI:SS') s
    , to_char(t, 'DD-MM-YYYY HH24:MI:SS') t from testdata
    where
    t >= trunc(sysdate, 'HH') - numtodsinterval(4, 'HOUR')
    S     T
    19-06-2012 16:08:21     19-06-2012 15:08:21
    19-06-2012 16:08:21     19-06-2012 14:08:21
    19-06-2012 16:08:21     19-06-2012 13:08:21
    19-06-2012 16:08:21     19-06-2012 12:08:21trunc ( ,'HH') truncates the minutes and seconds from the date.
    Extract hour works only on timestamps
    regards
    Edited by: chris227 on 19.06.2012 14:13

  • Problem while passing parameter from report to report.

    Hi
    I'm using forms and reports 10g, hava a problem while passing the parameter from reports to report.
    i'm using srw.set_hyperlink to call report from report.
    i have created a key value in the cgicmd.dat file called
    faccre802005-2006: report=faccre80 destype=cache desformat=pdf userid=<userid/passwd@cs> server=<servername>
    Now in the format trigger i'm using this key value
    function BTN_DEBITFormatTrigger return boolean is
    temp varchar2(5000);
    IP_ADDRESS VARCHAR2(50);
    SERVER_NAME VARCHAR2(10);
    L_ACCT_CODE VARCHAR2(14);
    begin
    SELECT MAST_INT_DESC,MAST_USER_PGM_ID INTO IP_ADDRESS,SERVER_NAME FROM MAST_INT_INFO WHERE MAST_INT_ID='VISHWA';
    temp := IP_ADDRESS||'?faccre80'||:P_FIN_YEAR||'+server='||server_name;
    temp :=temp ||'+'||'P_PREVIOUS_CODE='''||:ACCT_CODE||''''||'+'||'P_COMPANY_CODE='''||:P_COMPANY_CODE||'''';
    temp :=temp ||'+'|| 'P_FROM_DATE='''||TO_CHAR(:P_FROM_DATE,'DD-MON-RRRR')||''''||'+'|| 'P_TO_DATE='''||TO_CHAR(:P_TO_DATE,'DD-MON-RRRR')||''''||'+'||'P_TRUST_CODE='''|| :P_TRUST_CODE||'''';
    temp :=temp ||'+'|| 'P_UNIT_CODE='''||:P_UNIT_CODE||''''||'+'||' P_FIN_YEAR='''||:P_FIN_YEAR||'''';
    temp :=temp ||'+'|| 'P_LEVEL='''||:P_LEVEL||''''||'+'||'P_HEADER='''||replace(:P_HEADER,' ','%20')||''''||'+'||'P_FORMAT='''||:P_FORMAT||'''';
    SRW.Set_Hyperlink(temp);
    END;
    return (TRUE);
    end;
    Report is coming but not the expected result because parmaeters are not coming from first report to second report.
    If i dont use cgicmd file userid and password are displyed in the URL.
    Pl tell me how to pass parameter from one report to another.
    thanks and regards

    Hi
    I got the solution.
    I forgot to add %* at end of the KEY value.

  • Problem while using trigger from line of 6534

    I have faced some problems while using triggering with 6534. They are listed below. Please provide solution me.
    1. ) i was using pattern input with triggering(buffered) in which i am using the example given in library buffered pattern input-triggered.vi
    Now i am using port 0 to take input. From line 0 of port 2 i want to generate a pulse which can trigger the operation & start acquisition. For that i am using write to single line.vi . My DPULL is open so bydefault the line will be at low level & by vi i will make it high which will trigger the operation.
    In normal condition if we use write to a single line.vi it will write the given status on that line within a fraction of second and abort execution. But when i am usin
    g it for trigger in following manner, it did not work.
    First i started the VI buffered pattern input-triggered.vi.I have configured the start trigger with leading edge trigger. I have set the time limit properly.Synchronous operation is set at the front panel of vi.
    Now if start the write to a single line.vi to give start trigger, nether it triggered the operation,nor it abort execution of single line write vi.When time out occured in triggered vi, then both vis stopped simultaneously. Why this happened?
    2.) Similar problem i faced when i wanted to perform the change detection.vi Port 0 is configured for input.Line 1 to 7 are fixed with some status by connecting them to Vcc or GND. I have connected port 0 line 0 with port 2 line 0. So when i change status of line 0 of port 2 change detection should be occured o port 0. i am changing the status of line 0 of port 2 by write to a single line.vi But here i faced same problem as first that it was not writing to port 0 line 0. And bo
    th process stopped when time limit occured in change detection vi.
    So what can be the problem? Please help me.

    Hi Vishal,
    1) You should check to see that when you are writting a static 1 to line 0 you see a pulse high. You should also make sure that you wire this line to the STARTTRIG for group 0.
    2) If you solve question 1 you will also have question 2 solved.
    It might be helpful to create a program that configures both programs (pattern I/O on port 0 and static I/O on port 2) in the same program and then starts both groups. I would do a little testing to see exactly what signals you do or do not see.
    Ron

  • SQL Loader problem while loading records from txt file to database table.

    I am getting following error while loading records from flat txt file into database table with the help of 'sqlldr' command. I have executed catldr.sql from RDBMS folder but it is still showing same error. I am setting DIRECT = TRUE while issuing sqlldr command. If I try with DIRECT = FALSE then it works fine. Database is Oracle 8i.
    SQL*Loader-951: Error calling once/load initialization
    ORA-24329: invalid character set identifier
    F1 Please.

    Hello,
    Direct path load, can only be used with SQL*Loader and Database have the same version.
    Care to tell the database version and sql*loader version you are using.
    -Sri

  • Problem with capture image from wc

    hi all, i want to capture image from my webcam and play it, but it's not work
    please help me, here's code
    public class Demo extends JFrame {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Demo demo = new Demo();
         public Demo() {
              super();
              int a=30;
              final JPanel panel = new JPanel();
              getContentPane().add(panel, BorderLayout.CENTER);
              setVisible(true);
              DataSource dataSource = null;
              PushBufferStream pbs;
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo deviceInfo=null;boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++) {
              // search for video device
              deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
              if(deviceInfo.getName().indexOf("vfw:/")<0)continue;
              VideoFormat videoFormat=new VideoFormat("YUV");
              System.out.println("Format: "+ videoFormat.toString());
              Dimension size= videoFormat.getSize();
              panel.setSize(size.width,size.height);
              MediaLocator loc = deviceInfo.getLocator();
              try {
                   dataSource = (DataSource) Manager.createDataSource(loc);
                   // dataSource=Manager.createCloneableDataSource(dataSource);
                   } catch(Exception e){}
                   Thread.yield();
                   try {
                        pbs=(PushBufferStream) dataSource.getStreams()[0];
                        ((com.sun.media.protocol.vfw.VFWSourceStream)pbs).DEBUG=true;
                        } catch(Exception e){}
                        Thread.yield();
                        try{dataSource.start();}catch(Exception e){System.out.println("Exception dataSource.start() "+e);}
                        Thread.yield();
                        try{Thread.sleep(1000);}catch(Exception e){} // to let camera settle ahead of processing
    }

    iTool wrote:
    hi all, i want to capture image from my webcam and play it, but it's not workThat's a very descriptive error message, "it's not work". Everyone on the board will certainly be able to help you out with that.
    The first error I see is that you're using the CaptureDeviceManager in an applet. If T.B.M pops in here, he can tell you why that's going to be a CF 99% of the time.
    The other error I see is that your code looks absolutely nothing like any working JMF webcam capture code I've personally ever seen.
    Lastly, the big one, even if you were somehow capturing video magically, you're not even trying to display it...so I'm not entirely sure why you expect to see anything with the code you just posted.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JVidCap.html]
    Your best bet would be starting over and using the example code from the page linked above.

  • Problem while changing DB from Pointbase to Oracle

    Hi All,
    I dont know whether this is right place to ask this question, but I am newbie, on weblogic, and would like some assistance,
    I am trying to point my DB in weblogic from Pointbase to Oracle, I have updated the database.properties file to point @ Oracle. Now when I go and try to exectue the create_db.cmd file to execute all the scripts and thereby load/create the DB, I get the below error when all the .sql files are executed.
    Buildfile: C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml
    init_props:
    init_tasks:
    main:
    setup_create_database_objects:
    init_props:
    init_tasks:
    create_database_objects:
    echo ***** Calling JDBCDataLoader ** to create database objects and insert seed data
    java Loading Database...
    java logFile=create_db.log
    java user=akulas
    java password=******
    java url=jdbc:oracle:thin:@hpcad144.qwest.net:1524:dnets_d
    java files=C:\bea\WLSERV~1.0/common/p13n/db/oracle/jdbc_index/jdbc.index,C:\bea\WLSERV~1.0/cm/db/oracle/jdbc_index/jdbc.index,C:\bea\WLSERV~1.0
    /portal/db/oracle/jdbc_index/jdbc.index
    java driver=oracle.jdbc.driver.OracleDriver
    java saltFile=C:\bea\user_projects\domains\VenkatDomain/security/SerializedSystemIni.dat
    java prodDir=C:\bea\WLSERV~1.0
    java Processing file 'C:\bea\WLSERV~1.0\common\p13n\db\oracle\jdbc_index\jdbc.index'
    java Files=
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/seq_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/seq_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/p13n_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/er_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/er_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/bt_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/bt_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/bt9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n9_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/p13n9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n102_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/oracle/p13n102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/common/p13n/db/data/required/p13n102_insert_system_data.sql
    java Processing file 'C:\bea\WLSERV~1.0\cm\db\oracle\jdbc_index\jdbc.index'
    java Files=
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm10_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv10_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv9_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/required/cmv_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm9_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/required/cm9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv9_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/required/cm_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/sample/cm_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm10_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv10_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cmv102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/oracle/cm102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/sample/cm102_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/cm/db/data/sample/cm102_update_system_data.sql
    java Processing file 'C:\bea\WLSERV~1.0\portal\db\oracle\jdbc_index\jdbc.index'
    java Files=
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf10_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf10_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_constraints.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_drop_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/wps_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/wps_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_indexes.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/comm_create_triggers.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/comm_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_drop_columns.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_create_fkeys.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf9_create_views.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/bt_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/bt9_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf10_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf10_insert_system_data.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf102_create_tables.sql
    java file:/C:/bea/WLSERV~1.0/portal/db/oracle/pf102_drop_tables.sql
    java Error = SQLException when executing file file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf_insert_system_data.sql
    java java.lang.Exception: SQLException when executing file file:/C:/bea/WLSERV~1.0/portal/db/data/required/pf_insert_system_data.sql
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:182)
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.main(JDBCDataLoader.java:1320)
    java Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
    java at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    java at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    java at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    java at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    java at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    java at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
    java at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
    java at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1614)
    java at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1579)
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.loadData(JDBCDataLoader.java:748)
    java at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:166)
    java ... 1 more
    java Load Failed
    BUILD FAILED
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:17: The following error occurred while executing this line:
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:90: The following error occurred while executing this line:
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:97: The following error occurred while executing this line:
    C:\bea\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:62: Java returned: -1
    Total time: 3 minutes 55 seconds
    I tried debugging the problem, and found that the table "PF_MARKUP_XML" was not created, the create script of that table is in the "pf_create_tables.sql" file. When I tried to manually execute the specific create script for that table it was executed successfully, and the table was created. So I dont know what is the problem then.
    Any help on this would be highly appreciated.
    Thanks,

    Hi,
    not sure which version of WLP you are running, but take a look at [http://edocs.bea.com/wlp/docs92/db/oracle.html|http://edocs.bea.com/wlp/docs92/db/oracle.html]:
    "Note:      A WebLogic Portal Oracle database user that has DBA privileges causes database create errors and upgrade issues. Before you create database objects or perform an upgrade, you should revoke the Oracle user's DBA privileges and replace them with the following privileges: GRANT CREATE TABLE, CREATE VIEW, CREATE TRIGGER, CREATE SEQUENCE, CREATE SESSION, UNLIMITED TABLESPACE TO <<WEBLOGIC>>."
    If the DB user you were using had DBA privileges then maybe this was the reason for your problem?
    Seems to be still valid even for 10.2.
    Hope this helps.
    Cheers,
    Petri

  • Problem while sending ByteArray from as3 client through netconnection call method to red5 server

    Hi to all,
    I'm trying to send from as3 client a ByteArray of more or less 3 MB using NetConnection's call method but I am unable to do it, cause I get a timeout on the server and the client get disconnected (I have also increased the timeout limit in red5.properties but nothing changed). If I try to send a smaller ByteArray I don't have problem, even if the trasfer is really slow.
    Any solution?
    thanks

    put it in code tags so it's readable
    CLIENT
    public void sendLoginData(String data)
    int c=0;
    byte loginData[]=new byte[data.length()];
    loginData=data.getBytes();
    try
    out.write(loginData);
    System.out.println(client.isClosed());
    // here i want 2 receive the 1 byte data whch i hv sent frm server's RUN() method
    //following code is not working :( it gets hanged
    while((c=in.read())!=-1)
    System.out.print(c);
    System.out.print("hi");
    catch(Exception e)
    System.out.println("Caught:" + e);
    finally
    out.close();
    }SERVER
    public void run()
    boolean flag;
    try
    flag=verifyLoginData(ID); //this function verifies the login data by connecting to DB
    System.out.println(flag);
    if(flag==true)
    //send login valid
    bos.write(1);
    bos.close();
    else
    //send login invalid
    bos.write(0);
    bos.close();
    catch(Exception e)
    System.out.println("caught " + e);
    }

  • PLS-00306,problem while executing procedure from oracle e_comerce

    Hi
    I have writen a procedure in oracle.Tere i have a parameter with type varchar2.
    While i registered it in e_comerce i choosed the value set as 15characters.
    When i am runing the program from my ecomerce application it gives an error as below:
    ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'PO_OUTPUT'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    there is no error when i am executing my procedure in toad/sql+ but this error comes only in e_comerce application.
    PLease tell what is the reason and what can be the solution?

    Hi,
    <p>
    The function has the following parameters:<br>
    function insertj(jnum j.j#%type, jname j.jname%type, city j.city%type)<br>
    where j# is varchar2(5), jname is varchar2(35) and city is varchar2(35)<br>.
    I was trying to insert the following values:<br>
    j#:='J11', jname:='JobName' and city:='Paris'.<br>
    </p>
    <p>
    The procedure just calls this function with the same parameters. It is very strange because it is hard to see what the problem is. The line 10 is return 0 in the function where I believe the error comes from. It starts in the procedure and then goes in the function body, if I am interpreting this right.
    </p>
    <p>
    Any idea?
    </p>
    Thanks!

Maybe you are looking for

  • SD Doc type SDF:Replace Defective goods

    Dear Gurus, Kindly provide a solution for this scenario Replace defective goods if returned within 6 months My client replaces defective goods free of cost if it is brought back within 6 months of the invoice date. Please Please Suggest .............

  • Need code for Logoff the screen

    Hi, i have requirement to close the sap application when then user is invalid. when a invalid user logs into the system, i need to show an  error message and logoff the system

  • Is there an issue with using a local copy of the WSDL versus a direct connect to Configure Web Service

    I would like to build a WS connector to RemedyForce (~ Salesforce).  I am attemptling to use the configuration tool to buid the MSCONFIG file.  Salesforce does not let you connect directly to a wsdl file. you have to download a static copy.  This wou

  • Transaction launcher for url in new window need "Back" to continue working

    Hello Experts, In the CRM I've created a Transaction Launcher for url, when I press on the link and open it in new window I got the following message:     "The object you have selected is starting in a new browser window. You can continue working nor

  • My Hard drive (master) on my G4 has vanished

    I have a G4 with a master hard drive and a 2nd hard drive, I came into work and tried to boot up, but screen kept coming up with a question mark "?", I booted from CD and I can only see the 2nd hard drive, is the master Hard drive broke or is the som