Spell checker Functionality to be Implemented in a Oracle Ebiz Custom form

Hi,
I have tried implementing the Spell checker functionality in one of our Custom form,I used the OLE2 Built in Package in forms 6i to invoke the Spell checker functionality in Microsoft word but i am getting an error,Could anyone please help me in implementing the functionality?
I used the following procedure to Implement the spell checker functionality in Forms 6i and registered the same in Oracle Applications 11i,
PROCEDURE spell_check (item_name IN VARCHAR2)
IS
my_application   ole2.obj_type;
my_documents     ole2.obj_type;
my_document      ole2.obj_type;
my_selection     ole2.obj_type;
get_spell        ole2.obj_type;
my_spell         ole2.obj_type;
args             ole2.list_type;
spell_checked    VARCHAR2 (4000);
orig_text        VARCHAR2 (4000);
BEGIN
orig_text := NAME_IN (item_name);
my_application := ole2.create_obj ('WORD.APPLICATION');
ole2.set_property (my_application, 'VISIBLE', FALSE);
my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
my_document := ole2.invoke_obj (my_documents, 'ADD');
my_selection := ole2.get_obj_property (my_application, 'SELECTION');
ole2.set_property (my_selection, 'TEXT', orig_text);
get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
ole2.invoke (get_spell, 'CHECKSPELLING');
ole2.invoke (my_selection, 'WholeStory');
ole2.invoke (my_selection, 'Copy');
spell_checked := ole2.get_char_property (my_selection, 'TEXT');
spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
COPY (spell_checked, item_name);
args := ole2.create_arglist;
ole2.add_arg (args, 0);
ole2.invoke (my_document, 'CLOSE', args);
ole2.destroy_arglist (args);
ole2.RELEASE_OBJ (my_selection);
ole2.RELEASE_OBJ (get_spell);
ole2.RELEASE_OBJ (my_document);
ole2.RELEASE_OBJ (my_documents);
ole2.invoke (my_application, 'QUIT');
ole2.RELEASE_OBJ (my_application);
END;
I am getting the following error,
*305501:non-ORACLE exception*
I get this error exactly after the following line of the procedure,
my_application := ole2.create_obj ('WORD.APPLICATION');
This Spell check functionality works fine when implemented in a standalone form(When a form is ran from the Form Builder),Facing issue only when it is registered in the Oracle applications 11i.
I searched various Forums,But i unable to find any solution,Expecting your help on the same asap.
Thanks,
Venkat
Edited by: 946005 on Jul 12, 2012 3:47 AM

Hi Raja,
Thanks for the Reply..
Thanks a lot for your quick and efficient responses.
But Iam unable to figure out how to implement this auto save functionality in this BSP Applicaition. If anyone has worked on this BSP Application <b>HAP_DOCUMENT</b>, can you please tell me how to do this auto save functionality. Is it possible that when I give this popup to save using java script and when the User clicks on OK, can I get the return code for this and use it to trigger the auto save functionality? And where exactly do I have to code this. Because the code here is bit confusing and the pages are called dynamically, even Iam unable to figure out the Button Id. Can anyone please help me out on this. This is a very urgent requirement.
As specified by you, I have used this code to give the popup.
<script type="text/javascript">
function alertUser()
alert('Please Save the changes by clicking Save button');
window.setInterval("alertUser()",300000);
</script>
Can I use the same code for save also, like this:
<script type="text/javascript">
function autosave()
htmlbSL(this,2,'SAVE:SAVE');
window.setInterval("autosave()",300000);
</script>
I was trying with this but it is not working.
Regards,
Raju
Message was edited by:
        Narayana Raju Sampathirao

