Not able insert ,query data from forms

hi,
I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
should i do anything to insert record.please help

the block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
Craig...

Similar Messages

  • Not able to query data from View

    Hi,
    I am not able to fetch data from views even while running simple select statements. I am using SQL Developer Version 3.0.04,
    Same query is fetching data on other computers running SQL Developer or Toad.
    Has anyone faced this issue??

    Is that the first version ever you installed? You unzipped in a clean directory, right?
    What OS/JDK/DB versions?
    So do you get an error or what?
    K.

  • Not able pass the data from component to other component.

    Hello All
    I am not able pass the data from component to other component.
    I have done like this.
    1 Main Component (Parent component ) having below  two child components.Embeded as used components.
    2)     Search Component  and Details Component
    3)     In the Search Component having buttons,  Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
    4)     When I am clicking above button u201CXu201D raising the event to call the parent   business logic method, there I am getting  Structure with values and binded this structure to the node and Mapped this node to the Details component  interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
    5)     In the Details component node data is not coming mean empty.
    Thanks in Advance.
    Br-
    CW
    Edited by: CarlinWilliams on Jul 4, 2011 9:21 AM

    Hi,
    When you use input Ext. check that the parent component should not be used as used component in child component.
    Only in the parent component the child components should be used as used components and the usage has to be created for the
    Child Components and the binding of the Node should be done from comp. controller of parent component to child node
    by which you will be able to see double arrow against the node.This should work
    Thanks,
    Shailaja Ainala.

  • Web Template is not able to fetch data from Data Provider

    hi friends,
               i have created a reporting agent for a particular query and given all the necessary parameters, defined the variants and activated this and created a scheduling package to this ,assigned my query to the scheduling package
               later in the web template,in the web item tab i maintained  the read mode as precalculated web template and the final report on the web is saying web tempalte is not able to get the data from the data provider  ,
    am i missing any where...
            i look forward to your help ,
    regards,
    sasidhar gunturu

    Hi,
    use the correct link to call the report.
    you can check the links : Re: Concept Of Precalculated Template
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/a8cd1f71-0a01-0010-4783-f119b6132d25 [original link is broken]
    Regards
    Happy Tony

  • Not able to get data from ce_reconciled _transactions_v in a function after intialising the view

    Hi all ,
    I have written a function  to  get the gl_date from ce_reconcilied transactions_v . but when i call th function in a select query , it is not returning any data.
    I have used the following intialization in the function
    Mo_Global.set_policy_context('S',p_org_id);
    cep_standard.init_security;
    But when i use anonymous block to get gl_date printed it is fetching data from the view.
    Below is the  code for Function
    CREATE OR REPLACE Function l3get_gl_date(p_org_id NUMBER,p_statement_line_id NUMBER)
    RETURN DATE
    AS
    v_gl_date DATE;
    ct NUMBER;
    BEGIN
    Mo_Global.set_policy_context('S',p_org_id);
    cep_standard.init_security;
    SELECT count(*) into ct from ce_reconciled_transactions_v where org_id=p_org_id ;
    dbms_output.put_line('count:' ||ct || 'org ' ||p_org_id || ' line ' ||p_statement_line_id);
    SELECT  gl_date INTO v_gl_date
      FROM ce_reconciled_transactions_v where statement_line_id=p_statement_line_id;
      RETURN v_gl_date;
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line('unable to get GL_DATE' ||SQLERRM);
    RETURN NULL;
    END;
    below is tha anonymous block
    declare
    p_org_id NUMBER;
    p_statement_line_id NUMBER;
    ct NUMBER;
    v_gl_date DATE;
    BEGIN
    select org_id into p_org_id from ce_bank_acct_uses_all where bank_account_id=10911;
    select statement_line_id  into p_statement_line_id from ce_statement_lines where statement_header_id=41130 and line_number=4;
    Mo_Global.set_policy_context('S',p_org_id);
    cep_standard.init_security;
    SELECT count(*) into ct from ce_reconciled_transactions_v where org_id=p_org_id ;
    dbms_output.put_line('count:  ' ||ct || 'org  ' ||p_org_id || ' line  ' ||p_statement_line_id);
    SELECT  gl_date INTO v_gl_date
      FROM ce_reconciled_transactions_v where statement_line_id=p_statement_line_id;
    dbms_output.put_line('GL Date:   ' || v_gl_date);
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line(SQLERRM);
    END;
    please suggest .

    Hi,
    Try adding the following code so we can verify the org is set in your function:
    Add to the definition:
    v_org_id number;
    Add after setting the policy:
    select MO_GLOBAL.get_current_org_id()
    into v_org_id from dual;
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Current MO Org_id='||v_org_id);
    This will verify that the org_id was set.
    Are you getting any errors, or simply no data found.
    Cheryl

  • I am not able to fetch data from r3

    Hi all,
    we have schduled process chain for transaction data and master data.when check the process chain status is green.
    but when not a single record is coming for any of the process chain.when i check the step by step analysis.
    gray RFC to source system successful ?
    red  Does selectable data exist in the source system?
    red  Data selection successfully started ?
    red  Data selection successfully finished ?
    gray RFC to Warehouse successful ?
    gray Processing successfully finished?
    gray All reported data packets received?
    gray All data packets complete ?
    remaining things are in green status.
    for every thing it is fetching zero records.i have already checked rfc connection and all the update and tranfer rules.every thing is fine.
    can anybody help me out...
    regards,
    viren.

    Hi,
       well,,I have after lot of replies,.. so let me see..
       I understand this is LO extraction. Also, since your load is running in Process chain, I "assume" these are delta loads.( right?). You also say there are records in the related tables.
      So, I feel, foll. are the things that you may need to check.
       1. Did you check in RSA7 for delta records?
       2. Did you check if the delta jobs are running fine to collect the data from the application tables?
       3. Did you correctly do the settings for delta for your extract structure?(direct delta, queued delta.. etc)
       4. These are the basic settings that will ensure that the delta records are collected in the right way!!!
        Once all the above listed are fine, then you should be able to see some data collected in your delta Q( assuming ur loads are delta loads)
        Let us know!!!
    Thanks,
    Raj

  • Not able to retrieve data from database through servlet

    Hi friends,
    I am trying to open a excel sheet through servlet. In this servlet i am retriving data from mssql database.I am not getting any error but no data is retrived
    i m also pasting the code here
    // Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   EmployeeData.java
    import java.io.*;
    import java.sql.*;
    import javax.sql.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    public class EmployeeData extends HttpServlet
        public EmployeeData()
        public void service(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
            throws ServletException, IOException
            httpservletresponse.setContentType("text/html");
            httpservletresponse.setHeader("Content-Type", "application/excel");
            httpservletresponse.setHeader("Content-Disposition", "filename=reports.xls");
            PrintWriter printwriter = httpservletresponse.getWriter();
            try
                javax.servlet.http.HttpSession httpsession = httpservletrequest.getSession(true);
                int i = 0;
             /*   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
                Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:3413;DatabaseName=newreportsodbc", "reportuser", "cisco");*/
                String url="jdbc:odbc:newreportsodbc";
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
                Connection connection = DriverManager.getConnection("jdbc:odbc:newreportsodbc","reportuser","cisco");
                Statement statement = connection.createStatement();
                printwriter.println("<b><center><u> Search Results </u></center></b>");
                printwriter.print("<table><tr><th color=brown background-color=#fff000>  No.  </th>");
                printwriter.print("<th> DateTime      </th></tr></table>");
           ResultSet resultset = statement.executeQuery("SELECT * FROM t_Call_Type_Half_Hour");
                boolean flag;
                for(flag = false; resultset.next(); flag = true)
                    i++;
                    SerialNo = resultset.getString(2);
                    printwriter.print((new StringBuilder()).append("<table><tr><td> ").append(i).append("</td>").toString());
                    printwriter.print((new StringBuilder()).append("<td> ").append(SerialNo).append("</td></tr></table>").toString());
                if(!flag)
                    printwriter.println("<h1> No records selected </h1>");
            catch(Exception exception)
                System.out.println((new StringBuilder()).append("SQLException: ").append(exception).toString());
        static String empid1;
        static String empid;
        static String SerialNo;
        static String designation;
    }thanks in advance. i just feel there is something to be done with connection string.

    post the table format in SQL

  • Confirmed Dimensions. OBIEE Not able to pull data from two fact tables.

    Hi Experts,
    I have a very simple set up of Star Schema with two fact tables and 1 dimension. Both fact tables joined to the dimension at the same level.
    When i pull a column from both fact tables and the dimension table in OBIEE, it has to create simple SQL like below:
    select FACT1.column1,
    Fact2.Column1,
    Dim.Column1
    from FACT1, FACT2, DIM
    where FACT1.ID = DIM.ID and FACT2.ID = DIM.ID
    but instead it creating a query in a very complex way:
    select case  when D1.c2 is not null then D1.c2 when D2.c2 is not null then D2.c2 end  as c2,
         D1.c1 as c3,
         D2.c1 as c4
    from
         (select FACT1.Column1 as c1,
                   DIM.Column1 as c2
              from
                   DIM T1287863,              
                   FACT1 T1287945              
       where  (DIM.ID = FACT1.ID)
           ) D1 full outer join (
            select FACT2.Column1 as c1,
                   DIM.Column1 as c2
              from
                   DIM,              
                   FACT2
              where  ( DIM.ID = FACT2.ID)
         ) D2 On isnull(D1.c2 , '1') = isnull(D2.c2 , '1') and isnull(D1.c2 , '2') = isnull(D2.c2 , '2')
    I even tried setting the levels for both the fact tables and it still creates the query in avove way. Any thoughts on this will be vary helpful.

    Subramanian,
    see below the code we're using for the RFM.
    on the ct_containers table i'm passing a line, and its getting updated after the call.
    on the ct_errors table i just want to receive the errors and i only receive the line, we add manually there ('Serious error with validation code').
    kr, achim
    FUNCTION zbapi_ra_validations .
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IS_RA_SCREEN) TYPE  ZBAPI_S_RA_SCREEN
    *"  CHANGING
    *"     VALUE(CT_ERRORS) TYPE  ZRA_T_ERRORS
    *"     VALUE(CT_CONTAINERS) TYPE  ZRA_T_CONT_IP
      DATA:
        lo_badi_handle TYPE REF TO zra_validation_rule,
        ls_error       TYPE zra_s_error.
      GET BADI lo_badi_handle.
      TRY.
          CALL BADI lo_badi_handle->validate_rules
            EXPORTING
              is_screen_flds = is_ra_screen
            CHANGING
              ct_containers  = ct_containers
              ct_errors      = ct_errors.
        CATCH zcx_ra.
          ls_error-message = 'Serious error with validation code'.
          APPEND ls_error TO ct_errors.
      ENDTRY.
    ENDFUNCTION.
    if i call this rfm in SE37 the ct_errors table is populated with all errors and the manually created line.
    Message was edited by: Achim Hauck

  • Not able to retrieve data from table faster

    Hi All,
    I have a table tab1, and I am creating one more table tab2 by selecting col1,col2 of tab1.
    creation query would be like this.
    create table tab2 as
    select as select /*+ parallel(qla,20) */ col1,col2 from tab1;
    Table tab2 is created, but the problem is when we query tab2 it is taking too long time to display the results, and the table tab2 is having arount 400 million data.
    Request every one to suggest how to improve the query performance which is
    select * from tab2;

    See the forum FAQ
    SQL and PL/SQL FAQ
    *3. How to improve the performance of my query? / My query is running slow.*
    SQL and PL/SQL FAQ

  • Not able to get data from Reference Purchase Organization

    Hi,
        the scenario is
    Need to have one global pur. org for 3 company codes and
    one each company code specific purchase org.
    so i created Z300 as a ref purchasing org
    and created Z100 for a specific company 3000 n assigned to it
    and assigned Z100 to ref purchase org Z300
    and i  created a vendor master with Z300 purchase org n company code 3000
    but when i creating a PO with ME21n
    when i enter the vendor and Z100 as the purchase org ...it tells me that vendor is not maintained for Z100.
    ( but as per the documentation the data shud come from ref. purchase org ? isnt that true)
    and
    when i enter the vendor and Z300 as the purchase org and enter the material and plant it says
    plant is not maintained for Z300 ..? i understand this ...the correct process is the first one ..
    can nyone let me know y this error is coming ....is there anything i am missing in assigning.
    thanks a bunch

    purchasing staff of your enterprise to work with conditions and contract  
    release orders on a cross-purchasing-organization basis.                                                                               
    It is then possible for:                                                                               
    o  The conditions of a reference purchasing organization to be used by    
       other purchasing organizations for the purpose of price determination  
    o  Several purchasing organizations to access the contracts of a certain  
       reference purchasing organization                                      
    You have to maintianed the vendor for all the Pur org for which you want to use
    the ref pur org will come inthe picture when you create the contract at global level means at ref pur org so all other pur org can use the same contract.
    So if you creating PO for your std pur org then you have to maintain the vendor and you can refer the contract from ref pur org

  • Urg: Not able to import data from DB in OBIEE 11g : Connection has failed.

    Hi Team
    Recently while working in OBIEE 11g , I was trying to import tables from the data-base but I am getting an error " Connection has failed " .
    I have put the tnsora file in the network admin folder and the
    C:\OracleBIHome\Network\admin
    \OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)
    \oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admin)
    and have set the TNS_ADMIN variable in the User.cmd path  with the above path .
    But it is still not working . I have tried all the options but its still not working .
    Any help is appreciated.
    Regards
    R

    Is it Compulsory to give Schema and Work Schema while creating the Physical Schema in Oracle Data server?
    This is mandatory to have a schema and a work schema here.
    The schema and work schema could be the same user as the user who is connected to the dataserver!

  • Not able to view data from more than one data package in PSA

    Hi Friends,
    Desparetly trying to view data in PSA. Problem :
    If i mark more than one datapackage this error raises:
    You must only select one data packet when entering data record numbers
    Message no. RSAODS127
    And there is no change to reset data record numbers.
    What is wrong ?
    Thanks in advance for help.
    Joe
    BW3.5, SP21
    Edited by: J.F.B. on Jul 2, 2009 11:40 AM

    Hi again,
    Seems I'm too stupid for this issue.......
    As I understand there are two ways to view PSA :
    1. PSA maintenance in RSA1
    2. In SE11/SE16 viewing the underlaying transparent table
    ad 1.
    When I try to filter erroneous records for more than one datapackage situation is as described above.
    ad 2.
    Trying to view the table works, but where is the chararcteristic/field marking a  record as erroneous
    in table /BIC/Bxxxxxxxx (table containing PSA-Data) ?
    Thanks
    Joe

  • Query data from MS SQL db through Oracle ? By using JAVA ?

    Hi folks,
    I would like to sync our one table in oracle db with table in different system, stored in MS SQL database.
    What would be the easiest option for connection from Oracle to MS SQL db to be able to query data from MS SQL through some Oracle package?
    If possible, I would like to keep all "tricky steps" within Oracle database. I heard about option with Java, but so far we have no experience with java in Oracle.
    Our database: Oracle 11g Database Standard Edition One
    Many thanks,
    Tomas

    C:\Users\tomeo>dg4pwd HELIOS
    ORACLE Gateway Password Utility
    Constructing password file for Gateway SID HELIOS
    For user account SYSTEM
    OPW-00001: Unable to open password-file (RC=0)
    C:\Users\tomeo>

  • Not able to post data

    hello there..
    i m not able to send data from an applet(embedded in a jsp) to another jsp even though i got successed making connection between these two.
    i m using following code at applet sede(embedded in jsp)...
         URL appletURL = getCodeBase();
            String strHost = appletURL.getHost();
            String strPort = String.valueOf(appletURL.getPort());
            String strProtocol = appletURL.getProtocol();
            int portNumber = Integer.parseInt(strPort);
            String strwp ="/UASProject/faces/feedbackform.jsp";       
            URL jspURL = new URL(strProtocol,strHost,portNumber,strwp); 
            URLConnection jspCon = jspURL.openConnection();       
            jspCon.setUseCaches(false);
            jspCon.setDoOutput(true);
            jspCon.setDoInput(true);      
            OutputStream outstream= jspCon.getOutputStream(); 
            ObjectOutputStream oboutStream = new ObjectOutputStream(outstream);             
            oboutStream.writeObject(std_details);         
            oboutStream.flush();        
           // oboutStream.close();        
            URL tempURL = new URL(String.valueOf(jspURL));       
            getAppletContext().showDocument(tempURL,"_self"); 
    //from server
        InputStream instr = jspCon.getInputStream();      
            ObjectInputStream inputFromjsp = new ObjectInputStream(instr);      
            Properties results = (Properties)inputFromjsp.readObject();
            inputFromjsp.close();
            instr.close();and this is at server side
       ObjectInputStream inputFromjsp = new ObjectInputStream(request.getInputStream());
           std_details = (Properties)inputFromjsp.readObject();
    //to applet
         response.setContentType("application/x-java-serialized-object");
        OutputStream outstr = response.getOutputStream();
           ObjectOutputStream oos = new ObjectOutputStream(outstr);
           oos.writeObject(ce);
           oos.flush();
           oos.close();
         but when i use std_details object for further implementation the i gets
    java.lang.NullPointerException
    here std_details is an properties object contains few key/value sets
    any help would be much appriciated

    /POSDW/BAPI_POSTR_CREATE will only import the data into ibound queue.
    To update data into TLog, you need to run /POSDW/QDIS (or /POSDW/QMON).
    There's another FM /POSDW/CREATE_TRANSACTIONS could update TLog straightly.

  • Not able to access data in Query

    Hi,
    I have loaded data using DTP from 2 different source systems.
    One is 3.x emulated datasource and the other is New 7.0 datasource.I have loaded data sucessfully in to DSO.Built a query on same.
    But when iam executing the query by material as selection criteria.Iam not able to found data in query from one source system.The same data is available in DSO.Please needed in this regard.

    Hi Venkat,
    After extracting data into DSO check the request whether active or not.
    Check data in DSO in contents.
    If is there any restrictions on info providers in Queries.
    Let us know status clearly.......
    Reg
    Pra

