Function Call problem {Urgent Please}

Dear All,
I am calling a function (which is in PLSQL library) from a procedure in which is alos in same PLSQL library, and calling this procedure from my form,
everthing in a procedure working well but this function call is not working, but when i put some Message before and after function call its woking fine for example.
in follwoing case is working
Beging
Message('start calling') ;
x := My_Function(abc) ;
Message('end calling') ;
End ;
in follwoing case its not working
Begin
x := My_Function(abc) ;
end ;
Can anyone tell me whats wrong with this ???
Thanks in Advance.
Regards,
Zahid Raj
Message was edited by:
zahidraj

looks strange to me!
I think better try recompiling the Library and then again attach to the form.

Similar Messages

  • 4 level masetr detail  problem urgent please

    hi all
    i have page with 4 level master detail first as a form and other as tables my problem is when i click on a record at the last table the second table stop the partial triger so when i chose any record in table 2 it didnt change data in table 3 and data still as it in table 3 and 4 without changing i need to solve this problem very very urgent
    please help me
    Edited by: user554540 on 31/12/2009 11:34 ص

    Do you have the partialTriggers set correctly on the 3rd and 4th level tables?
    As an alternative, you could write a custom selection listener for table 2 and programmatically ppr the 3rd and 4th tables..

  • Function calling problem

    Hi,
    I created a class file and in constructor loading a XML file
    and on Load of XML I am calling different function with in the same
    class, but it is not executing can you please tell me where is the
    problem.
    Here is the code given below.
    class myClass
    private var myXML:XML;
    public function myClass()
    myXML.load("myXML")
    myXML.onLoad = function()
    displaText() // This is the function which is not calling
    public function displaText()
    trace("Welcome")
    }

    It looks like you've got a scoping issue...
    try:
    var pointer:myClass=this;
    myXML.onLoad=function(success){
    if(success){
    pointer.displaText();
    }else{
    // error handling
    When you call a function within an onLoad event, that
    function is scoped to the object being loaded. If you want to call
    a method from another object (in this case from your 'myClass'
    class), you need to use a reference to the object that contains the
    function.
    Don't forget to use the new XML constructor when
    instantiating your XML object:
    myXML= new XML();
    Also... it's a best practices thing... you should capitalize
    your class names (MyClass instead of myClass). You'd then likely
    use the lower case (myClass) to name an instance of the class.
    Cheers,
    PPE

  • Stored function call problem

    I've been trying out this feature as it was shown in adfdeveloperguide. that is, on page 3-26/27
    StoredFunctionCall functionCall = new StoredFunctionCall();
    functionCall.setProcedureName("READ_EMPLOYEE");
    functionCall.addNamedArgument("EMP_ID");
    functionCall.setResult("FUNCTION_RESULT", String);
    ReadObjectQuery query = new ReadObjectQuery();
    query.setCall(functionCall);
    query.addArgument("EMP_ID");
    Vector args = new Vector();
    args.addElement(new Integer(44));
    Employee employee = (Employee) session.executeQuery(query, args);
    in my version it is:
    StoredFunctionCall fCall = new StoredFunctionCall();
    fCall.setProcedureName("f_milos");
    fCall.addNamedArgument("x");
    fCall.setResult("FUNCTION_RESULT", String.class);
    ReadObjectQuery query = new ReadObjectQuery();
    query.setCall(fCall);
    query.addArgument("x");
    Vector args = new Vector();
    args.addElement(new Integer(2));
    String result = (String) session.executeQuery(query,args);
    where f_milos is my stored function. as for the session, I got it in this way
    Session session=new SessionFactory("META-INF/sessions.xml", "default").acquireSession();
    like it was done in my session bean.
    dunno, maybe thats the source of the problem.
    now, when I come to executeQuery, following error pops:
    javax.faces.el.EvaluationException: Exception [TOPLINK-6029] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
    Exception Description: A reference class must be provided.
    Query: ReadObjectQuery().
    help?

    Well, previously you were calling getDBTransaction() on an explicit Application Module object, whereas now, you do:
    st = getDBTransaction().createCallableStatement("begin ? := "stmt";end;",0);which means that your code must be inside of an application module in order to work. Do you see the difference?
    I'll mention that you shouldn't generally be doing DB calls in your ViewController/UserInterface layer - DB code belongs in the model.
    John

  • Installation problem - urgent, PLEASE help!!

    I'm trying to install Java3D and somehow it doesn't seem to be working. I'm not sure whether I should be installing the opengl or the
    directx version, but I've tried both with no luck. I'm running Windows
    M.E.
    I downloaded the JSDK beta 1.4 version (I have previously tried also
    with the 1.3 version, this didn't work either), and now have the
    jdk1.3.1 as a folder on my C drive ( C:\jdk1.3.1) . Then I downloaded
    Java3D from the website, onto C, as an executable file. When I clicked
    it, it went through the installation process (not giving me any
    options for where to install it, i was just clicking on 'next') and
    seemed to complete ok, but I'm trying to test it by running the
    helloUniverse demo, and the file isn't even there. There's a Java3D
    folder which has been created in Windows, but this just contains a
    folder called uninstall_info.
    On my Java plug-in control Panel, it is currently set to 'use java
    plug-in default'. The other options are to use JRE or JDK, in folders
    Program Files\JavaSoft or JDK1.3.1 respectively. I don't know which
    one I should be choosing! I think I tried it with the JDK option
    before and that didn't work either.
    If anyone can please help I'd be really grateful, this is getting
    quite urgent!

    Hi there!
    Well, try installing java3d in the same directory as ur java(which is c:\jdk1.3.1 for u).
    If i am not mistaken, java3d, by default, installs in c:\jdk1.2.2 directory.
    U also have 2 set the path and classpath in the autoexec.bat to addr to \bin and \lib sub-directories resp.

  • Tomcat problem urgent please

    Hi! All
    I just installed jdk1.1.8 and jakarta-tomcat 3.3.2 on windows 2000.
    I also set the path, java_home and tomcat_home as required. But when I try to run Tomcat, it says "Starting Tomcat in a new Window", then a new window opens up and closes immediately.
    Please advice.
    Thank in advance.

    Edit the ... I think it's tomcat.bat file, and where it says something like:
    call "%TOMCAT_HOME%\bin\tomcat-startup" start %1 %2 %3 %4 %5 %6 %7 %8 %9
    Change start to run. This will make it start tomcat in the same window and let you see what the error message is. Most likely it's either a classpath problem, or another application using the port tomcat is trying to use.

  • Iframe problem :Urgent Please

    Hello Guruz:
    I am stuck in an issue, i have two domain, e.g: domain 1
    & Domain 2. I am calling domain 2 from domain 1 by using IFrame
    in domain 1.
    I am using ASP Classic with SQL Server, and i have applied
    Dreamweaver Login User Server behaviour builtin, and restriction
    level is username,password & security.
    When ever i try to connect using my login page through IFRAME
    in domain 1, it want let me IN. i have designed a customizied error
    page, and its showing me that. When i just delete the dreamweaver
    user restriction extension from that page it get login successfully
    using IFRAME.???????????????//
    Can any body help me out
    please??????????????????????????????????????its kind of urgent
    matter, i am really bitting my nails out?

    Developer/Designer wrote:
    > Can any body help me out
    > please??????????????????????????????????????its kind of
    urgent
    > matter, i am really bitting my nails out?
    Show us the URL, please.
    Pete.
    Peter Connolly
    http://www.kpdirection.com
    Utah

  • Ipod touch restore problem *URGENT PLEASE HELP*

    Ok well I just inherited an Ipod touch from my friend who upgraded to a iPhone and it has a lock code, which I don't know. I called up my friend and asked him the code, he didn't know it of course... so i just guessed passwords and it said it was locked, I only have one more try until it locks permanently. So, I tried resetting it and it didn,t work. so i put it in recovery mode and it was gonna be ok, but my problem is I have slow dial-up internet and cannot re-download the software because my internet turns off randomly and it takes about 35 hours straight to download the 280MB, my other problem is that every time the download is disrupted, what itunes has already downloaded deletes itself and I have to start over from zero. I cannot fully download the software and have no access to hi-speed internet, I need a solution please otherwise im sitting here with a $300 piece of junk.

    Just bring it over to your friends house and have him reset it for you. Then bring it to your house to put your music on it.
    It is as simple as that. Too bad you have dial-up still. I use broadband and it is very fast.
    Timothy Z.

  • Drawing 2d line chart problem, urgent please!!!

    Hello,
    can anyone help me with the function GRAPH_MATRIX_2D please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.

    Hi,
    have you checked the two reports Matthias mentioned?
    After downloading the SAP Chart Designer the general procedure should look like: create your chart settings interactively using the designer. Save these settings as a local XML file. Use this XML in your ABAP application and additionally create a data XML at runtime (the format is described in the pdf of the SAP Chart Designer zip).
    Regards, Kai
    PS: Please don't use these very outdated function modules graph_matrix* / grstat* in new projects!

  • Sending mail Problem (Urgent Please)

    The following program mail coding program. I am in local System. Host is my server. But our Server (norton) firewall is enabled. I am not able to send any mail. Will you please tell me How to recover this problem or alter my coding. If anybody knows Please tell me.
    <html>
    <head>
    <title>JSP JavaMail Example </title>
    </head>
    <body>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.mail.*" %>
    <%@ page import="javax.mail.internet.*" %>
    <%@ page import="javax.activation.*" %>
    <%
    try
    String host = "xxx.xxx.x.x";
    String to = request.getParameter("to");
    String from = request.getParameter("from");
    String subject = request.getParameter("subject");
    String messageText = request.getParameter("body");
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.host", host);
    props.put("mail.transport.protocol", "smtp");
    Session mailSession = Session.getDefaultInstance(props, null);
    mailSession.setDebug(sessionDebug);
    Message msg = new MimeMessage(mailSession);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    msg.setText(messageText);
    Transport.send(msg);
    out.println("Mail was sent to " + to);
    out.println(" from " + from);
    out.println(" using host " + host + ".");
    catch(Exception e)
    System.out.println("Error");
    %>
    </table>
    </body>
    </html>
    Please tell me how to recover this problem
    Thanks in advance
    regards
    pooja

    Please tell me my mail coding is correct. If correct but i am not able receive any mail. what is the problem do u know. If you know please tell me
    regards
    pooja

  • Smartform : Printing Problem , Urgent Please

    Dear All,
    When I tried to print a smartform, I am Getting message 'Spool Request (number xxxxxx ) is created' .
    but It is not printing.
    I am facing this problem only with this form. I could print other forms / Scripts.
    What might be the error ? Please Let me Know ..
    Thanks & Regards
    Venkat
    Message was edited by: venkat Kumbham
    Message was edited by: venkat Kumbham

    Venkat,
    You can do that in two ways. Once is to set it in the USER DEFAULTS. Go to SU01 and you can see a tab for DEFAULTS.. There will be a check box for PRINT IMMEDIATELY.
    Or you can do that in the SMART Form parameters also. In the OUTPUT_OPTIONS parameters ther is a field TDIMMED. Set that to 'X'. That should print the form immediately.
    Regards,
    Ravi
    Note : Please close the thread, and mark the helpful answers if this solves your problem.

  • Session and Refresh problem, Urgent, please help

              Hi, Dear Everyone:
              I have two questions to ask. (Environment: OS: Nt4.0, Server: Weblogic5.1)
              (1). When I use session to store an object in servlet (processed results
              from database) then dispatch to a jsp page to display the results, I got the following
              error message.
              Wed May 16 15:54:31 CDT 2001:<I> <ServletContext-General> Generated java file:
              C:\weblogic\myserver\classfiles\jsp_servlet\_ccproject\_subdisplay.java
              java.lang.NullPointerException
              at jsp_servlet._ccproject._subdisplay._jspService(_subdisplay.java, Comp
              iled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:106)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:124)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
              cherImpl.java:154)
              at com.voy.CCPro.DataDumper.doPost(DataDumper.java:69)
              at com.voy.CCPro.DataDumper.doGet(DataDumper.java:85)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:106)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:907)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:851)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:252)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:364)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              Here is my servlet code:
              HttpSession session = req.getSession(true);
              Vector temp = buildData.BuildForDisplay(rst);
              session.setAttribute("PostTitlePool", temp);
              String url = "/ccproject/subdisplay.jsp";
              RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
              dis.forward(req, res);
              Here is my jsp
              <%@ page import="com.voy.CCPro.*" %>
              <%@ page import="java.util.*" %>
              <%
              Vector v = new Vector();
              v = (Vector)session.getAttribute("PostTitlePool");
              Enumeration enum = v.elements();
              SequenceData sq = new SequenceData();
              while(enum.hasMoreElements())
                   sq = (SequenceData)enum.nextElement();
                   if(sq.getIndicator()==0)
                        out.println(sq.getTitle());
                   else
                   out.print(sq.getTitle());
              %>
              Please tell me what I did wrong or What more do I need to do?
              (2). If I changed to use request.setAttribute in servlet, it works. But I got another
              strange
              result from browser. That is, if I keep on clicking refresh (IE5.5), the same result
              appending
              the previous one on the same page.
              Here is my code in servlet:
              req.setAttribute("PostTitlePool",temp);
              String url = "/ccproject/subdisplay.jsp";
              RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
              dis.forward(req, res);
              Here is my jsp:
              <%@ page import="com.onvoy.CCPro.*" %>
              <%@ page import="java.util.*" %>
              <%
              Vector v = new Vector();
              v = (Vector)request.getAttribute("PostTitlePool");
              Enumeration enum = v.elements();
              SequenceData sq = new SequenceData();
              while(enum.hasMoreElements())
                   sq = (SequenceData)enum.nextElement();
                   if(sq.getIndicator()==0)
                        out.println(sq.getTitle());
                   else
                   out.print(sq.getTitle());
              %>
              Please explain it to me why that and how to fix it. I appreciate it very much.
              

    I control this as follows
    --> all JSP's don't create session (<@page session="false">)
    --> my FrontServlet checks
    session=request.getSession(false);
    if(session==null)
    //invoke method from LoginHandler (Helper Class)
    //for check logindata and create session
    else
    //invoke method from ProtectedResource (Helper Class)
    //for check, if user logged on
    --> LoginHandler
    //method UserAllowed returns true or false
    if(!UserAllowed())
    //invoke ServiceDispatcher method who displays
    //the 'AccessDenied'Page
    else
    //set loggedIn into the session
    session.setAttribute("loggedIn","OK");
    //invoke ServiceDispatcher method to display the requested Page
    --> ProtectedResource
    //check if user logged in
    Object o=session.getAttribute("loggedIn");
    if(o==null)
    //User not logged in
    //invoke ServiceDispatcher method to display 'Login' Page
    else
    //User logged in
    //invoke ServiceDispatcher method to display the requested Page
    --> URL of the Application
    Welcome: http://localhost:8000/APP/login.jsp
    submitted FORM sent to FrontServlet
    (FORM ACTION="servlet/FrontServlet")
    When everything is alright (username/password)
    new URL http://localhost:8000/APP/servlet/FrontServlet
    and the 'Main' Page is shown
    when session is timed out and i refresh page
    data is sent again (without asking for username and password)and new
    session is created and the 'Main' Page is shown again.
    How can i fix this problem
    thank you in advance :-)

  • Calling problems.. please help!

    Dear Users with a Iphone 4, is there anybody who knows why i can't call or recieve calls from my phone? When i call somebody is just hang up the secound i presh the button "call" and if another person call me, i didn't receive the call at all. Is there anybody who has the solution please answer! Thanks!

    Yes your phone carrier, it is their feature, give them a call.

  • WHT Challan problem urgent please........

    Hi all,
    in my customization of WHT, in t.code J1INCHLN, system is taking all but at the time of posting (i.e. after simulation of document) or saving the following error message has coming.
    Message no. 8I 704
    Diagnosis
    Number group is not maintained for the combination of company code
    &.1. section & 2 and business place &.3.
    System Response
    Challan update program could not proceed without this data.
    Procedure
    Check entries in table Z_1iewtnumgr and then start challan update program.
    but i checked the mentioned table in message, system is saying there is no table existing.
    instead of the Z table we are having J_1iewtnumgr. for this we maintain correctly.
    kindly suggest, please urgent.... my process are stucked

    Hello
    Check number range assignment
    Check challan update status
    In the Challan Update Status report, you can create a remittance challan for various documents: Select the documents that you want to remit the tax on and choose Challan Update. The system takes you to the Create Remittance Challans program, which you then execute. However, you can only process documents for one withholding tax section at a time.
    In the Bank Challan Status report, you can enter a bank challan: Select the documents (in this case identified by the internal challan numbers) that you have been sent a bank challan for and choose Bank Challan Update. The system takes you to the Enter Bank Challans program, which you then execute. However, you can only a single internal challan at a time.
    In the Certificate Status report, you can print withholding tax certificates: Select the documents that you want to print a certificate for and choose Certificate Printing. The system takes you to the Print Withholding Tax Certificates program. However, you can only process documents for one withholding tax section at a time
    Reg
    *assign points if useful

  • Using Call Procedure - Urgent - Please Help

    I have a login page asking users to enter id and password. From there I'm calling a jsp page which in turn calls a javabean class. The javabean class will take inputs (id and password) from the login page and pass them into an Oracle store procedure which in turn validates the id and password and returns 4 outputs: name, phone, address and log_status_code.
    If log_status_code = success, the procedure will return in a
    jsp page with these outputs : name, phone, address
    If log_status_code = failure, the procedure will NOT return anything and users will be redirect to an error jsp page.
    Could someone help me with an example? Thanks in advance.

    Hi,
    I have recently done this for a similar problem and it works. Hope its helps you.
    -A
    //Assume you have this somewhere:
    <B>User ID   </B><INPUT TYPE="text" NAME="userId">
    <P><B>Password &nbsp</B><INPUT TYPE="password" NAME="passwd">
    //then on same page or nextpage, do this
    <%
         String userId = request.getParameter("userId");
         String passwd = request.getParameter("passwd");
    try{
         //Load Driver
         try{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         }catch(ClassNotFoundException e){
              out.println("Unable to load driver");
              Connection con =DriverManager.getConnection("jdbc:odbc:TryMedicalDB","","");
              con.setAutoCommit(false);
              //First check if user exists
              Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("SELECT userid FROM LOGIN where userId='"+userId+"' AND passwd='"+passwd+"'");
              if(!rs.next())
    //go to error page
              else
    %>          <jsp:useBean id="user" class="UserInfoBean" />
    <%          Statement stmt2 = con.createStatement();
              rs = stmt.executeQuery("SELECT name FROM USER where userId ='"+userId+"'" );
              while(rs.next())
                   user.setName(rs.getString(1)); //setName is a bean method
              }//end while
              out.println("Welcome "+user.getName());
              }//end else
    }catch(Exception e){
    //whatever message you want to give
    %>

Maybe you are looking for

  • I see only a small cross when i want to use my pinsel o rubber.

    I see only a small cross when i want to use my pinsel o rubber in Photoshop CC. I would like to see a circle that change the size, when i need it big or small. Can somebody tell me how to change this, please?

  • File Sharing in Apps not Working

    I have iTunes 9.1.1 and under the Apps tab for my iPad it shows that File Sharing is available for Air Sharing HD and Pages. It doesn't work, though. Nothing shows up as being shared (although I have shared files from Pages on the iPad) and when I tr

  • Valuation Grouping Code same- Valuation Class different for each plant

    Hi All, We have 5 plants assigned to the company code. We have same Chart of Accounts (1000) and all the plants are grouped together to one valuation grouping code(001). Now if i extend the material codes to different plants, i am able to give each v

  • Making a Ringtone

    Good Morning. I'm trying to make a ringtone for my wife's new iPhone. I've downloaded the iTunes help explanation and tried to follow the instructions. Ringtones is checked under General preferences. But when I click on the little bell icon, I just g

  • I removed association of iWeb to a personal site, now the personal site requires a log in.

    Hi, I am trying to set up my personal domain to forward with masking to my iWeb site.  Originally I had iWeb associated with my personal domain but I just disabled it because I didn't want subfolders showing in the URL window.  Now when I go to my pe