Similar Messages

  • Spell Check Functionality in CRM 2007

    Hi Experts,
    Do we have spell check functionality in CRM 2007, If yes, How & where can we enable it ?
    For example if a sales representative/Manager types something in NOTES, they should able to spellcheck.
    Thanks & Regards
    Shiven

    I dont think there is SAP spellcheck functionality available. Your best bet would be to download a spellcheck plug-in for your web browser.
    Hope this helps
    Regards
    David

  • Spell check functionality in OA Framework

    In the absence of spell check functionality for OA applications, is there any workaround or custom code to have a spell check functionality in OA framework. The customer does not want to use the Google spellcheker or JSpell.

    Check this link http://weblogs.asp.net/pwelter34/archive/2005/07/19/419838.aspx
    Do a google on this topic and you will find more similar references.
    --Shiv                                                                                                                                                                                                                                                                                                                                   

  • How to use Spell-check functionality for textbox (like Orkut, gtalk)

    How to use Spell-check functionality for tex Hello Friends,
    I am working on a JSP application. I wanted to add Spell check for text box like we have here, when we post a message. It automatically shows red line under the word, when ever spelling is wrong. Please tell me how I can do this. If possible, the code too.
    Thanks.

    I believe the spell checking you see here, or on any other site, is the spell checking built into Firefox. At least that's what I see. Are you using Firefox?

  • Is there a spell check function in iCloud pages?  Doesn't seem to be.

    Is there a spell check function in iCloud pages?  Doesn't seem to be.

    Select the spanner > Settings > Check Spelling.

  • Implementing Key Flex fields in Oracle apps custom form.

    Hi all,
    I have developed a custom form from scratch. Need to implement key flex fields in my form. Kindly help me and please share any document for Key flexfields implementing. Quick response will be highly appreciated. Thanks a in advance.
    Please mail to [email protected]
    Regards
    Aiyaz
    Please send me a complete document for implementing flex fields in a custom form. Screen shots in the docs will be very much help full.
    Regards
    Aiyaz
    Edited by: user6422762 on Jan 27, 2011 9:44 PM

    There are so many special cases and cases with Oracle Apps that you will need to ask this question in the dedicated Apps tech forum rather than here. Please post this question here: OA Framework

  • Spell check function in my iworks pages does not work, how do I fix this?

    I have a new IMac (intel) and I am struggling learning to use the ipage part of the iwork suite.  There does not appear to be a spell check feature working, since I'm trying to create some new documents, this is a real hassle.  And does anyone know how to do a cut and paste of images from the web.  I'm doing a presentation, have permission to use the photos and can't get it to work!!  sigh  I beginning to think I should have paid the xtra bucks and bought the window suite version, at least I know where they hid the bells and whistles in that one. 
    Thanks any help would be greatly appreciated.
    doccat5

    Greetings,
    For questions on Pages post in the Pages forum: https://discussions.apple.com/community/iwork/pages
    -- You can read about the various spell check features in Pages by typing in the word "spelling" in the Pages help menu.  This entry should get Spell check up and running for you: http://docs.info.apple.com/article.html?path=Pages/4.0/en/sl150c96ab.html
    If there is an image on a website you want to use locally on your computer usually just dragging the image from the web page anywhere on your desktop is enough to copy the image.  You can then drag the image from the desktop anywhere you want.
    Alternatively you can right-click (or hold down the control key and regular click on the image) on the image and then choose "Copy Image.  You can then perform an Edit > Paste into a Pages document for example.
    Hope that helps.

  • Spell checking function?

    I am familiar with spell checking since Claris Works but am having a glitch in emails, etc. From what I understand if you control click a misspelled word a list of possibles is supposed to appear. All I get is a menu to choose from that will get to suggestions in a round about way.
    I thought that control clicking the highlighted word would automatically show possible suggestions without going through extra steps.
    Am I doing something wrong?

    This discussion is getting confused. The question was about spell check but most of the discussion is about Dictionary. Command-Control-D should pop up a definition of the word the mouse is pointing at (no click needed). But the word has to be spelled right.
    For spell check: Select *Edit > Spelling and Grammar > Check Spelling While Typing*. If a word you type is not recognized, it should be underlined with a dashed red line. Put the mouse pointer on an underlined word. Control-Click on the word. The first item or several items in the pop-up menu should be suggested alternatives for the misspelled word.
    It sounds like that is what you are expecting. Does that not work when you do as I described?

  • Why wont the spell check function work in a fillable form? Please help deadline looming.

    Spell check wont work. Have read through various internet help solutions but no luck so far.
    I have windows 7 64 bit.
    The forms are on a CD-Rom (from about 10 years ago) but I have up to Adobe date software on my PC.
    Edit-Preferences-Spelling shows I have English United Kingdom selected and the check box, check spelling whilst typing is ticked.
    When I press F7 and start it finds nothing even though I have made deliberate mistakes to check if it's working.
    Any help would really be appreciated.
    Message was edited by: Awel-y-coed

    It's possible the author of the file disabled the spell-checking option for this field.

  • Spell check function

    Does the iPod touch have the ability to "learn" new words? I.e. "add to dictionary" function on the PC?
    If so, how do you do it?
    It keeps "auto correcting" my email address, among a couple other items I continually use. I don't want to disable the auto complete function though,
    Thanks,
    Cathy
    Dell Inspiron 1720   Windows Vista    

    The manual does not reflect what shows upon my ipod screen when I select the Keyboard. I only have the followng selections:
    Auto-Capitalization
    Auto-Correction
    Check Spelling
    Enable Caps Lock
    ","Shortcut
    and
    International Keyboards.
    Per the previous response, it is not "learning". I have had it for a couple of months, and it still hasn't learned my email address. Keeps wanting to change it to something else.
    Its using v 4.2.1
    Thanks,
    Cathy

  • Firefox crashes when I click on the spell check function on a fanfic website

    I tried to write a review for a fanfic on TTH and accidentally clicked the check spelling button on the page, I hit the X to close it and firefox promptly crashed.
    I repeated it with random fic review pages on that site and got the same result.
    I verified it on an identically configured firefox installation on a different computer.
    no other website has elicited this reaction from firefox.

    Problematic plugins
    Depending on your browser version and OS, Firefox may hang or crash because of a problematic plugin. Visit Mozilla's Plugin Check page (using another browser If Firefox crashes at startup) and update all outdated plugins to see if that resolves the problem.
    http://kb.mozillazine.org/Firefox_hangs#Problematic_plugins

  • How do I implement a Normalized DB in Customer Forms using OA Framework

    Our Customer would like a Form that lists the years left to right(columns) versus in a single column with multiple rows. Looking at how the GL tables are and how OA works it is very easy to do this by creating a table with the following design and mapping the form directly to the table; However, this is poor data modeling for a transactional system. Is there any examples or anyone have experience in decoupling the Form from the data model using 11i.
    We currently achieve this using the following database design.
    CREATE TABLE XXAF.XXAF_GL_JE_LINES
    ID NUMBER,
    LINE_NO NUMBER,
    BATCH_ID NUMBER,
    CODE_COMBINATION_ID NUMBER,
    CONTEXT VARCHAR2(150 BYTE),
    DESCRIPTION VARCHAR2(250 BYTE),
    TYPE VARCHAR2(1 BYTE),
    YEAR_1 NUMBER,
    YEAR_2 NUMBER,
    YEAR_3 NUMBER,
    YEAR_4 NUMBER,
    YEAR_5 NUMBER,
    YEAR_6 NUMBER,
    YEAR_7 NUMBER,
    YEAR_8 NUMBER,
    YEAR_9 NUMBER,
    YEAR_10 NUMBER,
    YEAR_11 NUMBER,
    YEAR_12 NUMBER,
    YEAR_13 NUMBER,
    YEAR_14 NUMBER,
    YEAR_15 NUMBER,
    YEAR_16 NUMBER,
    YEAR_17 NUMBER,
    YEAR_18 NUMBER,
    YEAR_19 NUMBER,
    YEAR_20 NUMBER,
    CURRENCY VARCHAR2(30 BYTE)
    Suggested Design
    Some team members have argued (correctly) that the above is not a perfect database design. The preferred table structure would be something along the lines of:
    CREATE TABLE XXAF.XXAF_GL_JE_LINES
    ID NUMBER,
    LINE_NO NUMBER,
    BATCH_ID NUMBER,
    CODE_COMBINATION_ID NUMBER,
    CONTEXT VARCHAR2(150 BYTE),
    DESCRIPTION VARCHAR2(250 BYTE),
    TYPE VARCHAR2(1 BYTE),
    CURRENCY VARCHAR2(30 BYTE)
    CREATE TABLE XXAF.XXAF_FISCAL_YEAR_VALUES
    ID NUMBER,
    LINE_ID      NUMBER
    YEAR      NUMBER
    VALUE      NUMBER
    In this design, there is a parent-child relationship between the individual line records and the fiscal year records. This is a far more flexible database design. The question is, can this design be used to create the desired OAF screen. This design leads to a vertical OAF table.
    Thanks
    Brian

    Hi Brian,
    OAF supports the master-detail based design. You can very well implement your model. You can use 2 VO for your 2 objects and link them using a ViewLink. Check OAF Dev guide for more details.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to implement Key Flex Fields in new oracle apps custom forms.

    how to impletement key flex fields in oracle apps custom forms
    if any technicle document is there then send me on this forum and also send me on my email id.
    [email protected]
    Thanks & Regards,
    Pranay Patel

    Hi,
    Please see the note:730068.1 - How To Invoke a DFF from a custom form
    Thanks,
    Ajikumar G

  • Wintertree Spell Checker modification for IR/Complaint Notes

    Hello,
    We are at CRM 5.0 and SP 15. We use IE 6.0. I would like to know if SAP Note 1083520 can be extended to implement Spell Checker functionality in views other than Email editor that the note is specifically meant for.
    In other words, has anyone ever tried to implement the software by modifying the provided Javascript and or .class files to use in other scenarios like Complaint Notes/ IRs etc?. Will SAP support the solution in this case?.
    Please help!!!
    JD

  • Spell check feature

    Hi,
    As far as i have evaluated, i dont see any spell check feature in BPA. This feature is present in other modelling tools i have worked with.
    Please inform if this feature is present and i am missing out on it.
    if not, does oracle/IDS intend to introduce it in next releases.
    Regards

    Hi,
    you'r right, there is non spell checking available within the BPA Suite. I don't think that it will be implemented within the upcoming versions.
    When it comes to spell checking of mass data I always use the following workaround:
    - export all content using the translate-out report (xls-format)
    - use the MS spell checking functionality
    - import the content using the translate-in report
    Dirk

