Problem in forms 6i

here is the code i am using to call a report from forms.
the reports works fine in cleint server mode but fails in web enviornment.
the errorr i am getting in web enviornment i have given below.
can somebody help me to find out where the problem is laying?
the date format of application server is 'dd-mm-yyyy'.
and of client server date format is 'dd-mon-yy'
==========================================================================
Declare
     Report_Id Report_Object;
     V_Rep Varchar2(100);
     vjob_id varchar2(100);
     vc_rep_status varchar2(100);
     mId ParamList;
Begin
If get_application_property(user_interface) = 'WEB' Then
     message('firing if');
     Report_Id := Find_Report_object('REPORT269');
     Set_Report_Object_Property(Report_Id,Report_Comm_Mode,SYNCHRONOUS);
     Set_Report_Object_Property(Report_Id,Report_Destype,CACHE);
     Set_Report_Object_Property(Report_Id,Report_Desformat,'HTML');
                    mId := Get_parameter_List('Tmp');
     If Not Id_Null(mId) then
          Destroy_Parameter_List(mId);
          mId := Create_parameter_list('Tmp');
     Else
          mId := Create_parameter_list('Tmp');
     End if;
     Add_parameter(mId,'P_CO_DPCD',Text_Parameter,:GLOBAL.CO_DPCD);
     Add_parameter(mId,'P_FROM_DT',Text_Parameter,TO_DATE(:CONTROL.FROM_DT,'DD-MM-YYYY'));
     Add_parameter(mId,'P_TO_DT',Text_Parameter,TO_DATE(:CONTROL.TO_DT,'DD-MM-YYYY'));
     V_Rep := run_report_object(Report_Id,mId);
     --V_Rep := run_report_object(Report_Id
vjob_id := substr(v_rep, length('REP60EDP')+2 , length(v_rep));
vc_rep_status := REPORT_OBJECT_STATUS(v_rep);
if vc_rep_status = 'FINISHED' then
     web.show_document('/dev60cgi/rwcgi60.exe/getjobid'||vjob_id||'?server=REP60EDP','_blank');
else
     message('Report failed');
     message('Report failed');
end if;      
Else
     --message('firing else');pause;
          Report_Id := Find_Report_object('REPORT269');
          Set_Report_Object_Property(report_id,REPORT_SERVER,'');
          SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,SCREEN);
          mId := Get_parameter_List('Tmp');
     If Not Id_Null(mId) then
          Destroy_Parameter_List(mId);
          mId := Create_parameter_list('Tmp');
     Else
          mId := Create_parameter_list('Tmp');
     End if;
     Add_parameter(mId,'P_CO_DPCD',Text_Parameter,:GLOBAL.CO_DPCD);
     Add_parameter(mId,'P_FROM_DT',Text_Parameter,TO_DATE(:CONTROL.FROM_DT,'DD-MM-YYYY'));
     Add_parameter(mId,'P_TO_DT',Text_Parameter,TO_DATE(:CONTROL.TO_DT,'DD-MM-YYYY'));
          V_rep := RUN_REPORT_OBJECT(Report_id,mId);
