Debug with Attached Library (Forms 6i)

Is it possible to run a form in debug mode that is calling code from an attached PL/SQL library?
When I try this, I get this error:
FRM-40735: ON-ERROR trigger raised unhandled exception ORA-06508, which means Could Not Find Program Unit Being Called.
However, when I run the form without debug mode, it runs fine.
Any suggestions would be appreciated.

Couple of possibilities...
Ensure your PLL and Forms are all compiled ok. You can get this if you have changed a spec in the PLL but not regenerated a Form which uses that.
Other thing could be <Bug:683862> which is fixed in 6.0.6.5 of Forms (you may want to confirm with Support before patching).
Regards
Grant Ronald
FOrms PRoduct Management

Similar Messages

  • INBOUND EMAILS with attached interactive form

    Hello,
    i have send an Email with attached Interactive form to a customer. The customer filled out the form and send it back to the mail-adress that i defined in SCOT! There is a class for rule defined, but i Don`t know if the class is correctly implemented.
    But then...where is the email?
    i don`t receive it?
    Is there anywhere a full code example where i can see how this works???
    Is ist better if the cusomer send me an xml or an PDF?
    Thanks

    Kevin,
    have you checked the eLearning for that topic: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5087262b-59ef-2910-abb1-957000b7c3d4
    kr, achim

  • PDF flyer with attached Data Form  how do i upload pdf and submit data simultaneously?

    Scenerio user downloads pdf flyer template with attached data form. user customizes flyer and fills out form. user clicks on custom "Submit" button to send form data to php form.
    On submit, how can i upload the pdf flyer to our server AND still send the form data to php form?
    maybe the local file(pdf) address is sent to the php form along with the form data, then i can use php to upload the file automatically.
    any sugguestion???

    Hi Mr AP,
    are you trying to do this in Reader or in Acrobat? If you're using Reader it won't work unless the form is reader-extended by either LC Reader Extensions on the server or by running it through Acrobat manually and extend the capabilities of the form for reader users (careful - the license of the latter is limited to 500 form recipients).
    If you did try it in Reader with a non-extended form the behaviour you'd see is that it just won't work, so that might be your issue.
    Cheers
    Kai

  • Configuration receiving mails with attached adobe forms from BPM

    System: CE7.20 SP2
    Hi,
    I am using Adobe Forms in SAP NW BPM. Therefore I have to configure the Mail, Notification Messages, and Forms Services described [here|http://help.sap.com/saphelp_nwce72/helpdata/en/e4/32ff7865fa483dba3686160f5c6dd0/content.htm].
    To get this running at "Java System Properties - Applications - tcbpembase~ear"
    I have to configure the mailbox which receives this adobe forms but actually I can not apply a mailbox from the exchange admin! That's always a very big bureaucratic effort, if you know what I mean
    Do anybody of you have some experience how this could be solved in a big concern scenario with running exchange?
    Regards

    Martin,
    I want to give points to your helpful answer, but I can´t do it here because you are the owner of the thread and just you can give points, so I have created a thread where you can answer me and there I can give points to anyone.

  • Attaching library problem

    HI
    I have trouble with attaching library to my forms.
    I work with develper 6i.
    in formbuilder when I attach a library to my fmb file then i have to remove the path
    because when i copy my fmx files to a new system it doesn't work.
    and if i reopen my fmb file i must re attach the .pll file.
    what 's wrong with me.
    thanks in advance.

    You need to ensure the files are on the FORMSXX_PATH - you must also make sure that if you are on a case sensitive OS (like UNIX) that the case is correct.
    ON unix - myFile.pll /= MYFILE.PLL.
    Regards
    Grant Ronald
    Forms Product Management

  • Sending Mail with attachment from WD

    Hi all,
    I wan't to send an email from webdynpro with an attached pdf-document. I had a look at Tutorial 31, but i will only use the first part, sending email with attached interactive form. So I decided to build a new project. I did everything as in the tutorial described, but when entering the following code into the wdDoInit method from the SendView an error occurs.
    //@@begin wdDoInit()
         //     @TODO Enter your email address for the setFrom and setTo methods by replacing the text in angle brackets.
         wdContext.currentEmailElement().setFrom("[email protected]");
         wdContext.currentEmailElement().setTo("[email protected]");
         wdContext.currentEmailElement().setCc("");
         wdContext.currentEmailElement().setBcc("");
         wdContext.currentEmailElement().setSubject("Travel Request Form");
         wdContext.currentEmailElement().setBody("BlaBlaBla");   
        //@@end
    In the coding is no error. In the Context node of the SendView I created a new value node with the value attributes. When writing the code and using strg+space i can complete automatically, so no writing errors.
    When deploying and running the application I get always a NullPointerException, if make no difference if i delete one entry or which line of code i insert, the same error.
    java.lang.NullPointerException
         at com.ao.test.emailtest.SendView.wdDoInit(SendView.java:99)
         at com.ao.test.emailtest.wdp.InternalSendView.wdDoInit(InternalSendView.java:127)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    I've compared my project with the one from tutorial but i found no differences.
    Have anybody have an idea what to do?
    Thanks
    Mathias

    Hi,
    NullpOinter excepttion could be bcose of "currentEmailElement()".
    Please create an element of EmailNode before these statements.
    IPrivate<ViewName>.IEmailElement ele=wdContext.createEmailElement();
    wdContext.NodeEmail().addElement(ele);
    You can use the following for sending attachments :
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText(Attachment);
    Multipart multipart = new MimeMultipart();
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(Attachment);
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(Attachment);
    multipart.addBodyPart(messageBodyPart);
    msg.setContent(multipart);
    Regards, Anilkumar
    Message was edited by: Anilkumar Vippagunta

  • Send Email with Attachment in BSP?

    Hello,
         I have trouble about sending Email in BSP .
         I don't know how to <b>Send Email with attachment in BSP</b> . Please give me some advice .
        Thank you very much!

    Here is a sample application..
    <b>Layout</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Send Mail with Attachment " >
        <htmlb:form id           = "form1"
                    encodingType = "multipart/form-data" >
          <htmlb:label for  = "MAILTO"
                       text = "Mail to" />
          <htmlb:inputField id    = "MAILTO"
                            size  = "20"
                            value = "<%= mail_to %>"
                            type  = "string" />
          <htmlb:fileUpload id          = "myUpload"
                            onUpload    = "HandleUpload"
                            upload_text = "Attach"
                            size        = "90" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>Page attributes:</b>
    mail_to     TYPE     ADR6-SMTP_ADDR     E-Mail Address
    <b> Event handler OnInputprocessing..</b>
    DATA: fileUpload TYPE REF TO CL_HTMLB_FILEUPLOAD,
          file_content TYPE XSTRING,
          file_length TYPE STRING,
          file_mime_type TYPE STRING,
          file_name TYPE STRING.
    fileUpload ?= CL_HTMLB_MANAGER=>GET_DATA(
                           request = request
                           id      = 'myUpload'
                           name    = 'fileUpload' ).
    if fileUpload is not INITIAL.
      file_name      = fileUpload->file_name.
      file_mime_type = fileUpload->file_content_type.
      file_length    = fileUpload->file_length.
      file_content   = fileUpload->file_content.
      mail_to = request->get_form_field( `MAILTO` ).
    * Send mail part..
      CLASS cl_bcs DEFINITION LOAD.
      DATA:
            lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
    * Message body and subject
      DATA:
            lt_message_body TYPE bcsy_text VALUE IS INITIAL,
            lt_att_content_hex type solix_tab,
            lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear Vendor,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Please find the attached report.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Visit report' ).
      data: data_tab type solix_tab,
      p_data type XSTRING.
    * Pass the data of the document we have uploaded..
      p_data = file_content.
      call function 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer     = p_data
        TABLES
          binary_tab = data_tab.
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'Visit Report'
          i_att_content_hex = data_tab ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    * Add attachment
    * Pass the document to send request
      lo_send_request->set_document( lo_document ).
    * Create sender
      DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value '[email protected]'.
    * Set sender
      l_send = mail_to.
      lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    * Create recipient
      DATA:
      lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
      lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    ** Set recipient
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    * Send email
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
    endif.
    Hope this will be helpful.
    Raja T

  • Problem with webutil library in Forms 11g debug (FRM-93652)

    Hi.
    I have a problem when debug a forms in OFM11g, that used.
    the problem is that the forms, in debug mode, raise the error FRM-93652. Only in debug mode.
    I add tha jacob.jar and jacob.dll in the folder ORACLE_HOME/forms/java and Oracle_home/forms/webutil.
    the classpath variable in default.env, has added the jacob.jar file, and in my FORMS_BUILDER_CLASSSPATH Registry variable.
    Can some one help me???.
    Thanks and sorry for my english

    I have the same issue with debug_messages in Forms 11g -- they will not appear. I can, however, run in debug mode and attach the session to Forms Builder 10.1.2.0.2. Thus, when I run in debug mode and check the the Command Line tab under Global/System Variables, DEBUG_MESSAGES is always set to NO regardless of how I set it on the command line. Still works fine in our 10gR2 instances.
    DB 11.1.0.7
    Forms 11.1.1.4
    WebLogic 10.3.4
    AIX 5.3 64-bit
    AIX Java 1.6.0 SR9 FP1
    Client: WinXP JRE 1.6.0_25
    My real issue has to do with a FRM-40734 on EXIT_FORM after ENTER_QUERY or EXECUTE_QUERY have caused the KEY-EXEQRY trigger to erroneously fire -- especially when DO_KEY is involved -- but that's a different and much more problematic story.

  • 10g Forms Builder with error "cannot attach library" opening R12 fmb file

    Hi all,
    I had set up my Forms Builder with all the necessary PLL and FMB files for developing R12 custom forms. I have used the builder to do few custom PLLs and one custom form, and I did not have any problem opening seeded Oracle Forms. Today when I need to enhance that custom form I did 2 weeks ago and I opened Forms Builder, I got the error "Cannot attach library.." for APPCORE, APPDAYPK, etc.. Same error for opening TEMPLATE.fmb.
    I have done these to troubleshoot:
    1) I verified my Windows XP registry "FORMS_PATH" to include the folder where I store all the PLLs and FMBs.
    2) I updated default.env to include that file path.
    3) I create shortcut to Forms Builder and put folder path with PLLs under the "Start in" field of the shortcut.
    4) I rebooted my machine after changing the registry
    5) I moved the folder with PLLs to under C:; I seperate PLL to "resource" sub-folder and FMB to forms/US/ sub-folder just like the server structure.
    6) I install one more copy of Developer 10G Suite and set up the registry.
    None of these work and the key is it used to work with no issue. Any suggestions what may be the problems?
    Thanks!
    Mike.

    Turned out I reloaded all the $AU_TOP forms and PLLs to my desktop and it worked fine. I think I did not FTP correctly the first time.

  • Form compiling with a library.....

    Hello folks, i have this issue.
    I develop an oracle form with an attached library on my windows developer suite, which worked perfectly.
    but when i tried to deployed on my application server i got errors on compilation time, the error was on a procedure that is defined in the attached library.
    my question is there a specific way to compile a form with it attached library on application server under HP-Ux ?????????????
    It is strange because i eliminate the non-portable path when compiling the form, and i compiled the library on the application server and got the .plx version of it.
    please help

    Just first compile your .pll and next the form. Please mind all paths (or put them in the same directory). This should work like a charm. The compiler will give you an error file after compilation. This error file can help you solving path issues that can cause errors like this.

  • HELP error FRM-40039: Cannot attach library common while opening form

    Hi
    I want to help me with the NEXT issue is urgent.
    I'm working with forms 10g and using a linux server. To compile objects, forms, reports and menus use the Putty.
    Well the issue is that when a form hanging linux server I get the error message sgte:
    FRM-40039: Can not attach library while opening form common ....
    I tried changing the path FORMS_PATH, also put the. PLL. Plx on those routes Server
    but I have no result, I still leave the same message.
    I go to pc urgently to solve this problem that has me worried for days.
    Thanks in advance for your advice
    regards

    Three possible causes:
    1. The pll is not existnant on the linux-server in the FORMS_PATH or the FORMS_PATH-environment-variable is not set.
    2. When attaching the pll to forms you have attached it without removing the path. Try to deattach and reattach the pll in the form.
    3. The attachment of a pll is case-sensitive in linux. So, when you types the pll-name is lowercase when attaching it, the pll must exist in lowercase in the linux-filesystem.

  • WEBUTIL-URGENT FRM:40039 Cannot attach library WEBUTIL while opening form x

    Hi,
    I 'm working with 9iAS R2 on Linux.
    I'm testing the webutil by using a my test form.
    Give that in OS Windows 2000 the test form works fine.
    On Linux, I compile the form without problem, but when I run the form on web I have this error :
    FRM-400039 : Cannot attach library webutil while opening form TEST_FORM
    The Java console displaied this :
    JInitiator: Versione 1.3.1.8
    Uso della versione JRE 1.3.1.8 Java HotSpot(TM) Client VM
    Directory principale utente = D:\Documents and Settings\contug
    Configurazione proxy: Configurazione automatica proxy
    JAR cache enabled
    Location: D:\Documents and Settings\contug\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console windo
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://f92ias.inarcassa.it:7777/forms90/webutil/webutil.jar from JAR cache
    Loading http://f92ias.inarcassa.it:7777/forms90/webutil/jacob.jar from JAR cache
    Loading http://f92ias.inarcassa.it:7777/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Versione Applet Forms: 90270
    I don't seem that nothing of unusual.
    Could You say me somethig ??
    Regards
    Giordano

    Hi Duncan,
    How Do I do recompile the pll on Linux?? The environment development doesn't exist on Linux !!
    I open my form in environment development on Win 2000, after I attach the pll without the path and save all.
    After I move all on linux and compile the form useing 'f90genm.sh'. Until this step I don't have problem, the form compiled fine, but
    when I running it, I show the error message FRM-40039 .......
    Do I mistake something ???
    I working on DB ver 7.0.2 and I can't produce the file PLX
    Regards
    Giordano

  • Cannot attach library - 9i web forms on unix

    Hi,
    I've compiled my forms on the unix server to be deployed using the servlet. However, when I try and run the forms over the web, I get FRM-40039 cannot attach library. Has anybody else encountered this error on 9iAS when trying to deploy web enabled forms?
    If so, how can this be resolved?
    Thanks in advance

    In moving from Windows to Unix, make sure that you are taking into account case-sensitivity. (i.e. in Unix bob.pll and Bob.pll are different files). Make sure you are referencing it correctly.
    Also, the forms90_path environment var should have the directory for all the files.
    The pll should have been ftp'd using binary.
    Lastly, make sure the pll is attached with the path removed.
    Good luck
    Bob

  • Attached library webutil added on opening form in forms dev 10.1.2.0.2

    Using forms developer 10.1.2.0.2. Converted forms from 6i. Everything is working as expected, however having an issue with Forms developer. I have added the webutil.olb to the forms developer object libraries. I have not attached the webutil object group to my specific form. I have not attached the webutil.pll to my specific form in the attached library. However, when I open the form, forms developer automatically attaches webutil.pll to my specific form's attached library. This happens on every form but just on one machine. I have tried deleting the library, recompiling, saving, closing, reopening and it is still there. If anyone can provide some insight, I would appreciate it.

    Solved - We had another attached library that referenced something that was using webutil. When we removed that attached library and webutil.pll, then we did not see webutil.pll reattach itself upon opening the form in forms builder. It is odd that it is smart enough (or mean enough) to try to help you out by including things you don't want. Just thought I would share on the small chance anyone else has run across this.

  • Forms debugger with attached libraries

    Hi
    Is it possible to use the forms debugger with attached libraries ? ( 9I 10g )
    And how to do that if it is possible ?
    thanks

    In fact there is no problem, I had a procedure with a "procedure spec" in my attached library and that caused a PL/SQL problem when I tried to call my procedure. The code in the procedure was never executed and I got no result with the debugger.
    I don't understand why Forms allows me to create a "procedure spec" for an alone procedure in the library ( not in a package ). I got no compilation error for it and the library was generated as well. But there is an error at runtime.
    sorry.

