POPUP after selecting button in ALV

Hello everyone.
I have an ALV (called with FM 'REUSE_ALV...') with a gui status of its own. I added a new button that must popup a window with information on some variables i just ended calculating.
I allready tried using 'call screen' and the command 'window', but i'm having some troubles with it. Can someone please give me a simple example on doing this ?
Message was edited by: Nuno Santos

Hi
Use the ALV popup in that u can specify screen size.
  CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
       EXPORTING
             I_TITLE      = 'details'(050)
        I_SELECTION             = 'X'
        I_ZEBRA                 = ' '
            I_SCREEN_START_COLUMN   = 1
            I_SCREEN_START_LINE     = 1
            I_SCREEN_END_COLUMN     = 150
            I_SCREEN_END_LINE       = 70
        I_CHECKBOX_FIELDNAME    =
        I_LINEMARK_FIELDNAME    =
           I_SCROLL_TO_SEL_LINE    = 'X'
            I_TABNAME               = 'IT_table'
        I_STRUCTURE_NAME        =
           IT_FIELDCAT             = IT_FIELDCAT_POP[]
        IT_EXCLUDING            =
        I_CALLBACK_PROGRAM      =
        I_CALLBACK_USER_COMMAND =
        IS_PRIVATE              =
   IMPORTING
        ES_SELFIELD             =
        E_EXIT                  =
       TABLES
            T_OUTTAB                =  IT_IDOCMESS2
      EXCEPTIONS
           PROGRAM_ERROR           = 1
           OTHERS                  = 2
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
regards
vijay

