WEB(OAS) Form 10g(9.0.4) NLS_LENGTH_SEMANTICS=CHAR

We have NO issue using Oracle Form(Developer 2000) with Oracle Application Server Configuration with UTF8 characterset. Everything is set correctly.
As UTF8 is multi BYTE character set, we have to find a way Oracle Form can work with NLS_LENGTH_SEMANTICS=CHAR while inserting, updating etc upon datatype value. e.g. table a has a column b with VARCHAR2(400). We need to allow users to enter 400 character. We have database set up correctly to NLS_LENGTH_SEMANTICS=CHAR
Oracle FORM DOES WORK if we go to individual field/column(for the table) on form field property and modify SEMANTICS value from DEFAULT to CHAR.
Is there a way we can just modify default the OAS form level configuration for SEMANTICS to save time going to each form and modifying each filed to make it work?
Thanks in advance!
Nirali
Edited by: user453485 on Sep 29, 2008 12:31 PM

Thanks a lot for quick reply!
We also have TAR open with Oracle. I think we just have to move on to manul affort. Thanks again!
Nirali

Similar Messages

  • How to run report on web in forms 10g

    dear all,
    i have a form which call a report in form 6i i used the run_object();
    how to run the report on web in forms 10g?
    is there any html settings?
    thanks
    Muhammad Nadeem

    Hello,
    <p>You can inspire from this article<br>It is a sample dialog that allows to launch any report with 0 up to 10 parameters.<br>Open the sample dialog, then you can see how the Run_Report_Object() built-in is used in the Start_Report program unit..<p>
    Francois

  • Forms 10g, OAS and Web Services.... help!

    Hello,
    We're in the middle of a project that was originally supposed to be a (simple :D) upgrade of an existing Forms 6i application to a Forms 10g application.
    During the course of the project we have encountered various problems with the older forms (shakes fist at Headstart code...) and as a side effect have had to upgrade our OAS to 10.1.2.0 (10gR2). That's fine, however we have recently been looking into replacing the C++ code that the old application uses to connect to SAP with a new Web Services system, using the SAP Adapter and WSDLs and BPEL and all the rest of it (steep learning curve).
    In setting that up it seems it would be advisable for us to upgrade to 10.1.3.x (or "get a headache" said Oracle Support...) However, I now read (in an article from July last year) that Forms and Reports are not supported in 10.1.3.x...
    So, do we ask our DBAs to go ahead and install the SOA suite 10.1.3.x? And if so, do I need to do something else to support our !0gR2 forms? Or will they just work? Can we do a "clean" install of 10.1.3.x or do we upgrade the existing 10.1.2.0 system....? Colour me confused.
    Help!
    Thanks in advance
    Dan

    You are correct, Forms 10gR2 is the latest and is not available on the 10.1.3 stack. I am also not sure if you are talking about writing web services or just consuming them. However you have 2 main options.
    you can install 10.1.2 and use 10.1.2 for Forms and use 10.1.2 for your web services - this should work ok but of course you are "handicapped" by only being able to use 10.1.2 features of BPEL and WS.
    Next option, you can install 10.1.2 for running Forms and run a separate 10.1.3 for running BPEL and SOA suite - nothing wrong with that. And if you write a web service and deploy to 10.1.3 you can call that from Forms.
    Example of calling an external web service from Forms
    http://groundside.com/blog/GrantRonald?title=live_demo_of_sending_an_sms_from_forms&more=1&c=1&tb=1&pb=1
    http://www.oracle.com/technology/products/forms/forms_modernization.html - calling a BPEL process is just like calling a web services
    http://groundside.com/blog/GrantRonald?title=oracle_forms_bpel_and_soa_hooking_forms_&more=1&c=1&tb=1&pb=1
    Hope this helps
    Grant

  • OAS WEB FORM 9.0.4 configuration for NLS_LENGTH_SEMANTICS=CHAR

    We have NO issue using Oracle Form(Developer 2000) with Oracle Application Server Configuration with UTF8 characterset. Everything is set correctly.
    As UTF8 is multi BYTE character set, we have to find a way Oracle Form can work with NLS_LENGTH_SEMANTICS=CHAR while inserting, updating etc upon datatype value. e.g. table a has a column b with VARCHAR2(400). We need to allow users to enter 400 character. We have database set up correctly to NLS_LENGTH_SEMANTICS=CHAR
    Oracle FORM DOES WORK if we go to individual field/column(for the table) on form field property and modify SEMANTICS value from DEFAULT to CHAR.
    Is there a way we can just modify default the OAS form level configuration for SEMANTICS to save time going to each form and modifying each filed to make it work?
    Thanks in advance!
    Nirali

    Thanks a lot for quick reply!
    We also have TAR open with Oracle. I think we just have to move on to manul affort. Thanks again!
    Nirali

  • Exception when calling web service from Oracle forms 10g

    Hi All,
    I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
    There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
    This class is included in the forms application by using "Import Java Class" feature.
    Forms built the following funtion based on that class:
    -- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION authenticate(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    message('here1');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
    'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    message('here2');
    END;
    However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
    Please suggest me what's wrong with the code. I appreciate your time and help.
    Thanks,
    Scott.

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • How to display an image in FORM 10g/11g data recovered through Web Services

    I need to show in a FORM 10g/11g an image that is recovered from a Web Service (XML format).
    (The Web Service retrieves several images from SQL Server database).
    versions previous 6i... one use field type ActiveX Control, and there showed the respective images, even with previous and next controls. Aspect that new versions of form 10g & 11g is obsolete.
    Any help thank you.
    Edited by: 859272 on 16/05/2011 03:06 PM
    Edited by: 859272 on 17/05/2011 07:15 AM

    I tried it doing it this way and it worked -
    1. copy the image into the directory aliased in 9iAS configuration file as '/images/'.
    2. In the PL/SQL code section after header, I write the following code -
    begin
    htp.p('<img src="/images/pobexp.gif"/>');
    end;

  • Abt web.show_document in forms 10g

    hi,
    i am trying to call the following code in forms 10g
    web.Show_document('javascript:alert("hello world")','_blank');
    but its not working ,plz help me !!!
    ThanX in Advace
    chandra

    This is a browser problem, not a Forms problem. First check your broswer to make sure it has JavaScript enabled. If it still doesn't work, and you are able access a html page using web.show_document(), then your browsers security setting is preventing the JavaScript operation from ocurring.
    It works for me and i'm using IE v6.0.2900 sp2.

  • Running Oracle form 10g in web

    Dear all,
    What components do i need to run a form 10g on web?
    I have developed a form already and it runs on a browser of the machine i used to develop it. I want to run it from another machine via web, what should i do?
    Thanks and regards,
    Steve

    Hi!
    On your develop machine open the formsweb.cfg in %developer_home%\forms\server
    with the text editor of your choice.
    Scroll to the end of the file and create a new config entry:
    This is for use with Jinitiator without webutil:
    [your_config_name]
    form=your_form_name.fmx
    WorkingDirectory=x:\your_fmx_path
    lookAndFeel=oracle
    # leave userid empty to force manual login
    userid=user/password@database
    baseHTMLjinitiator=basejini.htm
    archive_jini=frmall_jinit.jarTo call your application from the other client machine use
    *{noformat}http://developer_machine:port/forms/frmservlet?config=your_config_name{noformat}*
    Regards

  • Web services for forms 10g

    Hi, Can anybody explain how to use web services in forms 10g. I have a wsdl url with me which I need to call. I also heard that I can use utl_http and utl_url package. Anbody knows what it is. So basically there are two ways to call web services into the form, either use Jdeveloper to create a stub and import it into the forms or I can use the utl_http and utl_url package. Is that right?
    Please advise in details. All this is confusing.
    Thanks.

    http://groundside.com/blog/GrantRonald?title=calling_a_web_service_from_oracle_forms__2&more=1&c=1&tb=1&pb=1 tells you exactly what to do.

  • Hierarchical tree in web forms 10g - form freezing

    I have an application with an hierarchical tree on one of the forms - the application worked fine as client/server back in forms 6 but now that it is web enabled in 10g there are problems with the tree causing the form to freeze, then the entire application has to be closed. It doesn't seem to matter if you are selecting a node or creating a new node both have caused the form to freeze. It doesn't happen all of the time but it seems that the longer the application has been in use the more it starts to freeze. Any ideas? Is there a known problem with trees in web forms? Thanks
    Joanne

    At the root of my tree is a patient (I work in the health care industry) and then for that patient there are clinic visits, surgeries, etc (there are 16 nodes at this level). and under each of these are dates when the visits occured (there can be an unlimited number of nodes at this level). This is some of my code for populating the tree:
    if :GLOBAL.patient_seq is not null then
    -- turn the tree on
    set_item_property('tree_block.tree_item', ENABLED, PROPERTY_TRUE);     
    set_item_property('tree_block.tree_item', NAVIGABLE, PROPERTY_TRUE);          
    lv_tree_id := find_item('TREE_BLOCK.TREE_ITEM');     
    --refresh the tree back to it's original state from the database                          
    Ftree.Set_Tree_Property(lv_tree_id,
         Ftree.RECORD_GROUP,
         FIND_GROUP('TREE_GROUP'));
    -- create the clinic visits branch
    wcchn_tree_items_pkg.get_visits(lv_visit_table, :global.patient_seq);
    for lv_counter in 1.. lv_visit_table.count loop
    lv_site := wcchn_locations_pkg.get_location_code(lv_visit_table(lv_counter).site);
    create_visit_node( lv_visit_table(lv_counter).visit_date || ' - ' || lv_site,
         lv_tree_id,
    lv_visit_table(lv_counter).seq_nr);
    end loop;
    Below is the procedure referred to in the above segment of code:
    PROCEDURE CREATE_VISIT_NODE (pi_date IN VARCHAR2, pi_tree_id IN ITEM, pi_seq IN NUMBER) IS
    lv_return_value NUMBER;
    lv_node_value varchar2(100);
    lv_search_node FTREE.node;
    BEGIN
    lv_search_node:=FTREE.Find_Tree_Node(pi_tree_id,                              'CLINIC VISITS',                         FTREE.FIND_NEXT,                         FTREE.NODE_LABEL,                         FTREE.ROOT_NODE,                         FTREE.ROOT_NODE);
    lv_node_value:='G' || to_char(pi_seq);
    if :GLOBAL.ACTION_INDICATOR = 'INSERT' then
              lv_return_value:=FTREE.Add_Tree_Node(pi_tree_id,                    lv_search_node,                         FTREE.PARENT_OFFSET,                          1,                                    FTREE.LEAF_NODE,                          pi_date,                                   NULL,                                    lv_node_value);
    else
              lv_return_value:=FTREE.Add_Tree_Node(pi_tree_id,                              lv_search_node,                          FTREE.PARENT_OFFSET,                          FTREE.LAST_CHILD,                          FTREE.LEAF_NODE,                          pi_date,                                   NULL,                                    lv_node_value);
    end if;
         FTREE.Set_Tree_Node_Property(pi_tree_id,                              lv_search_node,                              FTREE.NODE_STATE,                         FTREE.EXPANDED_NODE);
    END;

  • Export to excel in web with oracle forms 10g

    we have an application running on web with oracle 10g forms in windows server 2003. We use webutil to generate excel. But it is terribly slow when its is run on web. When run locally its fine...
    PLS suggest.....
    Thanks,
    Rekha

    CLIENt_OLE transfers lots of small packets over the network,that's what it makes slow. What you could do.... write your own javabean which uses jacob and "aggregates" the low-level OLE-commands to somehow logical commands like "writeValuetoCell"

  • OAS Custom Help For Web-Enabled Forms

    Anyone had experience implementing a customized help system into Web-Enabled Forms running on OAS. Regular Oracle Forms can display a help system using a specialized Oracle Form D2KHMain.fmx or using WinHelp with the library D2KWhelp.pll. Will either of these work when running the Forms on the Oracle Application Server? Java Help has been suggested? Any documentation would be helpful? Thanks.

    do the following:
    1. write a java program that read from the registry. you will use the program as a javabean later on.
    2. compile the source and create a class/jar
    3. sign it (goto sun site for details on signing class/jars). you must sign the java program or it will not be able to have access to the registry. make sure you do all the steps by following sun's instructions.
    4. put it on your web server and modify the html file you use to start your developer application to include your class/jar.
    5. oracle has some demos on attaching javabeans to forms. use them to help you.
    6. use the program you wrote in step 1 as a javabean in your forms.
    Yossi

  • Lbuilder created characterset not showing in web runtime of 10g oracle form

    I have a case wherein database characterset is AR8ISO8859P6. Legacy system was form 3 application working from 7.3 database. In the legacy database there are some characters e.g. CHR(247) till CHR(250) which are being depicted as special character. Recently we migrated the database to 10g and forms to 10g Forms on Windows. On Windows we have set characterset as AR8MSWIN1256. Database characterset we still retained it to AR8ISO8859P6. The forms are showing all characters correctly except the 4 characters mentioned earlier i.e. CHR(247) to CHR(250) it all comes as reverse ?. Tried using lbuilder and define new characterset using AR8MSWIN1256 as the base characterset. After creating NLB files with the changes required, replaced NLS_LANG registry entry for AS to point to this new characterset still for the 4 characters the value is shown as reverse ?. Tried to change ReplaceCharacter in lbuilder to space character to make sure it works and used this new NLB this time instead of reverse ? it shows space for all 4 characters in SQLPlus what could be the problem
    Steps taken for nlb creation was
    1. Open existing object i.e. AR8MSWIN1256
    2. Modified characterset name and also character set ID as per oracle recommended standards
    3. Went into 'Character data' tab. For the 4 characters i.e. 0xF7 to 0xFA put glyph and specified unicode values \ufef5 for 0xF7.
    4. Went into classification tab and classified 4 characters as LETTER
    5. Generated NLB. Replaced boot and copied NLB to nls\data
    6 Modified NLS_LANG entry for the AS
    Problem still persists. Please give suggestion whether the creation and usage of NLB was correct. Since its 10g web based forms so the NLB files (boot lx1boot.nlb and newly created nlb) was placed in the AS's nls\data folder
    Edited by: user11977409 on Jan 17, 2011 4:17 AM

    The forum for Globalization Support (NLS) issues is:
    Globalization Support
    Database characterset we still retained it to AR8ISO8859P6Note that some of the characters from win-1256 and at least ten arabic letters are not defined in ISO 8859-6. http://en.wikipedia.org/wiki/ISO/IEC_8859-6 (- compare to http://msdn.microsoft.com/en-us/goglobal/cc305149)
    Likely you risk data loss by using this database character set (for Arabic windows clients).

  • Problem in running oracle report from form 10g Version 10.1.2.0.2

    Hi All,
    I am facing problem while running the report from forms 10g getting FRM-41219
    For this i am using the following procedure :
    PROCEDURE RUN_REPORT IS
    L_RUN_TEXT VARCHAR2 (2000);
    L_USRID VARCHAR2 (100);
    L_PASSWD VARCHAR2 (100);
    L_DESNAME VARCHAR2 (100);
    FILE_OUT_PUT VARCHAR2(200);
    REP_STATUS VARCHAR2(20);
    REP_NAME VARCHAR2(50);
    PL_ID PARAMLIST;
    REP_URL VARCHAR2(2000);
    V_REP VARCHAR2(200);
    BEGIN
    display_me('RUN_REPORT');
    -- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
    -- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
    -- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
    -- PROCEDURE.
    IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
    RETURN;
    END IF;
    COMMIT_FORM;
    IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
    L_DESNAME := 'LP';
    ELSE
    L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
    display_me(L_DESNAME);
    END IF ;
    /* SETTING THE REPORT OBJECT PROPERTIES */
    /* G_PRAM1 IS THE NAME OF REPORT ****/
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
    display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
    PL_ID := GET_PARAMETER_LIST ('REP_PARA');
    IF NOT ID_NULL (PL_ID) THEN
    DESTROY_PARAMETER_LIST ('REP_PARA');
    END IF;
    PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
    ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
    ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
    ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
    ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
    ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
    ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
    ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
    ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
    display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
    REP_NAME := :GLOBAL.G_PARAM1||'.REP';
    display_me('REP_NAME'||REP_NAME);
    V_REP := RUN_REPORT_OBJECT('REPOBJ');
    display_me('V_REP '||V_REP);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    display_me('REP_STATUS'||REP_STATUS);
         WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
    IF REP_STATUS = 'FINISHED' THEN
    REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
    display_me('REP_URL '||REP_URL);
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    ELSE
    MESSAGE('ERROR WHEN RUNNING REPORT');
    END IF;
    END;
    Which is called on a button , can any body share there idea to help out
    Warm Regards
    Ashutosh

    Yes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
    declare
         REP_URL varchar2(2000);
    begin
    REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache&paramform=no';
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    end;
    I had the 2nd code also but both r not working on my machine ......... !!
    I have made the following setting on my machine:
    1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    3. Entry made in the DevSuiteHome_1\forms\server ->default.env
    FORMS_PATH=D:\vision_soft\VSS\exe
    4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
    #SERVER= rep10
    As my forms is working well & but the report are not able to call.
    Could you please let me know is there is any other mandatory setting required for the report 10g.
    Regards,
    Ashutosh

  • Is Developer Suite part of OAS Forms and Reports Services?

    Hi,
    I installed OAS Forms & Reports services ( 10.1.2.0.2 ) from the CD's. Installation was successful. I cannot find the 10g forms builder ( frmbld.sh ) in $ORACLE_HOME/bin. This metalink doc 358712.1 says, forms builder is part of developer suite.
    Q) Is developer suite part of OAS Forms & Reports Services ( 10.1.2.0.2) CD's ?
    If it is not, where can I find it?
    Thanks

    Hi,
    Thanks for bearing with me. I am a bit confused here.
    I have 2 sets of CD's here.
    1st Set of CD's : 5 Oracle Application Server 10g ( 10.1.2.0.2) CD's
    This set contains:
    Portal/Discoverer/SSO/OID/Discoverer, Business Intelligence & Forms.
    Infrastructure (with Metadata Repository DB)
    Middle-tier (Business Intelligence & Forms)
    2nd Set of CD's : 2 Oracle Application Server Forms & Reports Services ( 10.1.2.0.2) CD's
    This set contains:
    I guess this set only contains the components needed to depoy forms & reports on the web. Is this correct?.
    We develop forms & Reports as well, so I need to install the Developer Suite as well. Is the developer suite part of the 1st Set of 5 CD's ( Business Intelligence & Forms ) ?
    In the URL, I see "Oracle Developer Suite 10g (10.1.2.0.2)" only for Windows, Linux, Solaris. Not for HPUX. I am on HPUX v1. Is there a developer suite 10g for HPUX v1?. I see only JDeveloper for HPUX.
    Thanks

Maybe you are looking for