Maybe you are looking for

  • How to read data from many excel files

    I'm aquiring data continusly from several sensors, and every days file name are changed. Data are saved on xls files. Now, I'd like to read every data from this files and put them in a waveform. How can I concatenate all files and read the values?

  • UML290 & Windows 7 Blue Screen of Death

    I have 4G, using the Pantech UML290. I am running Windows 7 (64 bit) on a Dell i5 laptop. I have experienced 5 BSODs in the last month (when I bought this laptop). The VZAM version is 7.6.4.4 and the firmware version is L0290VWB522F.242. I did not ex

  • Sharepoint Online Emails Delayed or Missing

    Recently as of (3/20) Emails generated by Sharepoint Workflows have been erratic. Sometimes the emails show up right away, other times the emails are delayed, or simply never some at all. We use Office 365 for our mail and Sharepoint Online. The mess

  • @CalcMgrExecuteMaxL Linux Essbase

    Hi, I'm developing a Planning application in a 11.1.2.2 (500 patch I believe) environment.  I have developed a MaxL script to refresh a replicated partition, and I'd like to run this script upon form save in the Planning application.  The plan was to

  • Soft release 10.2.1.2941

    OS version 10.2.1.3175 After I update to last soft release 10.2.1.2941 all my android apps stop working. All work`s perfectly before update. Nw if I start any of them, it`s start initialising and after short time get me out to the main screen. Don`t