Handler

Hello
I have tow JscrollPane ,J1 and J2 and I want that when J1 up or down his scrollBar j2 up or down too.
I have make a handler for J1 that when there is a event of scroll pane this move the scrollbar of J2,good, but this produce exceptions and the code isn't correct execute.
must i use the class invokelater?
how can I use the class invokelater in a handler?
Thanks a lot and I'm sorry for my bad english.
Jose

I wonder if this is documented behavior, or just a side-effect that happens to work.This is the whole point of the MVC design. The model stores the data and notifies the view when something changes. That way you can have different views of the same model.
In the case of a ScrollBarModel as long as the size of the scrollbar is the same you shouldn't have a problem.
You can even share models across different components. For example a ListSelectionModel could be shared by a JTable and a JList, again you would want to keep the number of elements in each model the same. So you might consider that requirement a gotcha.
Models might also be shared when you want the same component to appear on multiple panels. This is not possible as a component can only have a single parent. However, you can easily create multiple components that share the same model and add each component to a different panel.

Similar Messages

  • Handling of free goods in PO

    Dear ALL,
    Our vendor has agreed that he will give us one drum of oil free if we buy 100 drums from him.
    how can we bifurcate this in the system that 100 drums we have purchased and one is as a free good.
    1) what we have to do when raising a PO ?
    shall we make PO with 101 drums and select <i><b>FREE indicator</b></i> in PO.In this case all 101 drums will become as free goods.
    2) or if we raise a PO for 100 drums without selecting free goods indicator how shall we handle at the time of GR of 101 drums. in this case GR of 101 drums will be treated by system as overdelivery.
    3)how can we maintain free goods information in PIR( Purchase info records)
    Request to suggest steps in dealing with this scenario.
    regards
    ajay

    Hi Ajay,
    One way is create 2 line items in PO, one line item with 100 no's and 2nd line item with 1 number which should be checked with free goods.
    At the time of GR do the GR for both the line items.
    Hope this helps.
    Thanks,
    Viswanath

  • Get Attribute values from a page and procedure exception handling?

    Hi All,
    I have created new page with two input attributes not based on any VO. This page is created to capture two values and pass these to an AM method upon pressing OK button. The method in AM will call a procedure with two in parameter expecting the two values captured from the above said page.
    I have two questions, first one how to capture the values entered by the page in the controller class and advises me how to handle exceptions when my procedure fails.
    I can not use something like this since this page is not based on a VO
    String fromName = (String)vo.getCurrentRow().getAttribute("FromName");
    Do I have to create a dummy VO like select '' name1, '' name2 from dual?
    Thanks for the help.

    Hi,
    Actually you can capture the parameters on the page like this way
    String test = (String)pageContext.getParameter("id of the text input bean");
    Now in procedure you can take an out parameter which stores the error messages on exception
    and return that out parameter in java.
    and then you can throw exception on page using OAException class.
    Thanks
    Gaurav Sharma

  • Report handling names with a single quote

    Report 10gR2
    I have created a report and most of the functionality that i want is working as expected.
    I have a report where i am letting user enter their first name on one field and last name on another field in the parameter screen ( thats how it's stored in the database)
    If they enter any name with an aphostrophe , say D'Costa ( either first name or last name)
    then i get the below error
    REP-50003: Bad parameter: pfaction=http://.........
    I am using like keyword as seen below in the afterparam trigger and passing the parameter :p_where_last_name to the main sql query
         :p_where_last_name := ' AND UPPER( :last_name) LIKE (' ||''''||'%'||UPPER(:last_name)||'%'||''''||')' ;
    Whats the best approach to handle this issue
    Also is there a way to capture this error
    ' REP-50003: Bad parameter: pfaction=http://.........
    ' and display a message, if so where and how, please advise.
    thanks.
    Edited by: Forms_Reports_Beginner on Aug 13, 2009 1:52 PM

    I am not using form , it's just done in report, that is i am not calling the report from a form , just from a menu.
    :last_name is a report_paramter that i created on the report.
    you're right the first assignmnt is
    AND UPPER( db column) LIKE
    I have a paramter form on the report with a field last name and I am letting the user enter last name there which gets stored in the :last_name
    Edited by: Forms_Reports_Beginner on Aug 14, 2009 7:29 AM
    Edited by: Forms_Reports_Beginner on Aug 14, 2009 7:32 AM
    Rodolfo,
    your solution works,
    :p_where_clause := ' AND UPPER( db_column ) LIKE (' ||''''||'%'||UPPER(Replace(:p_2,chr(39), chr(39)||chr(39)))||'%'||''''||')' ;
    but i dont quite understand how this is working
    Replace(:p_2,chr(39), chr(39)||chr(39))
    i have never used chr
    Edited by: Forms_Reports_Beginner on Aug 14, 2009 7:35 AM

  • Can FDM handle more than one year at a time?

    Hi,
    I'm trying to load a multi-load file through FDM with the target being an Essbase cube and the source being a text file. The file is for 36 months which crosses 3 years. The problem is Oracle support is saying FDM can only handle one calendar year at a time and we need to load 3 separate files.
    The file imports and validates ok. And the export only pushes data to the first year '2010' but it doesn't error out.
    Any ideas?

    If you use an excel file as the source, you can load all 36 periods.
    You can also modify the adaptor to support this action but I would caution you that doing so will cause support to no longer support your application without requiring you to import a non customized adaptor. This also has consequences for when upgrading.
    Let me add, FDM support is the best in the business. I have never had a situation where what they told me was incorrect. What you are trying to accomplish would be a custom solution that should be implemented by an experienced FDM resource that understands the impact of the customization.
    Edited by: TonyScalese on May 6, 2010 3:10 PM

  • How can I execute an external program from within a button's event handler?

    I am using Tomcat ApacheTomcat 6.0.16 with Netbeans 6.1 (with the latest JDK/J2EE)
    I need to execute external programs from an event handler for a button on a JSF page (the program is compiled, and extremely fast compared both to plain java and especially stored procedures written in SQL).
    I tried what I'd do in a standalone program (as shown in the appended code), but it didn't work. Instead I received text saying the program couldn't be found. This error message comes even if I try the Windows command "dir". I thought with 'dir' I'd at least get the contents of the current working directory. :-(
    I can probably get by with cgi on Apache's httpd server (or, I understand tomcat supports cgi, but I have yet to get that to work either), but whatever I do I need to be able to do it from within the button's event handler. And if I resort to cgi, I must be able to maintain session jumping from one server to the other and back.
    So, then, how can I do this?
    Thanks
    Ted
    NB: The programs that I need to run do NOT take input from the user. Rather, my code in the web application processes user selections from selection controls, and a couple field controls, sanitizes the inoputs and places clean, safe data in a MySQL database, and then the external program I need to run gets safe data from the database, does some heavy duty number crunching, and puts the output data into the database. They are well insulated from mischeif.
    NB: In the following array_function_test.pl was placed in the same folder as the web application's jsp pages, (and I'd tried WEB-INF - with the same result), and I DID see the file in the application's war file.
            try {
                java.lang.ProcessBuilder pn = new java.lang.ProcessBuilder("array_function_test.pl");
                //pn.directory(new java.io.File("K:\\work"));
                java.lang.Process pr = pn.start();
                java.io.BufferedInputStream bis = (java.io.BufferedInputStream)pr.getInputStream();
                String tmp = new String("");
                byte b[] = new byte[1000];
                int i = 0;
                while (i != -1) {
                    bis.read(b);
                    tmp += new String(b);
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + tmp);
            } catch (java.io.IOException ex) {
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + ex.getMessage());
            }

    Hi Fonsi!
    One way to execute an external program is to use the System Exec.vi. You find it in the functions pallet under Communication.
    /Thomas

  • XFi Can't Handle more than one sound at a time?!?

    I bought an XFi Elite Pro and it was working great. Now, however, it will only handle one sound at a time. For example, if I'm playing a song in iTunes and windows makes a sound, the itunes song cuts out, the windows sound plays, then itunes abruptly cuts back in. Same thing in games. If I'm playing Warcraft the sound will cut out if Windows makes some kind of a sound.
    How do I get my card back to being able to play multiple sounds/music simultaneously? I'm running Vista Ultimate on a Quad Core system with 4 gigs of RAM.

    Sound like something messed up somehow. Maybe you can consider reinstalling the drivers again? @28.86.2.0

  • I have an Apple MacBook Pro and when surfing the web my computer will slow to a crawl and I will have a multi-colored spinning wheel visible until my latest request is handled.  What is causing this and is there a way to prevent this from occuring

    I have a MacBook Pro.  When surfing the web it will eventually slow to a crawl.  When this occurs, there will be a small multi-colored wheel spinning until my latest command is handled.  What is causing this and is there a way that I can modify or prevent this from happening?  Is there a setting that will prevent this?

    When you next have the problem, note the exact time: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Scroll back in the log to the time you noted above. Select any messages timestamped from then until the end of the episode, or until they start to repeat. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Handling Type in Free Goods Item (IS-OIL)

    Hello,
    Could anyone give me a suggestion how to enable Handling Type field (VBAP-OIHANTYP) for free goods line item (Item Cat TANN)  in Sales Order?
    Currently this field was disable and not allow to enter any value.
    Thank you

    Hi,
    Try to do as mentioned below.
    step by step process for free goods.
    1. need to create the free goods condition(condition tables/access seq and types) and pricing procedure and then assign the same to sales area, doc. Priccing proce and cust pri. Procde.
    2.you need to maintain the condition records( tcode: VBN1) and maitain the data as mentioned
    above(check Notes 2 sheet)
    3. if you don't want the free goods item to be created, then you need to add the NRAB condition type to the pricing procedure(document pricing procedure not Free goods pricing procedure) and need to maintain the condition record for this
    condition in VK11.
    once all this is done, you can see free goods price reduced in the net price and if additional item is added, then you will the quantity (as per condition record) for that free good.
    Thanks,
    Srini.

  • Free Goods handling in Import Scenario

    Hello All,
    1)We have a scenario of imports/foreign vendor providing the materials free of cost.
    2)Here the requirement is that the materials are free of cost(From Vendor), but customs duty has to be paid to the customs office for that material.
    3)How best can we map this scenario in SAP.
    Kindly suggest steps involved in the above scenario.
    Regards
    Mahesh

    Hi
    You need to create the customs department as Vendor in SAP .
    If you  are  getting the material free of cost then SAP provides you to create PO with"Free Item" indicator or
    create PO with Invoice reciept as unticked in Invoice tab as we dont recieve Invoice from vendor.
    But we need to pay to customs as this is Imported item.
    When we use the  "Free Item" indicator  or Invoice reciept as unticked in Invoice tab  then the condition tab where we mention the conditions  disappears so we need to handle by FI module

  • Can my macbook pro mid 2007 3.1 AA896ll/a handle a SSD and how do I make the switch. Can I do a clean install of Snow Leopard from an original cd

    Here is my problem, I want to upgrade my macbook pro mid 2007 3.1 AA896ll/a to an Solid State Drive, a Crucial m4 256 gb, I want to know if the macbook will be able to handle it and how do I do the switch. also once I install the drive will I be able to boot from my Snow Leoard original cd and do a clean install. Thank you

    Coming from a 5,400 RPM drive that's nearly filled up, fragmented and deoptimized to a fresh install of OS X on a SSD will of course be a improvement.
    However fresh installing OS X on a new 5,400 RPM will also see a improvement, boot up in 30 seconds.
    A fresh install of OS X on a new 7,200 RPM drive will also see a improvement, boot up in 25 seconds.
    A fresh install of OS X on a new SSD will see the best improvement, boot up in 20 seconds on fast SATA connections.
    OS X still requires time to setup and that takes about 20 seconds despite how fast your boot drive is, that's why sleep was created.
    Things to consider: The higher cost of a SSD, the limiting capacity (hard drives hold way more up), the SATA I speed limitations (slows up on large file transfers), the difficulty to scrub the SSD of unwanted data (like you can a hard drive), and it's limited write capability. Also the smaller SSD's are faster than the larger ones.
    SSD's are shock proof, which is their slight advantage over hard drives.
    I see a 120GB SSD in a SATA I machine as being a waste, it's too small of a storage space (500GB+ is ideal), the SATA I connection is slow and other factors that make a 7,200 RPM drive a better option in that machine.
    One can get a 750 GB 7,200 RPM hard drive for about the same price and still maximize their boot time in the process, also being able to scrub their drive of unwanted data easily.
    SSD's can't be scrubbed, one has to fill 50% of the remaining space with many, very small files to overwrite the free space, then do another 50% again to defeat the Trim/wear leveling as SSD's write to less used location each time. If one fills a OS X boot drive up completely, it won't function or won't boot up.
    If you do this fill routine regularly with software, then you prematurely wear out the SSD as it has limited writes. Why Disk Utility doesn't offer zero or 7x erase for SSD's.
    If your in the 10% of Internet traffic that's going to adult sites, then the ability to scrub the caches and storage drive of embarrassing unwanted data is a necessity. Especially in the light of software and hardware that can read the SSD of deleted data.
    Trick links and redirects on poisoned sites can firebomb your Mac with some pretty bad pictures and your hidden caches as well, especially if you don't like to pay.
    IT personal have at their disposal free open source forensic software that basically aggregates all the past behavior done on the machine into a nice, easy to view format with times, dates and when and where content was downloaded from.
    Since one has to give up their password for repair folks to recover data and fix the machine...
    I think a SSD is less of a benefit over a 7,200 hard drive for that particular model of Mac for a mere few seconds faster boot time.

  • Hi, I don't know who to turn to: the person who handles all the compter stuff is out of town, This A.M.I started up Firefox and there was a message re an update, I thoght I new just to click on install and wait to re start Firefox. But what I can remember

    Hi, I don't know who to turn to: the person who handles all the compter stuff is out of town, This A.M.I started up Firefox and there was a message re an update, I thoght I new just to click on install and wait to re start Firefox. But what I can remember is that another window opened and asked me to choose 'something' (an icon or banner or?), I thought I must click something (I guess I should read all clearly). Firefox did update to 3.6.4, but it also inserted some sort of what might be called a banner? But it only partly covers the right one- half of my 3 toolbars at the top of the Firefox window. It can't be used for anything as it is just a mess of colors and unknowns, except what looks like a 'top' and what I recognize as a Firefox icon (but only partly visible)!! Now, what it does do is partly hide that whole portion of the toolbars and they are hard to read and in turn make this 'thing' impossible to figure out, if I would care to? I can't find anyway to remove it or use it?? But since the Firefox icon is on it, I guess you should know what it is and how to trash it. I am sorry for this occurrence caused my my carelessness, but I'm not much of a computer person ----HELP! Thank you for any help. Judi
    == This happened ==
    Every time Firefox opened
    == Today, Thrsday June 24, 2010

    The only thing I can imagine: it's a [https://addons.mozilla.org/en-US/firefox/personas/ Persona].
    Tools->Add-ons->Themes
    Here should be the persona (lightweight theme)
    and a button "Remove"
    Click it (button Remove), and it (Persona, this mix of colors) should go away instantly.
    Does it help you?

  • Copying text to the clipboard in AVDocDidOpen event handler causes Acrobat 9 to crash

    I'm trying to copy the filename of a document to the clipboard in a plugin with my AVDocDidOpen event handler.  It works for the first file opened; however when a second file is opened, Acrobat crashes.  The description in the application event log is: "Faulting application acrobat.exe, version 9.1.0.163, faulting module gdi32.dll, version 5.1.2600.5698, fault address 0x000074cc."
    I've confirmed that the specific WIN32 function that causes this to happen is SetClipboardData(CF_TEXT, hText);  When that line is commented out and remaining code is left unchanged, Adobe doesn't crash.
    Is there an SDK function that I should be using instead of WIN32's SetClipboardData()?  Alternately, are there other SDK functions that I need to call be before or after I call SetClipboardData()
    Bill Erickson

    Leonard,
    I tried it with both "DURING, HANDLER, END_HANDLER" and "try catch," as shown below.  However, it doesn't crash in the event handler; it crashes later, so the HANDLER/catch block is never hit.
    The string that's passed to SetClipboardData() is good, because I'm able to paste it into the filename text box of the print dialog when I try to create the "connector line" PDF.  I also got rid of all the string manipulation and tried to pass a zero-length string to the clipboard but it still crashes.
    Here's the code:
    ACCB1 void ACCB2 CFkDisposition::myAVDocDidOpenCallback(AVDoc doc, Int32 error, void *clientData)
        PDDoc pdDoc = AVDocGetPDDoc(doc);
        char* pURL = ASFileGetURL(PDDocGetFile(annotDataRec->thePDDoc));
        if (pURL)    {
            if (strstr(pURL, "file://") && strstr(pURL, "Reviewed.pdf")) {
                // Opened from file system so copy filename to clipboard for connector line report
                char myURL[1000];
                strcpy(myURL, pURL);
                ASfree(pURL);    // Do this before we allocate a Windows handle just in case Windows messes with this pointer
                pURL = NULL;
                HGLOBAL hText = GlobalAlloc(GMEM_MOVEABLE, 1000);
                if (hText)    {
                    try
                        // Skip path info and go right to filename
                        char *pText = (char *)GlobalLock(hText);
                        char *pWork = strrchr(myURL,'/');
                        if (pWork)    {
                            strcpy(pText, pWork+1);
                        } else {
                            strcpy(pText, myURL);
                        char *pEnd = pText + strlen(pText);    // Get null terminator address
                        // Replace "%20" in filename with " "
                        pWork = strstr(pText, "%20");
                        while (pWork)    {
                            *pWork = ' ';
                            memmove(pWork+1, pWork+3, (pEnd - (pWork+2)));
                            pWork = strstr(pText, "%20");
                        // Append a new file extension
                        pWork = strstr(pText, ".pdf");
                        *pWork = 0;    // truncate the string before ".pdf"
                        strcat(pWork,".Connectors.pdf");
                        GlobalUnlock(hText);     // Must do this BEFORE SetClipboardData()
                        // Write it to the clipboard
                        OpenClipboard(NULL);
                        EmptyClipboard();
                        SetClipboardData(CF_TEXT, hText);     // Here's the culprit
                        CloseClipboard();
                        GlobalFree(hText);
                    } catch (char * str) {
                        AVAlertNote(str);
            if (pURL)
                ASfree(pURL);

  • 3rd party signature handler set in Adobe Acrobat 9 Professional Extended gets reset

    Hi All,
    I have got a 3rd party digital signature creating plug-in i.e. MySign . I have set it inside 'Preference > Security > Advanced Preferences > Creation > Default Method to Use when Signing and Encrypting Documents' > MySign. If I restart Adobe Acrobat that setting is lost and the Adobe Default Security handler is then used.
    I don't want to set handler manually every time I restart Adobe Acrobat. I have figured out that Adobe Acrobat is creating a registry entry named aPrivKey against that inside cHandlers BUT it gets removed on Adobe restart if I set MySign as the handler in the first place.
    Similarly I want the same handler to verify signatures. For that I have set 'Preferences > Security > Advanced Preferences > Verification > Always use the default method (overrides the document-specified method)' along with the name of handler i.e MySign but on restart of Adobe, this is also gets reset.
    Any idea how to set my handler as default to sign & verify without getting it reset?
    Regards,
    Wahaj

    Hi All,
    I checked with Adobe X and this issue is not present there.
    Regards,
    Wahaj

  • Event handling in abap objects

    hello friends,
                        i want to use the event RAISE_LINK_CLICK for single click.
    but i dont want 2 use this event for alv table.
                       i am displaying vendor name in my top of page,if the user click of the vendor name a new window should pop-up displaying the vendor details.
            my code for top of page is
                      DATA: lr_grid TYPE REF TO cl_salv_form_layout_grid,
              lr_grid_1 TYPE REF TO cl_salv_form_layout_grid,
              lr_flow TYPE REF TO cl_salv_form_layout_flow,
              lr_label TYPE REF TO cl_salv_form_label,
              lr_text TYPE REF TO cl_salv_form_text,
              l_text TYPE string.
        CREATE OBJECT lr_grid.
        lr_grid_1 = lr_grid->create_grid( row = 1 column = 1 ).
        lr_text = lr_grid_1->create_text( row = 1 column = 1 colspan = 2 text = <b>vendor_name</b> ).
        lr_grid_1 = lr_grid->create_grid( row = 2 column = 1 ).
        lr_flow = lr_grid_1->create_flow( row = 2 column = 1 ).
        lr_text = lr_flow->create_text( text = 'Reconcillation Statement'(t02) tooltip = 'Reconcillation Statement'(t02) ).
        alv->set_top_of_list( lr_grid ).
            do uc the VENDOR NAME in bold,wen the user clicks on it the pop should appear.
            so how to use the event RAISE_LINK_CLICK for this purpose,or is there another way through

    Hi Amit,
    I answered the similar question last week. You can see here  or .
    This example demonstrates how to use a Hiperlink field in ALV. These example was based on 'SALV_DEMO_TABLE_COLUMNS' that contains Hiperlink, icon, Hotspot...
    The Code is:
    REPORT zsalv_mar NO STANDARD PAGE HEADING.
    *       CLASS lcl_handle_events DEFINITION
    CLASS lcl_handle_events DEFINITION.
      PUBLIC SECTION.
        METHODS:
          on_link_click FOR EVENT link_click OF cl_salv_events_table
            IMPORTING row column.
    ENDCLASS.                    "lcl_handle_events DEFINITION
    *       CLASS lcl_handle_events IMPLEMENTATION
    CLASS lcl_handle_events IMPLEMENTATION.
      METHOD on_link_click.
        DATA: l_row_string TYPE string,
              l_col_string TYPE string,
              l_row        TYPE char128.
        WRITE row TO l_row LEFT-JUSTIFIED.
        CONCATENATE text-i02 l_row INTO l_row_string SEPARATED BY space.
        CONCATENATE text-i03 column INTO l_col_string SEPARATED BY space.
        MESSAGE i000(0k) WITH 'Single Click' l_row_string l_col_string.
      ENDMETHOD.                    "on_single_click
    ENDCLASS.                    "lcl_handle_events IMPLEMENTATION
    DATA: gr_events TYPE REF TO lcl_handle_events.
    TYPES: BEGIN OF g_type_s_outtab.
    INCLUDE TYPE alv_tab.
    TYPES:   t_hyperlink TYPE salv_t_int4_column,
           END   OF g_type_s_outtab.
    DATA: gt_outtab TYPE STANDARD TABLE OF g_type_s_outtab.
    DATA: gr_table   TYPE REF TO cl_salv_table.
    TYPES: BEGIN OF g_type_s_hyperlink,
             handle    TYPE salv_de_hyperlink_handle,
             hyperlink TYPE service_rl,
             carrid    TYPE s_carrid,
           END   OF g_type_s_hyperlink.
    DATA: gt_hyperlink TYPE STANDARD TABLE OF g_type_s_hyperlink.
    SELECTION-SCREEN BEGIN OF BLOCK gen WITH FRAME.
    PARAMETERS: p_amount TYPE i DEFAULT 30.
    SELECTION-SCREEN END OF BLOCK gen.
    START-OF-SELECTION.
      PERFORM select_data.
      PERFORM display.
    *&      Form  select_data
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM select_data .
      DATA: line_outtab  TYPE g_type_s_outtab,
            ls_hype      TYPE g_type_s_hyperlink,
            lt_hyperlink TYPE salv_t_int4_column,
            ls_hyperlink TYPE salv_s_int4_column,
            v_tabix      TYPE sytabix.
      SELECT *
        FROM alv_tab
        INTO CORRESPONDING FIELDS OF TABLE gt_outtab
            UP TO p_amount ROWS.
      LOOP AT gt_outtab INTO line_outtab.
        v_tabix = sy-tabix.
        ls_hype-handle    = sy-tabix.
        ls_hype-hyperlink = line_outtab-url.
        ls_hype-carrid    = line_outtab-carrid.
        INSERT ls_hype INTO TABLE gt_hyperlink.
        ls_hyperlink-columnname = 'URL'.
        ls_hyperlink-value      = sy-tabix.
        APPEND ls_hyperlink TO lt_hyperlink.
        line_outtab-t_hyperlink = lt_hyperlink.
        MODIFY gt_outtab FROM line_outtab INDEX v_tabix.
        CLEAR line_outtab.
        CLEAR lt_hyperlink.
        CLEAR ls_hyperlink.
      ENDLOOP.
    ENDFORM.                    " select_data
    *&      Form  display
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM display .
      TRY.
          cl_salv_table=>factory(
            IMPORTING
              r_salv_table = gr_table
            CHANGING
              t_table      = gt_outtab ).
        CATCH cx_salv_msg.                                  "#EC NO_HANDLER
      ENDTRY.
      DATA: lr_functions TYPE REF TO cl_salv_functions_list.
      lr_functions = gr_table->get_functions( ).
      lr_functions->set_default( abap_true ).
    *... set the columns technical
      DATA: lr_columns TYPE REF TO cl_salv_columns_table,
            lr_column  TYPE REF TO cl_salv_column_table.
      lr_columns = gr_table->get_columns( ).
      lr_columns->set_optimize( abap_true ).
    *... §4.7 set hyperlink column
      DATA: lr_hyperlinks TYPE REF TO cl_salv_hyperlinks,
            ls_hyperlink  TYPE g_type_s_hyperlink.
      DATA: lr_functional_settings TYPE REF TO cl_salv_functional_settings.
      TRY.
          lr_columns->set_hyperlink_entry_column( 'T_HYPERLINK' ).
        CATCH cx_salv_data_error.                           "#EC NO_HANDLER
      ENDTRY.
      TRY.
          lr_column ?= lr_columns->get_column( 'URL' ).
          lr_column->set_cell_type( if_salv_c_cell_type=>link ).
          lr_column->set_long_text( 'URL' ).
        CATCH cx_salv_not_found.                            "#EC NO_HANDLER
      ENDTRY.
      lr_functional_settings = gr_table->get_functional_settings( ).
      lr_hyperlinks = lr_functional_settings->get_hyperlinks( ).
      LOOP AT gt_hyperlink INTO ls_hyperlink.
        TRY.
            lr_hyperlinks->add_hyperlink(
              handle    = ls_hyperlink-handle
              hyperlink = ls_hyperlink-hyperlink ).
          CATCH cx_salv_existing.                           "#EC NO_HANDLER
        ENDTRY.
      ENDLOOP.
      DATA: lr_events TYPE REF TO cl_salv_events_table.
      lr_events = gr_table->get_event( ).
      CREATE OBJECT gr_events.
      SET HANDLER gr_events->on_link_click FOR lr_events.
      gr_table->display( ).
    ENDFORM.                    " display
    Regards.
    Marcelo Ramos

  • Raise without Handler error when printing pdf files in Outlook

    At work sometimes I'm asked to print emails with tons of attachments, but when I attempt to print the email with the attachments through outlook, anytime there is a PDF attached, I get the "Raise without Handler!" error and also the following window:
    The only way I'm able to print the PDF file is by opening the file directly and then printing it from the actual Acrobat program. At work we use Acrobat 7.0 Professional.
    Any help would be greatly appreciated as it's pretty time consuming when I'm printing an email with 20+ PDF attachments.

    Hi Hisami,
    Hope you are well.
    Latest adobe & chrome versions. IE is an older version.
    OS Windows home premium 7
    Adobe Reader X1
    Does adobe have chat?
    Bit of background:
    I have a monthly subscribtion with adope create and everything was working fine. Then I downloaded a free trial of I think acrobat so I could edit pdf and around the time I got a redirect virus on google chrome. So I deleted all adobe and used Norton power cleaner.
    Then tried download (reinstall) adobe create. Now I can't open any of my many pdf files. Just get 'Raise without handler".
    Thanks for looking into this,
    Andrew

Maybe you are looking for

  • Can't see video anymore...

    Hi, I don't know what happenned but I can't see my video anymore... They all became a white square with a X inside... It does the same thing if I import a new video. I tried uninstalling everything but it didn't work, I have Adobe presenter 9, I trie

  • Vertical lighting problems on 15"MBP

    Hi all. I've been having a problem with the display on my late-2008 (non-unibody) MBP. Most often it happens when the computer gets hot--gaming or watching movies. Anyway, the screen suddenly dims quite a bit, and I'm left with something like this: h

  • TopLink 9.0.4 to 10.1.3.1 upgrade issue

    I've encountered a problem when upgrading our application from TopLink 9.0.4 to 10.1.3.1. I have a persistent class AccountPosition that contains an aggregate object instance of the class FundQuantity. FundQuantity is basically a wrapper for a java.m

  • Buddy appears active when in .Mac but not AIM?

    I have the exact same buddy list for both my .Mac and AIM logins as I imported one into the other with AOL Instant Messenger. The odd thing is, when a certain buddy is available, they don't appear to be available when I'm logged in to AIM, but do whe

  • Camera shutter iphone 5 does not work

    shutter camera iphone 5 not working