End If;     
End;
===============================================================================     
Terminated with Error :
ORA-01861: literal does not match format string WHERE DPCD IN ( SELECT DPCD FROM BRMST WHERE COCD = ( SELECT CO_CODE FROM CIRCLE_DECD WHERE CO_DPCD = : P_CO_DPCD ) ) AND TO_DATE ( COVER_START_DT , 'DD-MM-YYYY' ) >= TO_DATE ( : P_FROM_DT , ' DD-MM-YYYY ' ) AND TO_DATE ( COVER_START_DT , 'DD-MM-YY
=================================================================================

Hi,
to trace the problem, I'd try to provide a static value for the date taht you want to be passed
Add_parameter(mId,'P_FROM_DT',Text_Parameter,'01-10-2003');
Add_parameter(mId,'P_TO_DT',Text_Parameter,'01-10-2003');
Replace '01-10-2003' with valid dates in your.
Frank

Similar Messages

  • Problem viewing forms.This form is not supported with the current version of Adobe Reader.Upgrade to the latest version for full support. That does that mean exactly?

    Problem viewing forms.This form is not supported with the current version of Adobe Reader.
    Upgrade to the latest version for full support.
    What exactly do I need to do?

    That means you were probably using Adobe Acrobat to view PDF's. Acrobat is totally unnessary, you can view PDF's in Preview (Applications - Preview).
    BTW PLEASE complete your profile. It's very difficult to help  someone when they don't provide any information about their system. You can easily do this by clicking Your Stuff in the upper right of this page, then click Profile and fill in the pertinent information.

  • Role Based Access problem in forms

    This would be a long reading.
    I'm having a problem with forms Role Based Access.
    We have two databases, one in London and one in Zurich. We have installed
    application server and oracle forms on London database. We have implemented
    Role Based Access to forms. For this we have created a database role (say ZUR_USER)
    in both databases. The view FRM50_ENABLED_ROLES which is used by forms role based access control
    is also created in both databases with a 'grant select to public'.
    Our form system has a menu and forms under that menu. Both menu and the underlying forms have been
    assigned Menu Security/Item Roles to the above mentioned ZUR_USER role and the role is assigned
    to various users.
    Now a Zurich user is trying to login to Zurich database using the URL for forms installation
    in London server. He can login successfully and can see the menu heading in the main screen but
    when he clicks the menu he doesn't see the underlying forms list.
    When we try the same user id and database from London (using the same URL) we see all the forms.
    Any idea what are we missing. The Menu Security is setup at menu level as well as the form level under
    that menu. User can see the menu but not the form under that menu from Zurich. No such problem while
    login from London.

    I'm using the Forms 10g
    and yes the only difference is between login from Zurich and London.
    Problem definitely is due to Role Based Access setup.
    The user in Zurich can see the Menu but not the items under that menu.
    I have set the security set up at both menu and menu item(i.e. form name) level.

  • Problem in Forms...in 11i

    Hi All,
    i have created a form, and uploaded to respective directory. From apps menu it is calling the form and working fine, but the foreground colour is black...
    So if i highlighted the field then i can see the field value; otherwise full text field is black.
    Do i need to set any thing?
    If I run from directly from form6i, it is showing perfectly fine.
    Rg,
    Subir

    Duplicate thread ..
    Problem in Forms...
    Re: Problem in Forms...!!!

  • Problem in form based authentication

    Hi,
    I am encountering some problem in form based authentication.
    When I try to login for the first time. It reoute me to the image
    directory and not to the request page.
    When I try it for the second time, it shows
    "Form based authentication failed. Could not find session."
    And it always show this message no matter how many time I try.
    I am not sure is it something that I did not set ...
    Thanks for any advice.
    Eric

    Hi Eric,
    It may be a problem in your web.xml, I missed the "/" slash character
    in the web.xml's in <form-login-page> element. So your web.xml
    must look like

  • DB Link problem on form/report 6i

    Greeting
    I have an problem on form 6i with DB Link , that When I have view Using the DB Link and want to use the view on form6i or report 6i, the report not work when call the run file but work through the builder and also on the form not work (Form/ Report 6i With Oracle 11g Release 11.2.0.2.0 - 64bit Production)
    Thanks and appreciated,

    Tony,
    we have both 6i forms for client server for Linux and Sparc and the same forms ported (a year ago) to iAS/iDS 10g R2 just to be able to support the same application when 6i becomes obsolete. The issue of trying/asking/investigating if 6i works or will be certified against 11g or not, is simply to find out if we can support our application on the client/server side when the end users want to move to the new database server version/s. As you know the runtime for the client/server version of 6i is free. But we can not simply recommend our end users to start using 11g db server yet, given that 10gR2 forms are not yet certified against 11g yet. Thank you for your comments not only for this posting but on Forms forum though, I always find them very helpful when making educated decisions. Also knowing that you are a unix person makes your comments more valueable for me, personally.
    R/ Zafer

  • I am facing problem in form no 16

    Hello Gurus,
    i am facing problem in form no 16
    in ECC6.0 ,
    1 where i  get the form no 16
    2 support package & other things so that i can check.
    Please Advised
    Regards
    MHPO

    Std layout was given by SAP. If you do not want to print the form in the layout given by SAP, select Customer Layout and enter the name of the layout created by you. You can create your own layout through transaction SE71.
    Name of the Layout Set .......................... Script name
    Name of Annexure Form.........................Script name
    Name of 12BA Form...............................Script name
    Name of 16AA Form..............................Script name
    These scripts are created by Tech people based on our req....

  • Hindi font problem in forms

    My aplication requires text input in hindi font by implemneting PJC.The pjc is working fine but the text box is not picking correct font from aplication server.I have deployed form on 9i AS.
    Please help.

    Hello All,
    Pls some one respond.
    Am i missing any steps to use unicode fonts in my app....or this is very common problem of forms and unicode fonts....or do i have to register the fonts in any other config files?
    One more info regarding fonts is required.....from where forms load the list of fonts in item property pallete and in layout font selection dropdown...? Since i m not getting same fonts in both the lists.
    Regards,
    Jinesh

  • Problem with form or servlet???

    hello..
    i am trying to send some form data to a servlet for processing..
    here is the code for the form
    <table border="0">
    <form action="details.upd" method="post" name="upd">
    <tr><td>Username</td><td><input name="uname" type="text" size="25" maxlength="30"
    value=<%=session.getAttribute("user") %> /></td>
    </tr>
         <tr>
    <td>password</td><td><input name="pass" type="password" size="25" maxlength="30" />
    </td></tr>
    <tr><td>confirm password</td><td><input name="pass2" size="25" maxlength="30" type="password"/></td></tr>
    <tr><td>Email</td><td><input name="mail" type="text" size="25" maxlength="30"
    value=<%=session.getAttribute("EMAIL") %> /></td></tr>
    <tr><td align="center"><input name="submit" type="button" value="Update" /></td></tr>
    <tr><td align="center"><input name="ch" type="hidden" value="det"/></td></tr>
    </form>
    </table>
    here is the web.xml entry for my compiled servlet
    <servlet>
    <servlet-name>update</servlet-name>
    <description>
    Servlet used for updates sent from landlord sessions
    </description>
    <servlet-class>UpdateServlet</servlet-class>
    <load-on-startup>5</load-on-startup>
    </servlet>
         <servlet-mapping>
    <servlet-name>update</servlet-name>
    <url-pattern>*.upd</url-pattern>
    </servlet-mapping>
    the problem is that when i click the submit button to send the data, nothing happens....absolutely nothing. the page just stays as it is...please can u spot any fatal error in the code?
    I have looked and looked without success..please help

    yeah..i solved that.. but now i am getting another
    problem...
    why does this code...
    Stringuser=(String)session.getAttribute("user");
    gives me a class cast exception????
    please helpBecause the object named "user" in your session isn't
    a String.ok...thks

  • Problem with Form and webutil loading jar and connection

    Can anyone shed light on this. Here is my java console output. I then get FRM-90250 and FRM-92101....
    Orion-web.xml
    <virtual-directory virtual-path="/webutil"
    real-path="C:\webutil/lib" />
    Forms90.conf
    #Virtual path for WebUtil
    AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
    formsweb.cfg
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    [WEBFTU]
    pageTitle=Creative Automation Services
    form=c:\export\data\ca\prod\webftu.fmx
    archive_jini=f90all_jinit.jar,rolloverbutton.jar,hyperlink.jar
    archive_ie=f90all.cab
    archive=f90all.jar
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    #WebUtilLogging=Console
    # WebUtilLoggingDetail=normal
    WebUtilLoggingDetail=Detailed
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=C:\webutil\server\webutiljini.htm
    width=900
    height=600
    splashScreen=/forms90/images/splash.gif
    background=/forms90/images/black.gif
    logo=/forms90/images/blackborder.gif
    lookAndFeel=Oracle
    colorScheme=Titanium
    otherparams=useSDI=yes
    workingDirectory=c:\export\data\ca\prod
    envFile=C:\webutil\server\webutil.env
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\msantry
    User has overriden browser's proxy settings.
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\javaburps\CACHE
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    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://clientapps.cauto.com/forms90/webutil/webutil.jar from JAR cache
    Downloading http://clientapps.cauto.com/forms90/webutil/jacob.jar to JAR cache
    Loading http://clientapps.cauto.com/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://clientapps.cauto.com/forms90/java/rolloverbutton.jar from JAR cache
    Loading http://clientapps.cauto.com/forms90/java/hyperlink.jar from JAR cache
    connectMode=HTTP, native.
    oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from runtime process
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.HTTPConnection.connect(Unknown Source)
         at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
         at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
         at oracle.forms.engine.Runform.initConnection(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks,
    Mary Santry

    The error does not look like a webutil client side problem - it looks more like a server side issue - perhaps the runtime not being able to find the webutil.pll.
    Check your FORMS90_PATH in the webutil.env file and make sure it's not too long (>255 chars) if it is split it and use ORACLE_PATH as well.

  • Printing problem with forms 4.5 on windows xp

    Hi,
    We have an application using forms 4.5 on DB version Oracle 9207 running on winxp.
    Recently the clients were formatted for virus infection problems.
    Now when a print job is fired from a client to a shared printer, system flashes error
    *" NO PRINTER PORT FOUND IN REGISTRY "*
    The same job print to a local printer , also all windows test page printing print ok to the same shared printer .
    This error is flashed only when the print job is fired from Forms 4.5 to a shared printer on the network
    Please Advise urgently
    Altaf

    Urgently restore a backup of the registry.
    Urgently do not use the word 'urgently' in a forum of volunteers.
    Also it can not be urgent, as Forms 4.5 dates from the Flintstone age, and probably isn't even certified on XP.
    However, the error message is very clear: Apparently Forms 4.5 uses the registry to store printer info: you need to get that entry back. That kind of info is usually documented. Documentation is likely still online.
    Sybrand Bakker
    Senior Oracle DBA

  • Problem submitting form in iframe in IE

    I'm using BC for content for a Facebook Tab App (which for the most part is a great fit) - when trying to submit a form through Internet Explorer, BC gives me a "Unathorized User" error?? Working perfect in ALL other browsers (of course).
    I've narrowed the problem to this:
    Communication between Explorer and Business Catalyst when submitting a form through an Iframe.
    Anyone, and I mean ANYONE have any idea about this?
    Currently I have the secure zone login form (form elements not visible via css) on the page and the "Submit your photo" is actually logging them in. When clicked in IE (again, in the Iframe) it kills it.
    2 links to view trouble:
    bankplusfb.businesscatalyst.com
    facebook.com/solvetestcompany (then click on the 3rd custom tab link "Pen Contest")
    Can anyone lend a hand?

    Tested in IE9 and it worked just fine...what version are you referring to? 6?

  • Problem with form created in Accrobat 9 opening in Reader 9 (Works in Reader 8.1.2)

    I created a form using Acrobat 9 and Adobe LifeCycle Designer ES 8.2. It works great on my PC running Adobe 8.1.2. It also works correctly when accessed on a flash drive. Additionally, it opens correctly on my wife's PC running Reader 8.1.2 regardless of how it was transferred. (Worked via flash, network copy/paste to desktop, and as an email attachment).
    The problem is, on my laptop, and work computers running Adobe Reader 9.0, attempting to open the file generated the following error window to appear, once you click "OK" on the error, the form fields are no longer accessible. The error is as follows:
    "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document."
    I re-opened the form in LifeCycle and optimized it for Adobe Reader 9.0 and higher; but the error persists. The only difference it makes is now when the form is opened on the Reader 8.1.2 machines, it generates first a window for downloading Reader 9.0, and then a compatability warning. Clicking cancel on the download and ignoring the warning results in a form that is still usable and that can be saved. On the Reader 9.0 machines, even after optimized for 9.0 and higher, the above error still persists.
    Any help would be greatly appreciated!
    Thanks in advance :)

    No, you are wrong (Gene & Mike). First, the forms, at least my forms, have NOT been edited since being created in designer. They were created and saved directly to flash. Second, this issue has been posted on the acrobat forum as well as the life cycle designer forum and both thread were ended with adobe expert posts saying it was an adobe reader issue and to post here.
    I have experimented more with this issue and it seems to be a 'trusted identity' issue within reader, but I have not wholely figured it out yet. My forms work on Reader, 7, 8, and 9. They work on all versions of 7 and 8 regardless of what the form was optimized for (my forms were optimized for 9 and higher). The only trouble is on 9.0. I have found that when updating on client machines, reader gives a prompt (sometimes) that says reader has found a set of trusted identities from a previous version, would you like to use these identies or create a new set of identities. If you choose to keep the existing trusted identies set, the form works, even when upgraded to reader 9.0
    Not trying to be argumentative (Mike and Gene) but the 'experts' bail on this issue by telling people it's a reader problem and to post here.

  • Problem more forms in one file

    Hi,
    I have a problem:
    I have made a form (http://www.taxikemperman.nl/Urenbriefje.pdf)
    This is working fine for me, but when I will made more forms and want to combine this into one file than I have a big problem:
    All the forms get the same input!
    How can I combine this files to one and still have the different forms?
    Thanks for your reaction

    You'll probably find that the fields in both forms have the same Name, so will take the same value when combined. In your 2nd or subsequent forms, use the Select Object Tool to show your fields, Right-click to open the Text Field Properties and on the General tab edit the Names so that they are different to the first form.

  • Problem opening Form based PDF via Safari browser with Adobe Reader 9.3 on MAC

    Hi,
    I'm mentioning below the problem that we are facing when we open a form based PDF created using a licensed version of Adobe Livecycle Designer ES (Version 8.2.1.4029.1.523496) on a MAC machine through a Safari Browser.
    We tested this PDF form on a windows machine and the PDF opens in an IE browser via the latest Adobe reader 9.3 without any problem. I then received complaints by our clients that they were unable to open the same PDF on their Safari browser on a MAC machine, I tried to resolve the problem by downloading the latest version of Adobe Reader 9.3 for MAC but noticed that the Safari browser window would just keep refreshing the page without displaying the PDF at all. I then uninstalled the Adobe Reader 9.3 version and downloaded and installed an older version i.e., Abobe Reader 8.2 version for MAC and noticed that the PDF document successfully opened in the Safari browser. My question is why does a form based PDF work with an older version of Adobe Reader for MAC and not with the latest version? Our clients are not comfortable with the fact that we are refraining them from upgrading to the latest version of Adobe Reader for MAC and that they would have to downgrade their existing Adobe Reader 9.3 to a lower version Adobe Reader 8.2 in order for the PDF forms to work when it should be the other way around.
    Is there any fix or a patch that is currently being worked on that would resolve this issue in the latest Adobe Reader for MAC? If yes then when would it be ready? This issue is quite critical for our business and would appreciate it if this would be looked into with high priority.
    Thanks and Regards,
    Sheikh Huraiz Ahmed.

    That suggestion makes sense and likely works, but only if the user is on a machine that will allow them to use Reader. I'm sending this out to a lot of teachers, who are using machines either at school, or are school-issued machines, and they don't have the admin privileges to install software-- even Reader.
    so my problem is, if they are stuck on a machine without Reader, and without the possibility of having Reader... it's just not going to work because Preview can't handle these functions.
    And, since that is not an acceptable answer with what I'm trying to do... I will find another way to create/submit forms. I think there are some online possibilities I will have to make work.
    very, very disappointing and frustrating.
    Kristi

  • Oracle reports calling problem from FORMS

    Hies
    Guys I've a problem in oracle report calling from Oracle FORMS. I am using reports and forms 6i. When the report name length is more than 30 characters the report engine runs first time correctly but on the second call of report the system gives an error :
    " RWRBE60.exe has generated errors and will be closed by windows.You will need to restart the program ".
    After this error the report engine closes and i have to call the report again.
    Is there a length fixed for reports name in Oracle 6i.
    Is any possible solution available.
    Remember i dont want to shorten my report names.
    Kindly help me with this.
    Thanx.

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

Maybe you are looking for

  • 5 error while checking job status

    Hi, We are getting the following error when we are trying to check the status of the process chain through FM 'RSPC_API_CHAIN_GET_STATUS': 5 error while checking job status. The real scenario is we are using an abap screen with a button on it. when t

  • Export Metadata for Deski Report failed with Metadata Integrator

    Hi everybody, We installed 2 weeks ago BusinessObject Data Integrator 3.0. As we also have BusinessObject XI 3.0, we have installed the component Metadata Integrator on our BOXI 3.0 server. We configured it successfully and the Metadata Integrator pr

  • T410 (2522) - No battery symbol within the task bar

    Hello together, around 4 weeks ago i have bought a new T410 laptop. Everything works fine, but i have so problems with the battery symbol (big one) within the task bar. Within the lenove power manager the option to display the symbol is selected. Som

  • Restart OC4J

    I have problem to restart my oc4j in following format: <<<<<<<<< C:\oracle\iASHome817\j2ee\home>java -jar admin.jar ormi://sf003dell admin quentinhu -restart Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co nnection re

  • Is Forms 10g certified with Oracle Database 11g

    Hi, Where can i find the Oracle's database 11g versions Forms 10g is certified with ?? Is there a certification matrix about this ?? :) Regards Carlos