ALV GRID WEB DYNPRO ABAP CREATE FUNCTION BUTTON ON A NEW LINE?

Dear all,
I'd like to create 2 pushbuttons on a second line of the alvgrid toolbar
Is there any way to do that ?
Regards

Hai Anubhav,
   Read the node which is binded to the alv and use the following syntax:
CALL METHOD node_first_page_output->get_lead_selection_index
  receiving
    index  = index
where index is type i. and will return u the lead selection.
  Regards,
   Madhu

Similar Messages

  • ALV GRID WEB DYNPRO ABAP

    I created an alv grid in my web dynpro...
    Everything worked fine ! Then I needed to add a column to the alv grid...
    SO
    1 - Chnaged the structure un SE11
    2 - Update component controller context so that the field is displayed
    3 - Update all bindings
    4 - Update biding between DATA and ALV Table
    But the column is not displayed by default in the alv grid ! But if I go to settings, the colomn is available...
    What should i do to display this column by default ???
    Regards,
    SteKam

    Yatah !
    I manage to show the columns by default !
    We discovered it was stored in the user settings...
    Then the question is ... "How do I disable user settings on ALV Grid"
    Thanks in advance!
    Stekam

  • Changing colour based on cells for ALV in Web Dynpro ABAP

    Hi,
    I have a requirement where I need to change the font color for some cells of ALV in Web Dynpro ABAP. I am able to change the font color for whole row or whole column but need to know how to change it based on cells.
    My output should be something like the picture attached to this discussion. The coloumns/cells where I need the font colour can change for different rows, based on some internal condition.
    Please let me know how to achieve this...... Thank you.
    - Divya Posanpally

    Hi Divya,
    Your requirement can be achieved as below
    Create an attribute for each column of alv i.e. COLOR_F1, COLOR_F2, COLOR_F3...... COLOR_F10 of type WDY_UIE_LIBRARY_ENUM_TYPE in the context node which holds the color value
    Now while configuring ALV, set the field name of semantic color for each column as below
                   data lv_color_fld_name type string.
                   data lo_text_view type ref to cl_salv_wd_uie_text_view.
              loop at lt_columns into ls_column.
              concatenate 'COLOR'  ls_column-id into lv_color_fld_name separated by '_'.
              lo_text_view ?=  ls_column-r_column->get_cell_editor( ).    
              if lo_text_view is bound.
              lo_text_view->SET_SEMANTIC_COLOR_FIELDNAME( value = lv_color_fld_name ).
              endif.
              endloop.
    Set the color based on the condition
             loop at lt_data into ls_data.
                        if ..... "your condition here.
                        ls_data-color_f1 = cl_wd_text_view=>e_semantic_color-NEGATIVE.
                        ls_data-color_f2 = cl_wd_text_view=>e_semantic_color-POSITIVE.
                        elseif...... " another condition
                        endif.
              endloop.
    Note: You can optimize the code as per your requirement
    Hope this helps you.
    Regards,
    Rama

  • How can i use vertical Scroll in ALV at web dynpro abap?

    Normally, i'm using 'UP/DOWN button' while set a alv in web dynpro though,
    wanna change to scroll vertically.
    well, there is a way using ifram so i cant make alv inside of ifram for make a scroll.
    but then, part of header also might be scroll together with data.
    so, i'm asking to help is there anybody who can let me know about it?
    Thanks.
    with Regards,
    Yui.

    Hi Suresh,
    I had the same problem. The reason is that the result of
      select * from wdy_app_property into table p_property_table
              where application_name = p_application.
    in CL_WDY_MD_APPLICATION=>GET_PROPERTIES_STATIC
    for p_property_table-value is not "SCROLLBAR" but " SCROLLBAR".
    Here is a workaround: type in the application parameters "SCROLLBAR " instead of "SCROLLBAR".
    Regards from Germany
    Udo

  • E-Recruiting u0096 Web Dynpro ABAP UI u0096 Button, Tab, RMP steps Color change.

    Hi,
    I need to change the color of Heading, buttons, Tabs and Road Map Pattern steps in Web Dynpro ABAP UI for external candidate. I’m looking into WDA component ‘HRRCF_C_STARTPAGE’ to change the color of Heading, buttons, Tabs and Road Map Pattern.
    I would appreciate for your valuable input.
    also i need to change the Loago. Is logo is configurable through IMG path (SPRO)?
    Do let me know, if you need anything else.
    See -> Error - when opening/downloading 'NW04SP14EclipseThemesEditor.zip'.
    Regards,
    ...Naddy
    Edited by: Naddy on May 14, 2008 11:06 PM

    Hi Naddy,
    Export the them from the file system of portal through BSP_UPDATE_MIMEREPOS and  change it then import the theme using BSP_UPDATE_MIMEREPOS program and apply the theme.
    go through this links hope these help you to solve your probelm.
    [url]http://help.sap.com/saphelp_nw2004s/helpdata/en/4e/7feef553415e4fb357e80f7a6223b1/content.htm [url]
    [url]http://help.sap.com/saphelp_nw04s/helpdata/en/43/d8e0a488ef05f6e10000000a11466f/content.htm [url]
    [url]/people/sergio.ferrari2/blog/2007/04/06/bsphowto--customizing-the-design-of-system-logon-page-in-netweaver-04 [url]
    [url]/people/sergio.ferrari2/blog/2007/02/16/sap-web-ashowto--customizing-the-design-of-system-logon-page-new-options-of-the-netweaver-04s [url]

  • ALV in Web dynpro ABAP - Export option as HTML

    Hi All,
    I am developing a webdynpro application for which output will be in ALV.
    Here the requiremnet is to save the file in HTML format.
    But the Standard ALV in web dynpro has only the option to export the result in Excel and PDF.
    Could any one suggest or tell me that is there any customized way to add the HTML format option in the ALV.
    The output of the ALV should be saved as HTML.
    Note: In R/3, The ALV provides us with both Excel and HTML format.
    Thanks,
    Aruna

    Hi,
    You should be looking [http://weblogs.sdn.sap.com/cs/blank/view/wlg/20046?page=last&x-order=date|http://weblogs.sdn.sap.com/cs/blank/view/wlg/20046?page=last&x-order=date]
    And also look in code exchange place .

  • ALV in Web Dynpro ABAP

    Hi
    I am using the ALV for displaying contents of a table. Is it possible to have a table cell with menu options? Sort of like a button choice UI element for a table cell?

    Hi,
    Thanks for the information.
    Actually what I want is the following:
    I have seen this in some ALV table in WDP. But I think it is WDP for Java. So I do not know if it is possible in WDP for ABAP.
    For example, I have a table of elements. I could possibly perform operations on multiple rows of the table, as well as a single row of a table. In case of multiple rows, i can select the rows and click on a table toolbar button.
    Now for an operation on a single row, I want to do it at the row level itself. Therefore, somewhere in the table row itself i should be able to trigger an operation(out of a set of operations) in the context of that row.
    Take for example the Button Choice UI element. This element provides with more than one action for the button. I want something similar. ALV allows to embed a button as a table cell element, but I have not seen any example with button choice as a table cell element. Is it possible? Or is there some other way of doing this? Can it be done in a normal table?
    Thanks and Regards
    Wenonah

  • Remove buttons in ALV grid display in ABAP Web Dynpro

    Hi,
    Sub: ALV grid-->Web Dynpro ABAP.
    Request guidance to prevent display of the buttons "Microsoft Excel" and "Print Version" (which provide options to export the ALV grid output into an Excel format document).
    Is there a way we could hide this from being displayed on the ALV grid in a Web dynpro ABAP component output?
    Thanks very much.
    Best Regards,
    Adi

    Hi Adithya,
    really simple solution is to call cl_salv_wd_model_table_util=>if_salv_wd_table_util_stdfuncs=>set_all( abap_false ). This deactivates all ALV functionality.
    For individual setting cl_salv_wd_config_table if_salv_wd_standard_functions~set_<x>_allowed.
    - Michelle

  • How to fix few rows in ALV after filtering on a column in Web Dynpro ABAP

    Hi,
    I have the following requirement:
    In an ALV, when i filter based on a column, then this filter should not be applied to 2 of its rows.
    These rows relate to totals. The totals are manually calculated as they require other component information too.
    Along with the filter result, these total rows have to be displayed.
    Let me know in case ALV in Web Dynpro ABAP supports this functionality.
    Regards,
    Rekha

    Hi,
    ALV table does not support this functionality.
    You can display the total in an another table instead.
    I had the same requirement with total and had to display the totals separately.
    Thanks,
    Feroz

  • Web dynpro Abap - Adobe Form Table Dynamic

    hi Friends ,
    I created one table in ADOBE interactive form  and i kept two button for row add and row delete in table
    it is working fine in Adobe fomr Preview form
    but i deployed in Web dynpro abap this functionality is not working is there any reason
    Pls give suggestion
    Regards
    Krishnan R.

    Krishnan,
    Check if the form is Interactive and also  have you installed Adobe Reader Rights on the server. If not please check note 736902 and ask BASIS to apply them.
    Chintan

  • How to modify themes in web dynpro abap

    How can we identify which css file and class are used in web dynpro abap iview ?? I m new to web dynpro abap application. I need to change the look and feel of the page developed in web dynpro abap.
    How i can use css files to change the UI of the page and how can i reach to the css file and class of  a particular page developed in web dynpro abap. When we run the abap application on browser we don't get view source of it. Please tell me the ways to find the css and class files to modify them

    >
    Narendra wrote:
    > Hi,
    >
    > You can create one .css and .js page of page type Page with Flow Logic.and can make use in your normal .htm page..
    >
    >
    > Regards,
    > Narendra.
    I don't believe that your answer applies to Web Dynpro ABAP.  Page with Flog Logic sounds like BSP.  Please make sure you are posting about the correct technology.

  • Web Dynpro (ABAP) application in HCM

    Hi,
    I am working in SRM custom development in Web Dynpro (ABAP). I have to work now with HCM development.
    Is it any specific method or procedure to develop/change the Web Dynpro (ABAP) application in HCM .I am new to HCM Functional.
    Pl help me.
    Thanks in advance.
    sri

    Hi,
    In the HCM(Humaan Capital management) also there are the related FM ie BAPIs and also the corresponding BOR (business objects) where you can use them in the WDA.
    Here the data is stored in Infotypes. Where all the historical records for each employee/organization etc are maintained.
    It's better to have an idea on the HCM structure that would be enough in understanding the BAPIs etc.
    Regards
    Lekha

  • How to add button ui element in alv table data in web Dynpro ABAP

    Hi Experts,
    I have one requirement,
    Actually I was devloped normal table in web Dynpro ABAP
    in that i have one column Display as a button .
    when i select that button need to display some data.
    same requirement i need to devlope in alv table.
    i am going to attach file please check.
    Thanks in advance.
    Regards,
    Subba Reddy.

    Hi,
    You can create Button in your ALV table column with below code
    DATA lo_button              TYPE REF TO cl_salv_wd_uie_button.
    CREATE OBJECT lo_button.
        CALL METHOD lv_value->if_salv_wd_column_settings~get_column
          EXPORTING
            id    = <your column name>
          RECEIVING
            value = lo_system_select_hdr.
        lo_button->set_enabled( value = abap_true ).
       lo_button->set_text( value = 'Avaliable List'  ).
        lo_button->set_tooltip( value = 'Avaliable List' ).
        lo_system_select_hdr->set_cell_editor( value = lo_button ).
    And for button click action,
    Create a method (say SHOW_DATA( ) ) with on_click event handler.And when you click button on your ALV table, SHOW_DATA( ) method will trigger.
    Thanks
    KH

  • Web Dynpro ABAP ALV menu button icon image

    Hi
    Does anybody know how to add or link an image or an icon to a menu button in a
    Web Dynpro ABAP ALV view?
    I know how to do it in the alv table column but can't find a method for a menu button.
    Best regards
    Lars

    Hi
    Found the answer:
      DATA: lr_febutton TYPE REF TO cl_salv_wd_fe_button.
      lr_febutton->set_image_source( '@4B@' ).
    Just used a wrong class.
    Best regards
    Lars

  • Calling a smart form on click of a button in web dynpro abap

    Hi experts,
    I have a requirement like if I click a button in a view i need ti generate a PDF through smart form.
    Is this possible. If so please tell me the way..
    Thanks & Regards

    Hi Sharma,
    Create Interactive form in your view, create one node say PDF_SOURCE under this one attribute PDF_SOURCE of type XSTRING.
    Bind this to IF form Datasource and pdfsource.
    in your button action write code to call your smartform
    using SSF_FUNCTION_MODULE_NAME
    using FM  CONVERT_OTF and attach_file_to_response
    *convert to pdf
      call function 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = lv_bytecount
        TABLES
          otf                   = ls_job_output_info-otfdata
          lines                 = lt_lines
        EXCEPTIONS
          err_conv_not_possible = 1
          err_bad_otf           = 2.
      loop at lt_lines into ls_line.
        lv_string = ls_line.
        export mydata = lv_string to data buffer lv_buffer.
        import mydata to l_xline from data buffer lv_buffer in char-to-hex
        mode.
        concatenate l_pdfstring l_xline into l_pdfstring in byte mode.
      endloop.
      call method cl_wd_runtime_services=>attach_file_to_response
        EXPORTING
          i_filename      = 'ZWTY_PACKINGSLIP'
          i_content       = l_pdfstring
          i_mime_type     = 'BIN'
          i_in_new_window = abap_false
          i_inplace       = abap_false.
    also check this..
    http://abapcodexperiments.wordpress.com/2011/03/20/smartform-pdf-webdynpro-abap/
    Call smartform in web dynpro abap
    Cheers,
    Kris.

Maybe you are looking for

  • How to find your "List of all the Registered Apple Products" using your Apple id

    Guys...... Previously was not able to find my list of registered apple products...  After a bit of dwelling into Apple websites found the right link. I saw another post dated back in 2010 which is now archived, but with out the right location to see

  • Can't open a reader extended pdf in IE

    I have a form that was originally a word document and then converted to a pdf.  I used Acrobat X Pro to create form fields and then saved it as a reader extended pdf with enabled additional features.  I uploaded it to my web server and it opens fine

  • What program do I use to open a .bundle?

    This sounds like a rediculous question. Also you might not think it was applicable to windows compatibility but it is. I downloaded a dmg of a program called "WINE" (stands for WINE Is Not an Emulator). In it, it has a file called Wine.bundle. Well w

  • Update on Partitioned table

    Hi Friends, I've a table which is partitioned based on the day of year. I need to know if the UPDATE statement on this table would consider ONLY the specific partition even if I DON'T SPECIFY the PARTITION clause in my UPDATE statement. Hope my doubt

  • I purchased but I can't get PDF to excel

    I purchased in order to get PDF to Excel, but it does not work. What do I need to do, or what have I not done correctly? Thanks, momof9