Indexing and searching excel file

hai friends,
i need to index and search the records from the excel file using lucene java
if u ve any code for that plz give me
thank you in advance

gimbal2 wrote:
I'm not even going to try and tell you just how wrong your post is.But I will! ;-)
Ok, checking the items from [_How To Ask Questions The Smart Way_|http://www.catb.org/~esr/faqs/smart-questions.html]:
- [_Write in clear, grammatical, correctly-spelled language_|http://www.catb.org/~esr/faqs/smart-questions.html#writewell]
- [_Be precise and informative about your problem_|http://www.catb.org/~esr/faqs/smart-questions.html#beprecise] (especially the third item)
- [_Be explicit about your question_|http://www.catb.org/~esr/faqs/smart-questions.html#explicit]

Similar Messages

  • Indexing and Searching PDF Files

    Hi All,
    I am trying to store and search PDF files in the oracle database.
    I can insert and index the PDF files just fine but cannot get any result. I always get No Rows.
    Here's what I am doing and the issues I am facing.
    I created a Table with fields
    ID (VARCHAR)
    NAME (VARCHAR)
    DOC (BLOB)
    I inserted the PDF file in the BLOB field through a Java program and insert worked fine as I verified by retreiving the PDF and writing to file.
    I created index using following SQL:
    create index my_index on PDF_TABLE(PDF_FLD) indextype is ctxsys.context
    parameters ('datastore ctxsys.default_datastore
    filter ctxsys.inso_filter');
    The index was created successfully without any problems.
    I ran query as follows and got no rows although the searched text is in PDF
    SELECT SCORE(1), PDF_FLD from PDF_TABLE WHERE CONTAINS (PDF_FLD, 'Table of Cotents',
    1) > 0;
    I tried alternate queries as well with no luck.
    Any ideas ??
    Thanks

    After creation the index you need execute next operations.
    first, check that your index tables conatins indexed terms. Execute
    select token_text from dr$YOUR_INDEX$i;
    Second, you will need to check the index errors table CTX_INDEX_ERRORS. This is owned by the user CTXSYS, and most users do NOT have # SELECT privilege to it by default.
    If it's OK, then check that your PDF documents is supported by INSO filter.
    Citation:
    "PDF - Portable Document Format
    Acrobat Versions 2.1, 3.0, 4.0, and 5.0 including Japanese PDF"
    (Appendix B. Supported Document Formats in Oracle Text Reference 9.2)
    For Oracle 9i you could install 9.2.0.4 patchset (it included INSO FILTER 7.5)
    P.S.
    for the beginning, you could find answers for your question about Oracle Text here
    http://otn.oracle.com/products/text
    Sorry for my English.
    Best regards, Victor Zogin.

  • Indexing and Searching pdf files which are used as attachment in an Announcemnet list item

    Hi all,
    I am using a SharePoint 2013 online environment and trying to search and find pdf files which are attached to a announcement list item. However it does not find anything when I search for the name of the pdf file or the content of the pdf file.
    When I attach a word to the list item it gets indexed and it find the file.
    thanks and appreciate every kind of advice.

    Are you able to search for pdfs in other locations? SharePoint 2013 comes with an iFilter out of the box unlike 2010 which needed configuration.

  • Indexing and Searching .MHT files

    Will Plumtree index the contents of an .MHT file the way it does a .DOC? I haven't figured out a way to get it to do so, but I would think it should be able to. all I can index is the title.
    Thanks
    Dana

    After creation the index you need execute next operations.
    first, check that your index tables conatins indexed terms. Execute
    select token_text from dr$YOUR_INDEX$i;
    Second, you will need to check the index errors table CTX_INDEX_ERRORS. This is owned by the user CTXSYS, and most users do NOT have # SELECT privilege to it by default.
    If it's OK, then check that your PDF documents is supported by INSO filter.
    Citation:
    "PDF - Portable Document Format
    Acrobat Versions 2.1, 3.0, 4.0, and 5.0 including Japanese PDF"
    (Appendix B. Supported Document Formats in Oracle Text Reference 9.2)
    For Oracle 9i you could install 9.2.0.4 patchset (it included INSO FILTER 7.5)
    P.S.
    for the beginning, you could find answers for your question about Oracle Text here
    http://otn.oracle.com/products/text
    Sorry for my English.
    Best regards, Victor Zogin.

  • InterMedia indexing and searching of zipped files

    Hello, I have interMedia successfully configured to index and query a repository of files (MS Word, Excel, PPT, PDFs, txt files)which are located on a file system. My issue is with zip files. I cannot successfully index and search zip files. I've tried zips that contain both ascii(text) and formatted files (doc, ppt), but interMedia seems not to recognize this particular MIME type. Is there a way to have interMedia index and search zip files? Thanks in advance for any assistance.

    You will have more luck with this question if you post it in the Oracle Text forum. This forum is for interMedia (image, audio video).

  • Webinar: Understanding TREX Indexing and Search Options

    <b>SAP NetWeaver Know-How Network Webinar: 
    Understanding TREX Indexing and Search Options
    Wednesday 25 August 2004
    11 a.m. EDT</b>
    On Wednesday 25 August, Larry Brambrut, an EP RIG Consultant, hosts the webinar titled  <b>Understanding TREX Indexing and Search Options</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Larry describes his webinar presentation:
    “This session will describe the enhancements to "Search and Classification"(TREX) in NetWeaver '04 and EP 6.0 SP2 Patch 6. The session will include a discussion of the CM enhancements such as new crawlers, new search UI options and plug-ins, and TREX enhancements such as the new TREX architecture, delta indexing, and new TREX Admin Tool.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN webinar schedule page to find more information)
    Dial-in Information:
    Date: Wednesday 25 August 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 25 August 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code 720155.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>
    About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hi there,
    I just read this thread, and maybe someone here can answer my current trex question:
    I have created an ordinary CM repository, and created an index with this repository as source. Now the problem: I would like to exclude files in the repository with specific mimetypes from the TREX indexing process.
    I have verified that the TrexValidMimetypes.ini does not contain any reference to the Mimetypes I'm creating, but never the less, the document titles are searchable and are returned when searching.
    How do I get around this issue?
    Is it possible in NW04 or EP6.0 SP3 PXXX??
    Regards,
    Hco

  • Sun Java Indexing and Search Service - services not starting(maintainance)

    I installed Comm Suite 7 in a single solaris host. I installed jiss as in wiki*. Installation was ok but the jiss index and search services won't start up(maintainance).
    --------------------------------- /var/iss/logs/iss-indexsvc.log.0---------------------------
    Wed Nov 04 16:16:16 IST 2009 com.sun.comms.iss.indexapi.IndexService startService WARNING: St
    arting index service.
    Wed Nov 04 16:16:17 IST 2009 com.sun.comms.iss.indexapi.IndexService startService SEVERE: JMS
    Exception: com.sun.messaging.jms.JMSSecurityException: [C4060]: Login failed: user=jmquser,
    broker=webmail.example.com:7676(39599)
    -----------------------/var/svc/log/application-jiss-indexSvc:default.log-----------------
    webmail.example.com:389 (tcp) => Active
    webmail.example.com:7676 (tcp) => Active
    Nov 4, 2009 4:16:16 PM com.sun.comms.iss.indexapi.IndexService main
    INFO: Begin checking write.lock files.
    Nov 4, 2009 4:16:16 PM com.sun.comms.iss.indexapi.IndexService startService
    WARNING: Starting index service.
    Nov 4, 2009 4:16:17 PM com.sun.messaging.jmq.jmsclient.ExceptionHandler logCaughtException
    WARNING: [I500]: Caught JVM Exception: java.io.EOFException
    Nov 4, 2009 4:16:17 PM com.sun.comms.iss.indexapi.IndexService startService
    SEVERE: JMS Exception: com.sun.messaging.jms.JMSSecurityException: [C4060]: Login failed: us
    er=jmquser, broker=webmail.example.com:7676(39599)
    Error getting IndexService instance: com.sun.comms.iss.common.IssException: JMS Exception:
    Service startup failed
    [ Nov  4 16:16:26 Method "start" exited with status 1 ]
    i run the setup.sh file several times with different values. but problem remains. i check the troubleshooting page too.
    Any help appriciated.
    wiki:
    (http://wikis.sun.comdisplayCommSuite7Communications+Suite+7+Installation+Scenario+-Indexingand+Search+Service)
    Thusith.

    Thusith.M wrote:
    =============================
    # ./imqusermgr list
    User repository for broker instance: imqbroker
    User Name Group Active State
    admin admin true
    guest anonymous true
    jmquser user true
    ============================
    The instance name above should be change i guess? am i correct?Given that the Application Server JMQ instance runs on port 7676 by default, you were most likely changing the wrong instance.
    Try adding the jmquser to the Application Server JMQ instance and perform the login test again e.g.
    /opt/SUNWappserver/imq/bin/imqusermgr add -u jmquser -p adminpass -g user
    /opt/SUNWappserver/imq/bin/imqcmd -b webmail.example.com:7676 list dst
    => login with user "jmquser" and password "adminpass"If you see the following message it means the "jmquser" user exists and the password is correct (the jmquser doesn't have enough rights to see the destinations by default):
    com.sun.messaging.jms.JMSSecurityException: [C4084]: User authentication failed:  user=jmquser, broker=webmail.example.com:7676(38692)
    Please check your security configurations.
    Listing destinations failed.Once that is verified try starting the indexSvc again and see if the original error persists.
    Regards,
    Shane.

  • Generate and disaply excel file as iview in ep6?

    Hello, everybody.
    I built a iView in EP5 that can generate and display excel file on the run-time. I used contecttype in httpservletresponse to set the content type to excel so the browser will see the data as excel.
    But it looks like the setcontenttype for httpservletresponse does not work anymore in EP6, does anybody know how to make the broswer "sees" the data as an excel file in EP6?
    I am using EP6 SP9

    Hi Gary,
    you definitely can set the content type if you call an AbstractPortalComponent and set all things within method doOnNodeReady (search for both terms on SDN forums, you'll find a heap of hints).
    In addition, I don't know if you create "real" Excel data or use the html trick. If you don't know the latter, see Export Portal data to Excel
    Hope it helps
    Detlev

  • Spotlight disabled - and Indexing and searching disabled - solution

    I have tried most of the recommendations here - and finally even reinstalled and rolled back my entire PB from Time Machine this night - but Spotlight did not work. Got message in terminal "Indexing and searching disabled".
    Solution found on web - below with 2 elements:
    1) Need to remove files that block for indexing
    2) Turn on indexing - Thanks to Patrick Kinsella
    1) Check your root directory for a file called .metadataneverindex
    If it's there, delete it.
    You can only find it after making invisible files visible (se below)
    2) These great hints won’t work if Spotlight is completely disabled (which some people have tried and don’t know how to reverse). If all else fails, follow this procedure:
    Make hidden files visible (copy and paste the next line into Terminal:
defaults write com.apple.finder AppleShowAllFiles -bool YES
    !!!You need to know that the visible/invisible switch works only after a relaunch of Finder (via Command-Alt-Esc).
    Now in (previously hidden) /etc folder in your root/hard drive, find hostconfig, and open it with any text editor.
Does it include this line:
SPOTLIGHT=-YES-
(note the two dashes astride YES)?
If not, type this line at the bottom. Save the file as hostconfig in your root folder (etc folder won’t accept it from a text editor). Now drag and drop this new hostconfig to /etc. This requires your admin password to replace the existing hostconfig.
    Reboot, and your spotlight is working. This may be a long way around, but it worked for me.

    Now make invisibles invisible again with this line in Terminal:
defaults write com.apple.finder AppleShowAllFiles -bool NO
    To fire up Spotlight, you may need to type this into Terminal:
sudo mdutil -i on /
(the slash is important)
    If Mail is still not searching inside Entire Message, type this into Terminal to index your old messages:
sudo mdimport /users/YOURNAME/library/mail [or whatever the path to your mailbox message folders.
    The combination of these two did the trick for me.

    This tip is useful, but a way too complicated way to do this. A better and simpler solution is as follows:
    1. Login in to your server as an administrator.
    2. Open the Terminal application (in your /Applications/Utilities folder)
    3. Type the following exactly as written in to the Terminal:
    +sudo rm /.metadataneverindex+
    It will ask you for your password. I have never seen this file, so you may get a "file not found" error - in which case move on to step 4 anyway.
    4. Type the following in to the Terminal:
    +sudo mdutil -i on /
+
    5. Spotlight in the right corner of your server login should indicate it is indexing, and before long will start working.
    I don't believe editing of hostconfig is required at all, and you don't need to do all this stuff with making invisible files visible since you are already in the Terminal anyway.
    Hope that helps.

  • Open and Save Excel Files

    Hi All,
    I need code of How to open and save excel file in local system in Oracle forms.
    With Regards,
    Chandra Shekhar

    Hello Chandra,
    Webutil can be used to achieve this functionality.
    STEPS TO FOLLOW
    ================
    1. Install and configure Webutil following instructions in the webutil manual
    and the readme file.
    2. Create a form with a block Eg. DEPT
    3. Create a button, and in that button put the following code -
    DECLARE
    application Client_OLE2.Obj_Type;
    workbooks Client_OLE2.Obj_Type;
    workbook Client_OLE2.Obj_Type;
    worksheets Client_OLE2.Obj_Type;
    worksheet Client_OLE2.Obj_Type;
    args Client_OLE2.List_Type;
    cell ole2.Obj_Type;
    j INTEGER;
    k INTEGER;
    BEGIN
    application := Client_OLE2.create_obj('Excel.Application');
    workbooks := Client_OLE2.Get_Obj_Property(application, 'Workbooks');
    workbook := Client_OLE2.Invoke_Obj(workbooks, 'Add');
    worksheets := Client_OLE2.Get_Obj_Property(workbook, 'Worksheets');
    worksheet := Client_OLE2.Invoke_Obj(worksheets, 'Add');
    go_block('dept');
    first_record;
    j:=1;
    k:=1;
    while :system.last_record = 'FALSE'
    loop
    for k in 1..3 /* DEPT has 3 columns */
    loop
    If not name_in(:system.cursor_item) is NULL Then
    args:=Client_OLE2.create_arglist;
    Client_OLE2.add_arg(args, j);
    Client_OLE2.add_arg(args, k);
    cell:=Client_OLE2.get_obj_property(worksheet, 'Cells', args);
    Client_OLE2.destroy_arglist(args);
    Client_OLE2.set_property(cell, 'Value', name_in(:system.cursor_item));
    Client_OLE2.release_obj(cell);
    End If;
    next_item;
    end loop;
    j:=j+1;
    next_record;
    end loop;
    /* For the last record */
    for k in 1..3
    loop
    If not name_in(:system.cursor_item) is NULL Then
    args:=Client_OLE2.create_arglist;
    Client_OLE2.add_arg(args, j);
    Client_OLE2.add_arg(args, k);
    cell:=Client_OLE2.get_obj_property(worksheet, 'Cells', args);
    Client_OLE2.destroy_arglist(args);
    Client_OLE2.set_property(cell, 'Value', name_in(:system.cursor_item));
    Client_OLE2.release_obj(cell);
    End If;
    next_item;
    end loop;
    Client_OLE2.Release_Obj(worksheet);
    Client_OLE2.Release_Obj(worksheets);
    /* Save the Excel file created */
    args := Client_OLE2.Create_Arglist;
    Client_OLE2.Add_Arg(args,'d:\test.xls');
    Client_OLE2.Invoke(workbook, 'SaveAs', args);
    Client_OLE2.Destroy_Arglist(args);
    /* release workbook */
    Client_OLE2.Release_Obj(workbook);
    Client_OLE2.Release_Obj(workbooks);
    /* Release application */
    Client_OLE2.Invoke(application, 'Quit');
    Client_OLE2.Release_Obj(application);
    END;
    4. Save the form and compile it.
    5. Run the form.
    6. Execute the query in the block.
    7. Click on the button.
    8. An excel file will be created in the d:\ directory by the name test.xls.
    Kind regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • Spotlight searching no longer working - indexing and search disabled.

    I've been searching the web and tried everything:
    Server 10.5.8
    In Server Admin - the attached drive is a SharePoint with Spotlight search on.
    I've used mdutil to enable Spotlight.
    I've checked permissions.
    I can search the Boot Drive. I can't search the attached drive.
    mdutil returns indexing and search disabled when used to turn it on.
    very frustrating.
    Anyone out there have a clue?
    Thanks,
    Mark

    HI James,
    Open System Preferences/Spotlight and click the Privacy tab. Where you see; Delete any locations listed, Quit System Preferences and restart your Mac and see if you can use Spotlight.
    Spotlight Tips
    Spotlight: How to re-index folders or volumes
    Carolyn

  • Need some advice with indexing and search server in multihomed environment.

    Hi,
    I want to introduce the JISS (java indexing and search server). We have an multihomed environment with two frontends for convergence and imap/pop proxy service and two mail stores in a cluster HA environment
    (Sun cluster 3.2, messaging server 7u3-15.01, convergence 1.0-12.01 running on glassfish 2.1.1). The directory servers (multimaster) are on speperated servers.
    I viewed the jiss deployment pages in the wiki (http://wikis.sun.com/display/CommSuite/Indexing+and+Search+Service+Deployment+Planning), but they are more confusing than helpful.
    My questions are as follows:
    Can I put the jiss web service on the convergence server (to share the same glassfish server?
    Is it better to put the indexing part of JISS on a seperate server or on the convergence server or better on the mail store servers?
    Can I run the JMQ broker in an HA environment on the cluster? Is it possible to run JMQ together with messaging server in the same cluster group?
    Can JISS index two mail stores (I didn't find anything in the config guide)?
    Best Regards,
    Ruediger

    ruediger_kunze wrote:
    I want to introduce the JISS (java indexing and search server). We have an multihomed environment with two frontends for convergence and imap/pop proxy service and two mail stores in a cluster HA environmentI would recommend holding off until the next release (Communication Suite 7 update 1) as ISS update 1 provides a large number of useful enhancement.
    I viewed the jiss deployment pages in the wiki (http://wikis.sun.com/display/CommSuite/Indexing+and+Search+Service+Deployment+Planning), but they are more confusing than helpful.
    My questions are as follows:
    Can I put the jiss web service on the convergence server (to share the same glassfish server?Yes. This is the scenario used in the single-host-install guide:
    http://wikis.sun.com/display/CommSuite7/Sun+Java+Communications+Suite+7+on+a+Single+Host
    Is it better to put the indexing part of JISS on a seperate server or on the convergence server or better on the mail store servers?This is answered in the Deployment Planning guide:
    "Indexing requires significant CPU resources, thus, it is best to install the indexing service on a separate host dedicated to an ISS single server installation. If this is not an option, then install ISS on the back-end host as a single server installation, and install GlassFish Server as well for ISS."
    Can I run the JMQ broker in an HA environment on the cluster? Is it possible to run JMQ together with messaging server in the same cluster group?This article may help:
    http://wikis.sun.com/display/CommSuite/Deploying+GlassFish+Message+Queue+in+a+Highly+Available+Environment
    Can JISS index two mail stores (I didn't find anything in the config guide)?When you Bootstrap the account you point at the mailhost that the account resides on:
    http://wikis.sun.com/display/CommSuite/Administering+Indexing+and+Search+Service
    "Creating New ISS Accounts"
    Regards,
    Shane.

  • Saving and using excel files in Numbers.

    I have saved Numbers files as Excel files. and then saved them to Dropbox. They are .xls files.
    My associate uses a PC and his Excel files are .xlsx files. 
    I can open his files.
    How can he open mine?
    We are sharing info on a file.

    no problem!
    if you have an excel document on your mac or pc that you want to view only, email it to yourself from your desktop, open the email onyour iPad, and touch the attachment - it will open as a view only file so all the cell formulae etc are hidden, you just see the visible elements.
    if you want something you can use to edit, i use an app called Office2 (that's a superscript "2" or 'Office squared'. I'm using the iPhone version on my iPhone and iPad, It's currently £3.49 on the iTunes app store. But I see there is now an iPad version (HD) available for a fiver.
    Basically, you do exactly the same as above but when you touch the attachment in the email, if Office2 is installed there is an option at the top asking which app you want to open it in. Choose Office 2 then you can open, change, save, mail it back to yourself.
    i don't use very large excel files, but it works for me!!
    enjoy
    paul

  • Clustering MSG 7.0 u3 + Indexing and Search Service

    Messaging Server 7 Update 3
    Indexing and Search Service 1
    Indexing and Search service requires IMQ broker configured.
    In clustered msg srv deployments with ISS enabled, what is the correct way to deploy IMQ:
    - as a clustered service with affinity configured between msg and imq
    or
    - imq instance running on each node of the cluster
    Thanks,
    D.

    JMQ should be installed on each cluster node with something like this:
    Grab mq4_1-installer-SunOS.zip (SPARC) or mq4_1-installer-SunOS_X86.zip (x86)
    Slap JMQ installer somewhere like /usr/local/src and unzip it
    mq4_1-installer/installer or mq4_1-installer/installer -nodisplay
    Hammer through the install and you should be ready to go
    Now the actual setup of JMQ:
    vi /etc/imq/imqborkerd.conf
    Change {color:#0000ff}*AUTOSTART=NO*{color} to {color:#0000ff}*AUTOSTART=YES*{color}
    If your host has Sun Java Application Server (SJAS) or GlassFish on it (or will) set {color:#0000ff}*ARGS=port 7777*{color}
    Note: SJAS 9.x and GlassFish come with their own install of JMQ and if you are mixing Messaging Server with SJAS/GlassFish you will want the Messaging Server JMQ to have its own port
    Start JMQ -*{color:#0000ff} /etc/init.d/imq start{color}*
    Reset the admin password:*{color:#0000ff} imqusermgr update -u{color}* {color:#0000ff}*admin*{color} *{color:#0000ff}-p{color}* *{color:#ff0000}<password>{color}*
    Disable the guest account: *{color:#0000ff}imqusermgr update -u guest -a false{color}*
    Setup a user account (jesuser in this example) to use for Messaging Server integration: {color:#0000ff}*imqusermgr add -u*{color} *{color:#ff0000}jesuser{color}{color:#0000ff}{color:#ff0000} {color}-g user -p* {color:#ff0000}*jesuser*
    {color:#000000}cd /opt/sun/coms/messaging/sbin (or messaging64 if rolling 64-bit Messaging Server)
    ./configutil -o local.store.notifyplugin.jmqnotify.NewMsg.enable -v 1
    ./configutil -o local.store.notifyplugin.jmqnotify.UpdateMsg.enable -v 1
    ./configutil -o local.store.notifyplugin.jmqnotify.DeleteMsg.enable -v 1
    ./configutil -o local.store.notifyplugin.jmqnotify.maxHeaderSize -v 1024
    ./configutil -o local.store.notifyplugin.jmqnotify.jmqHost -v *"*127.0.0.1*"*{color}
    {color}{color:#000000} (this could also be the IP address of your cluster node, not the service address but the actual IP address of the node)
    ./configutil -o local.store.notifyplugin.jmqnotify.jmqPort -v "7777"{color:#ff0000} {color}(if you have changed from the default port of 7676 enter it here)
    {color}./configutil -o local.store.notifyplugin.jmqnotify.jmqUser -v
    "jesuser" (substitute the JMQ user that you created earlier)
    {color:#000000}./configutil -o local.store.notifyplugin.jmqnotify.jmqPwd -v "jesuser" (substitute the password for the JMQ user that you specified earlier)
    ./configutil -o local.store.notifyplugin.jmqnotify.DestinationType -v "queue"
    ./configutil -o local.store.notifyplugin.jmqnotify.jmqQueue -v "jesms"
    ./configutil -o local.store.notifyplugin.jmqnotify.Priority -v 3
    ./configutil -o local.store.notifyplugin.jmqnotify.ttl -v 1000
    ./configutil -o local.store.notifyplugin.jmqnotify.Persistent -v 1
    ./configutil -o local.store.notifyplugin.jmqnotify -v '/opt/sun/comms/messaging/lib/libjmqnotify$jmqnotify'{color}
    Repeat on each node that will master HA Messaging Server.
    Edited by: nate_keegan on Feb 17, 2010 1:42 PM - the rich text editor is acting strangely, reverting to text for configutil section

  • Generate and display excel file

    Hi guys,
    Is there a way to generate and display excel file in sapgui without the need of downloading the excel file to local directory first?
    I found the following 2 ways of doing it, but both require me to download the generated xls file to local directory:
    #1 way:
    1. Generate the xls file using GUI_DOWNLOAD with the filename = 'c:\test.xls'.
    2. Call fm SAP_STARTS_EXCEL and pass in the parameter i_filename = 'c:\test.xls'
    #2 way:
    1. Generate the xls file using GUI_DOWNLOAD with the filename = 'c:\test.xls'.
    2. Upload it back using the below so that i can get it in xstring format.
    CALL FUNCTION 'GUI_UPLOAD'
         exporting
           filetype =  'BIN'
           filename = 'C:\test.xls'
         tables
           data_tab = itab.
    3. Then pass it to the cl_gui_html_viewer to display it.
    call method html_control->load_data
        exporting
          url          = 'test.xls'
          type         = 'application'
          subtype      = 'vnd.ms-excel'
        importing
          assigned_url = l_url
        changing
          data_table   = l_pdf_data
        exceptions
          others = 1.
    I prefer the #2 way as my program will get wrapped thru ITS server, and it seems the #1 way will not work. So is there any way i can get the excel file to be generated in xstring format so that i can pass to cl_gui_html_viewer straight away to display without having to save to local directory first?
    Any other suggestion apart from the above 2 ways are welcome as well.
    Thanks guys.

    Use function module ALV_XXL_CALL. It will solve ur prob immediately.
    REPORT  ZSKC_ALV_XXL.
    TYPE-POOLS : KKBLO.
    DATA : ITAB LIKE T100 OCCURS 0,
           T_FCAT_LVC TYPE LVC_S_FCAT OCCURS 0 WITH HEADER LINE,
           T_FCAT_KKB TYPE KKBLO_T_FIELDCAT.
    START-OF-SELECTION.
    * Get data.
      SELECT * UP TO 20 ROWS
      FROM   T100
      INTO   TABLE ITAB
      WHERE  SPRSL = SY-LANGU.
      CHECK SY-SUBRC EQ 0.
    * Create the field catalog.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
       EXPORTING
          I_STRUCTURE_NAME             = 'T100'
        CHANGING
          CT_FIELDCAT                  = T_FCAT_LVC[]
        EXCEPTIONS
          INCONSISTENT_INTERFACE       = 1
          PROGRAM_ERROR                = 2
          OTHERS                       = 3.
      CHECK SY-SUBRC EQ 0.
    * make sure you pass the correct internal table name in the field catalog.
      t_fcat_lvC-tabname = 'ITAB'.
      MODIFY T_FCAT_LVC TRANSPORTING TABNAME WHERE TABNAME NE SPACE.
    * Transfer to KKBLO format.
      CALL FUNCTION 'LVC_TRANSFER_TO_KKBLO'
        EXPORTING
          IT_FIELDCAT_LVC                 = T_FCAT_LVC[]
        IMPORTING
          ET_FIELDCAT_KKBLO               = T_FCAT_KKB
       EXCEPTIONS
         IT_DATA_MISSING                 = 1
         IT_FIELDCAT_LVC_MISSING         = 2
         OTHERS                          = 3.
      CHECK SY-SUBRC EQ 0.
    * Call XXL.
      CALL FUNCTION 'ALV_XXL_CALL'
        EXPORTING
          I_TABNAME                    = 'ITAB'
          IT_FIELDCAT                  = T_FCAT_KKB
        TABLES
          IT_OUTTAB                    = ITAB[]
        EXCEPTIONS
          FATAL_ERROR                  = 1
          NO_DISPLAY_POSSIBLE          = 2
          OTHERS                       = 3.
      IF SY-SUBRC <> 0.
      ENDIF.
    It will open the Excel in front of you and populate the cells from your internal table
    with color for Key columns.
    Cheers
    SKC.

Maybe you are looking for