ABAP Web Dynpro ALV: event for "tabel selection menu" needed

Hi all,
we need to react on the "table selection menue" control in our ALV grids. We found, that event "lead_select" is triggerd, if single lines are selected and if "delete selection" from the table selection menu is used.
But if the "select all" item is used, the event is not triggered.
Is there another event we can use? Does anybody know a sensible workaround for this problem?
Thanks  and regards
Joachim

Hello Joachim,
perhaps it's better to post your question in the WebDynpro ABAP forum:
Web Dynpro ABAP
Best regards
Stephan

Similar Messages

  • ABAP Web Dynpro, ALV, Cardinality 0..n, Remove Select/Deselect All

    Hi Everyone
    I am developing a new application using ABAP Web Dynpro. I am using ALV. I want to give the user the option to select either 0 or multiple rows in the ALV grid. However, I want to hide the standard Select All/Deselect All push button that appears in the top left hand corner. This is because we do not want the user to simply select all and then click on a pushbutton to complete the process. If they wish to do this, they must manually select each item first of all. Anyone have any ideas? I've looked at the underlying ABAP classes for WD4A, but cannot find a method to do this.
    Thanks in advance for your help!!
    Jon

    Hello,
    To hide the buttons that appear at the top left of ALV, do the following:
    lo_model->if_salv_wd_std_functions~set_edit_check_available(
        EXPORTING value  = abap_false )   .
      lo_model->if_salv_wd_std_functions~set_edit_append_row_allowed(
          EXPORTING  value  = abap_false )  .
      lo_model->if_salv_wd_std_functions~set_edit_insert_row_allowed(
        EXPORTING  value  = abap_false )   .
      lo_model->if_salv_wd_std_functions~set_edit_delete_row_allowed(
        EXPORTING  value  = abap_false )   .
      lo_model->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
      lo_model->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).
    lo_model->if_salv_wd_std_functions~SET_EXPORT_ALLOWED( abap_false ).
    Hope this helps!
    Regards,
    Srilatha

  • ABAP Web Dynpro ALV

    How does one enable:
    1) Column selection (single & multi)?
    2) Cell selection (single & multi)?
    This is Web Dynpro ALV 2004S support stack 6.
    Regards,
    Glenn.

    hi
    good
    go through these links, i hope these ll help you to solve your problem,
    http://www.sap-press.de/download/dateien/1079/sappress_web_dynpro_for_abap.pdf
    http://help.sap.com/saphelp_nw04s/helpdata/en/b5/ac884118aa1709e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9
    thanks
    mrutyun^

  • ABAP Web Dynpro ALV - User Defined Functions

    Dear All,
    I don't know if my question is worth a new topic, but since I haven't found any appropriate answer by now I want you to ask the following:
    We're using the ALV web dynpro component to manage data and have added user functions in order to display buttons for saving data and adding new lines.
    Everything worked fine for us until some users adjusted the default view of the table by using the default 'Settings' option to hide some columns.
    The problem we're facing now is that the labels of the additional buttons - which were set up by use of OTR texts on initialisation of the dynpro - are blank until the user navigates on the dynpro or changes some cell contents. After that labels are shown correctly again.
    The problem is that I cannot simulate this dynamically, neither I can narrow down the source of the problem at all.
    A prompt reply would be very much appreciated

    Hi Eddy,
    Could you please create a CSN ticket for this problem, the component is BC-WD-CMP-ALV.
    Please enter all relevant data and access to your system to the message.
    Thanks,
    Regina

  • Web Dynpro ALV - get Columns of selected Variant

    hi folks,
    we use the personalization manager to set a start-up variant for displaying data in WD Abap ALV.
    However, now we need the possiblity to get the columns shown on the screen (of that variant).
    Using the functions like
      lr_column_settings ?= wd_this->go_table.
      lt_columns = lr_column_settings->get_columns( ).
    on my config-table i always get ALL columns in the order of the Table i submitted to the ALV component.
    What we need is as mentioned above to get the columns in order that are on the screen at the moment (or of that variant).
    does anyone has a hint for me how to do that.
    kind regards,
    oliver

    Thanks Oliver for the quick reply,
    I tried the below code I am getting the variant right, but not the columns associated with the variant.
    I get all the columns. Please check if I am missing anything,
          DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
          lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_em_list_alv( ).
          data: lo_api_interfacecontroller type ref to IF_WD_CONTROLLER,
                lo_pers TYPE REF TO if_wd_personalization,
                lt_pers_table_ref TYPE REF TO IF_WD_PERS_TABLE,
                lt_pers_table TYPE STANDARD TABLE OF WDR_PERS_DATA.
          lo_api_interfacecontroller = lo_INTERFACECONTROLLER->wd_get_api( ).
            CALL METHOD lo_api_interfacecontroller->get_personalization_manager
              RECEIVING
                pers_manager = lo_pers.
            DATA: ls_config_key type WDY_CONFIG_KEY,
                  ls_PERS_SCOPE TYPE WDR_PERS_SCOPE,
                  ls_loaded TYPE WDY_BOOLEAN,
                  ls_desc TYPE WDY_MD_DESCRIPTION.
            CALL METHOD lo_pers->GET_STATE
              IMPORTING
                CONFIG_KEY  = ls_config_key
                PERS_SCOPE  = ls_PERS_SCOPE
                IS_LOADED   = ls_loaded
                DESCRIPTION = ls_desc. -> Gives me the Variant info
          data: ls_param_in type if_salv_wd_table=>s_type_param_config_in,
                lv_s_param_out TYPE if_salv_wd_table=>s_type_param_config_out,
            LS_r_model type ref to cl_salv_wd_config_table.
          ls_param_in-action = if_salv_wd_table=>set.
          ls_param_in-config_key = ls_config_key.
          ls_param_in-is_model_requested = 'X'.
          lv_s_param_out = lo_interfacecontroller->get_config_data(
            s_param_in =  ls_param_in                    
        LS_r_model = lv_s_param_out-r_model.
          data: lr_column_settings type ref to if_salv_wd_column_settings,
                lt_columns TYPE STANDARD TABLE OF SALV_WD_S_COLUMN_REF.
          lr_column_settings ?= LS_r_model.
          lt_columns = lr_column_settings->get_columns( ). -> this gives me all columns, not columns associated to variant
    Regards,
    Prasad

  • Call a ABAP Web-Dynpro-application via a BSP-Application

    We have a BSP-Framework, that call several applications among other things other BSP-Applications, ITS-Application and other systems. Now I want to integrate a ABAP Web Dynpro-Application.
    For the moment I can call the ABAP Web Dynpro-Application from our application.
    This application runs in the same session as the Framework (verify in transaction sm04).
    When I want to call another application in the Framework, the session will be killed (no more sessions in sm04). This happens also, when I want to call the ABAP Web Dynpro-Application a second time.
    I guess, that the ABAP-Framework thinks I want to go outside the system (for example www.google.de) and close the session. I found out, that this wouldn't happen, if the application were suspended. But I found no way to tell the application via a url-parameter to suspend.
    Can someone help me?

    Thx for the tip,
    but I can't firea suspend plug. Because I'm in BSP. I understand the docu so, that you have the option to call a other apllication like BSP from a ABAP Web Dynpro.
    I want to call the ABAP Web Dynpro form BSP like this way.
    1. Start BSP-Framework
    2. Call ABAP Web-Dynpro-Application from BSP
    3. Call another Application from BSP without automatically logout by unload ABAP Web Dynpro. (I have a chance to call the ABAP Web Dynpro again via url to suspend before I call the other app.)
    Regards Stefanie

  • Dynamic selection screen with ABAP web dynpro

    Hi all.
        How can I create dynamic selection screen with ABAP web dynpro? Thank you in advance.

    hi yinglak.....
             this is possible........ all the ui elelments has the property called visible and enabled.... just assign an attribute of type wdui_visibility to the visible property....
    in the wddomodify method..... check for the radio button value and pass the value true or false to this attribute and it gets changed automatically.
    ---regards,
       alex b justin

  • Tracking ABAP web dynpro events in back end SAP

    Hi Experts ,
    I have
    Is there any way to capture the events on th ABAP web dynpro in the backend.
    The scenario is that i have some particular code which gets executed in the back end when User clicks on any button or tab in the appraisal document , which is ABAP web dynpro application.
    I want this code to be executed only when User clicks on particular TAB/BUTTON on the ABAP web dynpro.
    Are there any system tables that I can check.I am novice in ABAP Web dynpro.
    Thanks

    hi ,
    I wud like to demonstrate this with example
    suppose in ur WD  screenu  take the sales organization as input .
    and u want to do smthing like this in backend :
    u wud like to read VBELN from VBAK where VKORG is with in sales organization range entered in input field
    create a context attributeinside a context node  in Context Tab inside ur view
    first bind the VALUE property of ur Input field to a context attribute
    inside the method OnActionClick  thn u wud  use code wizard (control +f7) to read the context attribute which is binded to input field
    u press CONTROL + F7 and select the radio button read context node/attribute
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   get single attribute
        lo_el_cn_node->get_attribute(
          EXPORTING
            name =  `CA_ATTR`
          IMPORTING
            value = lv_attr ).
    // I have read attribute CA_ATTR inside the node CN_NODE
    thn u wud put select query to fetch from data base using the value lv_attr
    DATA : vbeln type string .
    SELECT SINGLE vbeln FROM vbak INTO lv_vbeln
        WHERE vkorg = lv_attr .
    I hope it is clear nw
    regards,
    amit

  • Testing ABAP Web dynpro: Error  code 403 and for the reason Forbidden

    Hi,
      We have NW04s Installed and trying to execute a SAP supplied ABAP web dynpro application DEMO_SIMPLE_MAIN. Please see the following error and let us know which service it's talking about? I am familiar with SICF. However in AS7.0( New name for WEB AS ) The transaction is little different.
      Thanks
    Arunava
      However we are getting the following service error
    Service cannot be reached
    What has happened?
    URL http://server.domain.name.com:8001/sap/bc/webdynpro/sap/demo_simple_main call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system XXX with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:NAME999_XXX_01-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team

    Hi,
      this was actually some services which needed to be started through SICF. Once I have started the service sap/bc/public ETC.. and the web dynpro started working. Most of the SAP delivered demo apps are working
      However for some ABAP web dynpro ( for some application XRPM ) I get  some peculiar error. Please see below and if you could think of anything out of these.
    I have already checked and found the both HTTP and SMTP services are working fine.
    The following error text was processed in the system PXA : Syntax error in program /1BCWDY/56ZRPAZLU25M8S1BKV2T==CP .
    The error occurred on the application server fmsap994_PXA_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: CREATE_APPLICATION of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP

  • Creating 'Z' views for Standard ABAP Web dynpro Application

    Hi Experts,
    I am totaly new to ABAP web dynpro objects.
    In our project there were some client requirements which required us to change the properties of the Views related to the Webdynpro. The Client now has said that he needs to apply some  enhancement pathces on his system. Due to this, the changes made to the Views i.e all the changes done in standard code are  lost.
    The client now wants a long term solution where all the changes need to be done in 'Z' implimentataion so that changes are not lost every time the pathces are applied.
    Is it possible to create an entire new 'Z' Views for the standard Webdynpro instead of standrad ones?
    If Yes how does one link them to the Webdynpro application ?

    Hi
    Have a look at following article about enhancing webdynpro applications.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true
    Regards
    Manas Dua

  • How to browse for a folder with ABAP WEB DYNPRO

    Hi,
    I want to browse for a folder in my local file system with ABAP
    WEB DYNPRO. I am looking for a functionality which the function module
    TMP_GUI_BROWSE_FOR_FOLDER gives.
    Regards,
    Vinay

    HI Karl
    Good evening, I am Maruti from London. I would like to paractise ABAP WebDynpro.I am not sure which Vesrion of SAP R/3 supports for ABAP WebDynpro applications. Can you please suggest me .
    Thank you
    Maruti
    [email protected]

  • Abap web dynpro and portal events

    First off, a little introduction: My name is Martin Kroppen, I am an Abap developer for SAP Netherlands, and I am currently involved in a project for hospitals to built a portal. For this, I have created 2 Abap web-dynpros, and then impemented the views as iviews in an EP. What I want to achieve is that the input view triggers the display view on a second page, and the data is shown for the values in the input view (all in the same browser window).
    I am using the portal integration manager for this,  with the method for relative navigation.
    The navigation is working fine, only problem is that I don't know how to handle the business parameters that I send over.
    My questions are:
    1. is this the correct way for navigating between abap webdynpro iviews in the portal?
    2. what is the correct way to read the business parameters into my context of the second Abap WD application?
    I tried the solution that is described below, I could not get it to work correctly.
    If you define BUSINESS_PARAMETERS as application parameters in your Web
    Dynpro application and the parameter names start with &#8243;APP&#8243;, they will
    automatically be forwarded to the startup plugs of the Web Dynpro application –
    provided they are marked as startup parameters. In this case, keep in mind that
    the iView/page used as the navigation target must be assigned to the user role.
    If it is not, navigation cannot be triggered.
    Hope someone can help me…
    Regards
    Martin Kroppen

    Hi,
    please refer to this link for portal integration
    Web Dynpro for ABAP Portal Integration [original link is broken]

  • "Add To Browser Favorites" for ABAP Web Dynpro

    Hi All,
    In the Portal Environment, the end user has an option to "Add To Browser Favorites".  This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed.  Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal? 
    Thanks in advance for your help.
    John

    John Breen wrote:
    Hi All,
    >
    > In the Portal Environment, the end user has an option to "Add To Browser Favorites".  This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed.  Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal? 
    >
    > Thanks in advance for your help.
    >
    > John
    No.  There is no similiar option in the Web Dynpro framework, nor can you access JavaScript in order to interact with the web browser and supply this feature. Browser Favorites can be maintained by the NetWeaver Portal Framework or in the NetWeaver Business Client by the surrounding frame. In the case of the NWBC, it isn't actually browser favorites but a separate set of favorites merged with Easy Access Menu favorites.

  • LogoffURL for ABAP Web Dynpro?

    Hello,
    Do we have the LogoffURL for ABAP Web Dynpro?
    I would like the WD application to logoff to the URL on same browser window. Any ideas would be appreciated.
    Thanks much,
    Dharmi

    Hi ,
    add a paramenter url of type string to the exit plug
    in my previous post replace with
    l_ref->fire_<exit plug name>_plg( url = http://www.sap.com' ). 
    Regards,
    Yashpal
    Message was edited by:
            Yashpal Gupta

  • Environment needed for developing, deploying the ABAP Web Dynpro

    Hi all,
    We have the following ECC environmnet in our office.
    ERP 2005, RELEASE 6.0
    KERNEL 7
    COMPONENT ECC 6.0 NON -UNICODE SYSTEM
    BASIS & ABAP SP 14
    We also dont have Enterprise Portal and no PI or XI. can we develop ABAP Web Dynpro without EP?
    I want to develop Web Dynpro's using ABAP. Can i do it? Do we need to install any thing else? any plug in..or do we need to upgrade our service pack?
    We are on service pack 14 and on ABAP Stack.
    Some one kindly help..this might be a simple question for many people...but i am really in need of information and could not get proper idea after reading the SDN and help.com
    if some one has a link .that explains the environmnet that i should have for Web dynpro ABAP..please help.
    Regards,
    Jessica Sam

    Thomas,
    Thanks a lot for your patience. Few more minutes of your valuable time..need help.
    So i can conclude that with my environmet and ABAP statck ..i can develop Web dynpro ABAP and BSP but not Adobe Forms.
    We have BI system in our office which runs on Java Stack and our ECC system is only on ABAP stack.
    But we were using ABAP Web services to build interfaces b/w SAP and .Net applications and hence we wanted to use SOAMANAGER,
    But SOAMANAGER runs on Java Stack and we dont have Java stack on ECC but have on BI.
    So what we did was..did some BASIS settings in BI and ECC systems and finally able to use SOAMANAGER of BI system to manage , create and deploy web services from our ECC system whihc is on ABAP Stack.
    Similarly can I also use the Java Stack in our BI system and do some settings at ECC end such that I can buid the interactive forms in ECC and use the Java Stack of BI system.
    Kindly please help..i am not getting answers to such questions in help.sap.com...may be people like you who are well experience will only able to guide me better.
    Kind regards,
    Jessica Sam

Maybe you are looking for