Maybe you are looking for

  • Adding field to mb52 by copying it to a zprogram.

    HI Guru's, I am using the t code MB52 to display warehouse stocks of a material. This overview is needed to find out what the specific stock per storage bin is. For that we need to copy the standard program from MB52 to  a zprogram and add MARD - LGP

  • Using Lightroom CC with Mac's new Photo app

    I now own Lightroom CC and I have upgraded my Mac to the OS with the Photos app. So I no longer can use iPhoto or Aperture. How do I open "Photos" under the Pictures heading to pull the data for all my photos into Lightroom? I can't make a copy (as h

  • Can I upgrade from Photoshop CS5 Extended to Photoshop CS 6, because I don't use the 3D features.

    Can I upgrade Photoshop CS5 Extended just to Photoshop CS6, because I don't use the 3D features. I only use the picture corrections and special picture features?

  • Sales Order Lines with inclusive VAT prices

    I am integrating a 3rd party web site order into SAP B1. The site can only provide VAT Inclusive Prices and cannot provide the VAT rate or code - that SAP order will be loaded with the VAT rate taken from the BP / Item matrix. This is not a problem w

  • Nokia X7 problem !!!

    Hello dear Nokia My X7 is working fine,but sometimes it get`s really annoying when touchscreen gets non responsive or better yet pushing buttons by itself,interesting thing is-this happens usually near MENU button (the physical button) .Tried hard re