Similar Messages

  • Disable select button in ALV report.

    Hi,
    i have an alv report with a select colunn, is there a way to disable a select botton in a specific row ?
    for example i have a report with 30 rows i want to disable the select botton in row 15.
    thanks
    Elad.

    Hi,
    Try this
    DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
      LOOP AT it_ekko INTO wa_ekko.       "loop on your internal table
        IF sy-tabix = 15.
          ls_stylerow-fieldname = 'SELECT' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    Thanks,
    Anitha A

  • Lead Selection does not work after setting filter for ALV.

    Hi, Can you please suggest on below scenario :
    I have a Node with a sub node in it .
    I am using the supply function on Sub Node to retrieve the date based on Parent Node.
    There are two ALV's to display parent and item data. The issue is when a filter(user defined filter) is done on Parent table, the supply function does not work. The value is that of the selected row before setting the filter. Even after removing the filter, the item data is stuck and does not change on Lead Selection.
    One thing I noticed is if the child table is a table UI, there is no issue. The only problem is when the second table is ALV
    Thanks In Advance

    Hi Prashanthi,
    Your issue can be resolved as below
    Create an event handler method 'set_alv_data'  for the event 'ON_LEAD_SELECT' of parent alv
    Write the below code inside the event handler method
    METHOD set_alv_data.
      DATA lo_node TYPE REF TO if_wd_context_node.
      DATA lv_path TYPE string.
      DATA lv_index TYPE string.
      lv_index = r_param->index.
      CONDENSE lv_index.
      CONCATENATE wd_this->wdctx_my_parent_node
      lv_index
      wd_this->wdctx_my_child_node
      INTO lv_path SEPARATED BY '.'.
      lo_node = wd_context->path_get_node(
          path                          = lv_path
      DATA lo_interface TYPE REF TO iwci_salv_wd_table.
      lo_interface = wd_this->wd_cpifc_alv_child( ). "get the ref of alv comp of child
      lo_interface->set_data(
        EXPORTING
    *    only_if_new_descr =
          r_node_data       = lo_node
    ENDMETHOD.
    The above code sets the data node of child alv based on lead selection of parent alv data.
    Note: Replace 'parent_node', 'child_node'  with your nodes & 'alv_child' with your alv component name of child alv.
    If you want to control the data of child alv on filter function, you can use the event ON_STD_FUNCTION_AFTE and once you define the filter you get the r_param->id = 'SALV_WD_FILTER_DEFINE'  & now you can clear data of child alv.
    Hope this helps you.
    Regards,
    Rama

  • Safari 5 doesn't open new pages after website button selected

    Hi. I am unable to load some websites after selecting some buttons on popular sites including PayPal and www.ryanair.com.
    Actually I am unable to book a flight ticket and I had to visit my friend to do so on his computer. The same happens when I try to log in into PayPal account. After hitting *"Log In"* button there is NO action with Safari 5. No new Tab, no new window, no progress bar... Nothing.
    The same happens with my MacBook. At ryanair.com after selecting the flight I am unable to proceed by hitting the button *"Select and Continue"*. Button *"New Search"* works normally.
    Exactly the same situation on both Macs. Latest Safari 5 update. Both websites works under Firefox on both computers.
    Does anybody has any idea what might be the problem?
    I have repaired permissions already - no help.
    Thanx a lot for any ideas.

    Ok...
    Uppps, there is one change - PayPal site shows some action in the status bar, but without an effect.
    If you are connecting to the internet using a cable modem, try disconnecting for 5 minutes, then reconnect and relaunch Safari.
    See if you have any Safari third party plugins... Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    If the problem isn't third party plugins, install the v10.6.3 Combo Update It's ok to do this even if you are already running v10.6.3.
    Then repair disk permissions (again).
    Also, have you tried using a different browser??? Always good to have a back up.
    Logging into another user account, try Safari there. If you have the same problems there, then it's a system wide glitch, not just isolated to your user account.

  • During audio messaging the send button does not switch to  a microphone after selecting a contact

    During audio messaging the send button does not switch to a microphone after selecting a contact

    Actually, this problem is the same as the one described in your other thread, and should be fixed as well after following the procedure described there.

  • Multiple selection in the ALV is not possible after system upgrade

    Hi Colleague,
    I had been using an ALV, which was performing as desired before, but recently we had a system upgrade to NW7.0 and after that in this ALV multiple selection of records/rows is not allowed.
    The colleagues who upgraded the system suggested that this may be because this ALV is instantiated at many places. I would request you to kindly provide a solution for the same ASAP, as I am not able to proceede ahead.
    Warm regards,
    Roopesh

    Hi all,
    Thanks for your replies, I had figured out the actual problem. The reason was, the referance of the selected rows was lost as I was doing bind elements to the context after moving to wddomodify.
    So I figured out an alternative solution to avoid binding on selection of records.
    Best regards,
    Roopesh
    Edited by: Roopesh Dolle on Apr 14, 2011 7:04 AM
    Edited by: Roopesh Dolle on Apr 14, 2011 7:05 AM

  • How to add Change Layout, savelayout, select layout Button to ALV Toolba

    How to add Change Layout, savelayout, select layout Button to ALV Toolbar?
    Moderator message: please (re)search yourself before asking.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    locked by: Thomas Zloch on Sep 10, 2010 10:57 AM

    Variant
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = gs_variant
                i_save              = c_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = gf_exit
                es_variant          = gs_variant
           EXCEPTIONS
                not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF gf_exit = space.
          cf_varia = gs_variant-variant.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save        = c_save
        CHANGING
          cs_variant    = gs_variant
        EXCEPTIONS
          wrong_input   = 1
          not_found     = 2
          program_error = 3
          OTHERS        = 4.
      IF sy-subrc NE 0.
        cf_subrc = sy-subrc.
      ENDIF.
    Change Layout, savelayout, select layout Button  pass the value which is in BOLD
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                =  gd_repid
         i_callback_user_command           =  'U_COMMAND'
         i_callback_top_of_page            = 'TOP-OF-PAGE'
                         is_layout                    =  fld_lay
           it_fieldcat                  =  fieldcatalog[]
                       IT_EXCLUDING                  =
                       IT_SPECIAL_GROUPS             =
                       IT_SORT                        =  it_sort[]
         i_default                      = 'X'
         i_save                         = 'A'
         is_variant                     = gs_variant
         it_events                      =  it_event[]
        TABLES
          t_outtab                      =    it_sales
                     EXCEPTIONS
                       PROGRAM_ERROR                     = 1
                       OTHERS                            = 2
    Annasaheb

  • Setting button property after selecting data from list

    I am not able to set the button property after selecting data from list.
    I would like to say that
    * If a user select an item from list, then user is only allowed to update or delete the data. The update and delete button should be enabled and save button should be disabled.
    * If the users types data manually, then user is allowed only to save this as new entry. The update or delete button at this time should be disabled and only save button should be enabled.
    I want to say that
    In both case, value will be there
    In one case, value will be from list and that is available for update or delete
    in another case, value will be typed from keyboard that is available for save(new entry).
    I do not want to use separate form for update/delete/save new record. I want to use single form for all these operations.
    I am using Form 6i and oracle 8
    Please guide me, I am trying to find this answer for last four days, but could not find the answer. Please help me. Waiting for you reply...

    Thanks Mr. fdellipriscoli,
    But where should this code be written and
    Where the parameter be set to 'YES'
    I think this code should be written somewhere when calling list.
    But bydefault list is called by pressing F9 key. Then where the parameter be set to 'YES' .
    Please help Mr. fdellipriscoli. Waiting for your reply...

  • TS4009 How do you downgrade to the free option or get refund? After selecting free the done button can not be pressed.

    How do you downgrade to the free option or get refund? After selecting free the done button can not be pressed.

    Refund:
    If in the US, follow the link below (you must request a refund within 15 days) -
    https://discussions.apple.com/message/16968425#16968425
    it gives the USA phone number - if you don't live there you will have to find an equivalent number from the 'Contact Us' link at bottom right of this page.
    Keeping current plan, but downgrading when it ends:
    Settings>icloud>Storage & Backup>Change Storage Plan.  Look at downgrade options.  There you can choose the plan you want when the current one ends.

  • After several time installed CS6 and a clean Windows 8.1 bridge still pause after selecting a picture or right click with button mouse.

    My bridge pause all the time. I have to wait 30 seconds after selecting a picture or click the right button of the mouse. I have installed a new windows 8.1, and a fresh CD6. But still these problems in Bridge. No problems in Photoshop. What to do

    What is the problem:
    When I choose a picture in Bridge I have to wait 20 till 30 seconds (sometimes more).
    When I choose with right click of the mouse. I have to wait the same time.
    When I choose the menu. Also
    After opening the picture(s) in Camera RAW. There are no problems
    In Photoshop there are also no problems. Everything works all right.
    Only Bridge have these problems. But I can’t work with it.
    My Computer
    HP Z820 with double     CPU Type           Mobile Intel Celeron M, 2000 MHz
    Nvidia Geforce GTX 980 card
    System memory 64 Gb
    Windows 8.1 Home Edition
    All software is up to date, incl BIOS
    DirectX 4.09.00.0904 (DirectX 9.0c)
    Lots of space on my disc drives
    Software: Adobe Master Collection. But only installed Photoshop and Adobe Acrobat
    Installation done with my original DVD of Adobe. All software updated
    But still problems
    Software installed again (including Windows).
    Now installed adobe from a download version from adobe.
    Still the same problems
    I have no illegal software!
    Multimedia      
    Geluidskaart     SB Recon3D PCIe Audio Controller
    Opslag 
    IDE apparaat     Standaard Dual Channel PCI IDE Controller
    SCSI/RAID apparaat       Controlefunctie voor opslagruimten van Microsoft
    SCSI/RAID apparaat       Intel(R) C600 Series Chipset SAS RAID (SATA mode)
    SCSI/RAID apparaat       Intel(R) C600 Series Chipset SATA RAID-controller
    SCSI/RAID apparaat       LSI Adapter, SAS2 2308 Mustang
    Harde schijf       ATA Samsung SSD 850 SCSI Disk Device
    Harde schijf       ATA SAMSUNG SSD 830 SCSI Disk Device
    Harde schijf       SEAGATE ST3450856SS SCSI Disk Device
    Harde schijf       SEAGATE ST3450856SS SCSI Disk Device
    Optische Station             HL-DT-ST BD-RE  BH16NS40
    Optische Station             hp DVD-RAM GHA3N
    SMART Status harde schijf         Onbekend
    Partities             
    C: (NTFS)            243668 MB (150173 MB vrij)
    D: (NTFS)            122101 MB (65332 MB vrij)
    E: (NTFS)            429244 MB (322019 MB vrij)
    F: (NTFS)            429244 MB (243491 MB vrij)
    Geheugencapaciteit       1195.6 GB (762.7 GB vrij)
    Invoerapparaten           
    Toetsenbord     Logitech HID-Compliant Keyboard
    Toetsenbord     Standaard-PS/2-toetsenbord
    Muis     HID-compliant Mouse
    Muis     Microsoft PS/2-muis
    Netwerk            
    Netwerkkaart    Intel(R) 82574L Gigabit-netwerkverbinding  (192.168.178.37)
    Netwerkkaart    Intel(R) 82579LM Gigabit Network Connection
    Peripherieapparaten    
    Printer  Adobe PDF
    Printer  EPSON XP-950 Series
    Printer  HP 4730 PCL 6
    Printer  Microsoft XPS Document Writer
    USB1 apparaat Texas Instruments USB 3.0 eXtensible Host Controller - 0096 (Microsoft)
    USB2 apparaat Intel(R) C600/X79 series chipset USB2 Enhanced Host Controller #1 - 1D26
    USB2 apparaat Intel(R) C600/X79 series chipset USB2 Enhanced Host Controller #2 - 1D2D
    Van: station_two 
    Verzonden: maandag 13 april 2015 21:58
    Aan: johan van der klaauw
    Onderwerp:  After several time installed CS6 and a clean Windows 8.1 bridge still pause after selecting a picture or right click with button mouse.
    After several time installed CS6 and a clean Windows 8.1 bridge still pause after selecting a picture or right click with button mouse.
    created by station_two <https://forums.adobe.com/people/station_two>  in Bridge General Discussion - View the full discussion <https://forums.adobe.com/message/7434796#7434796>

  • Cannot select buttons in FileMaker after Mountain Lion Install

    Because the installer claimed I'd tinkered with my partitions (I haven't, unless accessing BootCamp from Parallels counts), I had to do a clean install of Mountain Lion. That in itself was a pain because I could not successfully create an installer on a USB flash disk after several attempts. I had to boot over the internet. After successfully creating a virgin 10.8 system, I restored my system from Time Machine, last backup a few minutes before I started this process.
    None of my mail configuration carried over -- rules, signatures, smart folders all lost. Also lost SignatureProfiles preferences, including the registration code. Those are all things I can painfully recreate. However, I am unable to use FileMaker Pro. When it opens, I am unable to select buttons in the format bar, buttons in my applications, and can't resize the window. I have removed ~/Library/Preferences/*trackpad* and *mouse* to no avail. Removed ~/Library/Preferences/*FileMaker* files (all the way back to FileMaker 5). To no avail.
    I created a new account on my system and FileMaker runs fine.
    Which preference file is corrupt?

    Okay, I logged out, logged in as root, copied all of top root level directories into the new account and changed their ownership appropriately. FileMaker works. I deleted my account, and renamed the new account using apple method to my old account name, and FileMaker fails. Renamed it again to a different name, and it works. I guess 'sbradley' is an invalid account name
    Still wishing I could recover my rules and signatures.

  • Radio button in ALV popup

    Hi,
    I am using the function module , ''REUSE_ALV_POPUP_TO_SELECT'' to get the pop-up in the ALV output.
    *-- To get the Popup in the ALV.
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title              = text-f04
          i_zebra              = 'X'
          i_checkbox_fieldname = 'CHECK_BOX'
          i_tabname            = 'GT_DOWLD_TYPE'
          it_fieldcat          = lt_fcat_popup
        TABLES
          t_outtab             = gt_dowld_type
        EXCEPTIONS
          program_error        = 1
          OTHERS               = 2.
    *-- Check for Sy-subrc.
      IF sy-subrc <> 0.
    *-- If Sy-subrc not equals to 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    This is giving the Popup with check box, But i need to have a popup with Radio button.
    So is it possible to create a Pop-up with Radio button? If so how can i do that? (Can i pass through Fieldcat?)
    Please help me on this.
    Thanks,
    Satheesh.

    Search in SDN you will get many examples on this. Refer below link
    http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-RadioButtonsinALVGRIDREPORT

  • How to eliminate  select message  after Radio button in ADF tables

    how to eliminate select message after Radio button in ADF tables
    example <f:facet name="selection">
    <af:tableSelectOne>
    </af:tableSelectOne>
    </f:facet>
    output:
    radobutton select
    radiobutton select
    please help me regarding this issue.

    Hi,
    this usually has a text String in the header saying "Select and .." which can be changed through the property inspector for the TableSelectOne component
    Frank

  • I do not have an option to join tracks in Itunes 11.2.2.3. My options button has only two choices after selecting multiple tracks.

    I do not have an option to join tracks in Itunes 11.2.2.3. My options button has only two choices after selecting multiple tracks - get track names and submit cd track names. How do I join multiple tracks into one?

    Weird, works for me.
    tt2

  • TV screen frozen on Apple logo after pressing select button on remote.  Have powered off Apple TV and router.

    TV screen is frozen after pressing select button on remote.  Have powered off both Apple TV and router. Menu does not come up. All that is on TV screen is Apple logo with black screen.

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

Maybe you are looking for

  • HP Laserjet 1022 and Other USB Devices

    Hi All, I have an issue with a HP Laserjet 1022 printer and a HP Pavilion A145.uk desktop computer. When the printer is connected to the computer it all works fine, when I try to insert a Kingston flash drive all I get is a message saying USB Device

  • Bank Name Within Outgoing Payment PLD

    Dear All,          My Client is working on SAP B1 2007 B PL10. Now my client wants Bank Name to be displaced in the Header Level of the Outgoing Payment PLD.         Please guide me in this matter. Regards Hitesh Parsawala

  • Check boxes in Manage Manually

    I prefer managing my music manually. If I wish to sync only the "Recently Added", and not delete all other files already loaded on my iPod, can I just check this specific box? Thanks

  • Problem after starting  OracleMSCSService on standby system

    Hello All, Platform : Windows-2008Server 32 bit,Oracle10gStandard,OracleFS 3.4 I have two cluster nodes with Microsoft clustering and Oracle Fail Safe. All my services were up and running on primary node but the OracleMSCSService was offline on the s

  • Obtain reference to the IPortalComponentRequest in TagLib

    Hi, I created a custom Taglib in a Portal Component according to the tutorial http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40599e45-8cf9-2910-cbaa-d4cd8e15ff34?QuickLink=index&overridelayout=true. Now I need to obtain a referenc