Maybe you are looking for

  • WD External drive won't mount

    Hello everyone! I haven't been here in a while because I just haven't had any Mac issues. Now I do. I have a 1 TB WD external HD that won't mount. I connect it via firewire to an Old G4 Sawtooth running OS 10.5.8. My mac sees the drive, it just won't

  • Declining a meeting invitation

    I have raised this with several of RIM's partners and see that it keeps appearing in each OS update. When a user declines an eVite on Blackberry mail, his name is permanently removed from the host's list of invitees, and the user no longer receives a

  • File Attachment assign in QM notification

    Dear all, Can we attach any document to QM notification type Q1? I want to attach photographs via D.M.S to the QM Notification. kindly advice. Regards, NKS

  • Dynamic User Name & Password Creation

    Hello, In My Project I want to create no. of dynamic username & password as per user enters no of user he/she want to create. For that i used database table's last auto-increment value and increment it to 1 & append it to 'st' for student(st+01) so i

  • Error when calling inbound proxy

    Hi all, I´m facing the following problem in the R/3 monitoring: <SAP:Code p1="Request Message" p2="CX_XSLT_RUNTIME_ERROR" p3="/1SAI/XS00000000000000000035: 0000000000" p4="Error Text: No valid source context supplied Kernel ErrorId: CX_XSLT_RUNTIME_E