Web Dynpro ABAP - Table Scroll Performance

Hi,
In the standard ESS Timesheet application, we have created a custom pop-up screen to select the cost assignment for the time entry. The pop-up screen is a search help developed by implementing the IWD_VALUE_HELP interface and is a complex screen with multiple view containers/views and multiple tables and tabs.
In the pop-up screen, the default number of visible rows in the table is set to 5 and the user needs to scroll if there are too many entries. The performance during scrolling is very bad and takes about 4-5 seconds for each scroll. All the traces in the backend show that there is hardly any processing being done that would take so much time. HTTPWatch trace shows 0.4 seconds response time, so I'm wondering why is the browser taking 4-5 seconds to load. Is it because the timesheet page itself is complex and since the pop-up screen is also heavy, the browser takes so much time to lay out the whole page for every scroll?
Any other ideas?
Any inputs will be greatly appreciated.
Thanks,
Manish

I have noticed that pagination is relatively faster when compared to scrolling. Try making the same performance measurements by removing the scrollbar (by changing the setting in the WD application parameters) and introducing pagination instead.

Similar Messages

  • How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table

    Hello,
    How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
    Thanks

    hi,
    Check out this link for sorting in Table.
    Sorting option in WebDynPro ABAP UI Table
    steps to follow :
    ->Have the data in internal table (itab).
    ->Now use sort command for the particular column which ever you want to sort.
      e.g sort itab descending by <Column>.
    ->Now you can bind the internal table with the Context Node which is binded to Table.
    I hope it helps.
    Thanx.

  • Web Dynpro ABAP Table in runtime

    Hi,
    I have an ui table that has 3 table columns but in runtime i want to add 3 table columns more for it i use add_grouped_column( lr_column ). but when i do a test i see that the 3 table columns that i want to add in the last of table is in the begining.  How can i do that the table column that i add is created in the last of table?
    Thnx.

    Hi Paulina,
    I dont think you can add the colums to a table UI element dynamically @ runtime. Instead, you can add all the columns to your TABLE UI @ one shot and hide the unwanted elements using a WDUI_VISIBILITY Context element. Set this context element based on your requirement to display the columns dynamically.
    FYI...For WDUI_VISIBILTY variable 1 - Hide and 2 - Display.
    Hope this helps.
    Regards
    Raja Sekhar

  • In Web Dynpro ABAP, Can we merge two cells of a row in a table ?

    In Web Dynpro ABAP, Can we merge two cells of a row in a table ?

    Hallo Jagannatha,
    the new table feature is available in SAP NetWeaver 7.0 EhP2 (SAP ERP 6.0 EhP5, SAP Business Suite 7i2010) named 'TableMultiEditorCell'. See [SAP Online Help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm] for more details ...
    "This UI element is a table cell variant that enables several UI elements to be placed in one table cell. This type of cell can be used for "one click actions". ...
    Regards, Bertram

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • 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 - Disable a entire row in the Table of the output.

    Hi Web Dynpro Experts,
    Need ur Help.!
    I have a requirement to disable the one row of the table in web dynpro ABAP
    For example . my table is like
    Field1   Field2
    A           Success
    B            Failure
    C            Failure
    I need to allow the User to select the record only if its status is Success,if status is Failure then i should not the allow user to select.
    This enabling and disabling of the rows should be done before displaying on to the Screen.
    Please suggest me ASAP.
    Thanks,
    Akila

    Hi Akila,
    please try this.
    Create a node (Eg: TEST) of type 0-n and 0-1. Take attributes attr1, attr2, flag (of type BOOLEAN). Create a table and give the TEST node as datasource. Now using "Create Binding" create columns for attr1 and atte2. Now, bind the read-only property of the columns with flag attribute.
    Now, in the INIT method, set the table values like this:
    For examle, if you want to disable row having test2,
    ls_test-attr1 = 'A'.
    ls_test-attr1 = 'TEST1'.
    ls_test-flag = ' '.
    append ls_test to lt_test.
    clear ls_test.
    ls_test-attr1 = 'B'.
    ls_test-attr1 = 'TEST2'.
    ls_test-flag = 'X'.
    append ls_test to lt_test.
    clear ls_test.
    ls_test-attr1 = 'C'.
    ls_test-attr1 = 'TEST1'.
    ls_test-flag = ' '.
    append ls_test to lt_test.
    clear ls_test.
    lo_test->bind_table( lt_test ).
    By doing this, 2nd row gets disabled.
    Also, if you already have the internal table with values, based on some condition you can change the value of flag and bind the table to node.
    Hope this helps you, Please let me know in case of any queries.
    Regards,
    Manogna

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 2
        OTHERS                      = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      endmodule.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • 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

  • Upload a .xls file in web dynpro abap

    Hello,
       I want to upload a .xls file into a internal table in web dynpro abap (Netweaver 7.31).
    The file is not delimited, is not an csv file.
    In my view I have an fileUpload UI Element with the attribute data is un attribute type XSTRING and the following function module are not in my system:
    HR_KR_XSTRING_TO_STRING
    ALSM_EXCEL_TO_INTERNAL_TABLE
    How can I upload the file with this format?.
    Thanks in advance.
    Xavi

    Unless the files are zipped together into one archive file, you have to do them one at a time.  Furthermore with the normal browser based fileUpload UI element, you must do them one at a time and the user must manually select each one (browser security limitation).
    If you are on 7.01 you can use ACFUpDown to perform multiple file uploads, but there is no file dialog or directory scan so file selection is difficult.
    If you are on 7.02 you can use ACFUpdown and it has a multiple file open/save dialog.
    If you are on 7.01 you could use FlashIslands to perform the multiple file upload.  I have a tutorial and source code sample for this on SCN.
    If you are on 7.01 you could also use ACFExecute to run a batch script on the client side that zips all the files and then upload the zip archive.

  • Ajax/Javascript in Web dynpro ABAP

    Hi,
    I need your help in figuring out what artefacts of web dynpro ABAP could help me resolve a problem.
    In a Web dynpro abap application, we have a button that redirects a user to an external site. Some of our users can go to this site from their computer and some others can't because they are not allowed. I would like to be able to show the button only to the users that have the right to execute this navigation.
    In order to do that, I need to embed some script in my web dynpro application that will test if the URL of this application sends back an HTTP/200.
    With the latest versions of Web Dynpro ABAP, is it possible to embed javascript of ajax? How can it be done?
    If not, what could I use to base the visibility of my button on a validation that has to run on the users's browser?
    Thank you very much for your help!
    Renaud

    Another way it could be done creating a custom ztransaction (abap report) performing a PING to the ip server , reading log txt,  saving if the user is authorized or not , and redirecting to the Abap Web Dynpro.
    Then On wddoinit select zztable for authorization.
    But i don't know if this solution will work for you (ping specific port 80? or other requirements)
    DATA: workdir TYPE string,
          path_log TYPE string,
          parameter TYPE string.
    TYPES: BEGIN OF tylog,
         line(1000),
      END OF tylog.
    DATA: t_log TYPE TABLE OF tylog,
          v_log LIKE LINE OF t_log.
      DATA:  appl_name TYPE string,
                abs_url TYPE string.
    START-OF-SELECTION.
      CALL METHOD cl_gui_frontend_services=>get_sapgui_workdir
        CHANGING
          sapworkdir = workdir.
      CONCATENATE '/C ping google.it >' workdir
      INTO parameter SEPARATED BY space. "example google
      CONCATENATE parameter '\pinglog.txt' INTO parameter.
      CALL METHOD cl_gui_frontend_services=>execute
         EXPORTING
    *    document               =
           application            = 'CMD'
           parameter              = parameter
           synchronous            = 'X'.
      CONCATENATE workdir  '\pinglog.txt' INTO path_log.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = path_log
          filetype                      = 'ASC'
        TABLES
          data_tab                      = t_log.
      LOOP AT t_log INTO v_log WHERE LINE CS 'Lost = 0'.
        EXIT.
      ENDLOOP.
    if sy-subrc = 0. "ping ok
    zzping-uname = sy-uname.
       zzping-authorized = 'X'.
    else.
      zzping-uname = sy-uname.
      zzping-authorized = ' '.
      endif.
       INSERT ZZPING.
    **construct web dynpro url and call browser
      cl_wd_utilities=>construct_wd_url( EXPORTING application_name = appl_name
                                                                 IMPORTING out_absolute_url = abs_url ).
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = abs_url.
    Edited by: alessandro spadoni on Mar 24, 2011 10:09 PM
    Edited by: alessandro spadoni on Mar 24, 2011 10:31 PM

  • BSP vs Web Dynpro ABAP

    Hello,
    we are looking for a listing that states the functional and technical differences between Web Dynpro ABAP an BSP.
    Is there anybody who has come along such a list ?
    Tx a lot in advance!
    Best regards,
    Ana

    Annette,
    check this
    The SAP Web Application Server (WAS) provides a page-based programming model with server-side scripting as well as server page technology for developing, designing and implementing Web applications:
    Business Server Pages (BSP). Server-side scripting enables direct access to all elements in the application server (such as function modules, database tables, ABAP Objects, and so on.).
    We can create HTML pages or Business Server Pages (BSPs) with server-side scripting in ABAP or JavaScript.
    The HTMLB and XHTMLB HTML Business libraries are available as BSP Extensions for a uniform layout and its associated usability advantages.
    And In the Web Application Server, the presentation layer is separate from the business logic. This makes it possible to implement front-end technology.
    Why BSP NOT WebDynpro
                              BSP
                  ABAP WEBDYNPRO
    Currently PMUSA/JMC customers are using Fire fox (Mozilla), Internet Explorer and Netscape navigator web browsers to access WEBUYPM application.
    BSP supports these web browsers.
    Restricted (Some of the features will not be supported by WebDynpro)
    Existing WEBUYPM application is written in HTML, Business HTML and JavaScript language.
    BSP supports these languages. And it allows even to mix ABAP, HTML and JavaScript thus has more flexibility to convert WEBUYPM application into BSP.
    Web Dynpro does not support HTML/JavaScript.
    Existing WEBUYPM displays the trade communications (Information tab) based on JavaScript and custom configuration file
    BSP supports JavaScript, we can display the trade communications in BSP too.
    Web Dynpro does not support Java Script.
    Existing WEBUYPM application has different colors schemes, Logos and graphical elements for PMUSA/JMC companies.
    BSP support s multiple color schemes/logo. These color schemes can be set dynamically based on company code selection at runtime.
    Separate Themes has to be developed for each User Interface elements.
    Development effort needs to be involved to even display a logo.
    BSP supports client side (user) validations. As most of these validations can be done at client side, the no. of hits on the server can be reduced and thus giving better response for the user inputs.
    In this way, performance can be increased.
    Web dynpro does not support any client side validations, every time the request must be sent to server to validate the useru2019s input. This increases the traffic and reduces the performance
    WEBUYPM application has logos, images.
    BSP supports Client side caching, and thus loads these element from client side very quickly.
    Web dynpro supports very little use of caching on the client side, and hence quite a significant delay in starting on some customeru2019s browsers.
    BSP has no restriction on user interface possibilities, Ex. Grid, drop down boxes, Font colors, size etc.
    Significantly more restrictive in user interface possibilities.
    Ex. Only those fonts, which are provided by SAP, can be used.
    Appearance can be changed dynamically using same web pages, to support different colors for different companies.
    We can have same (or better) look and feel if we convert the application into BSP.
    As there is no HTML coding involved in web dynpro the same look and feel as we have it today can't be achieved by using web dynpro.
    BSP is built for developing any type of web application (including mobile applications. It can be accessed from desktop, laptop, and any kind of smart devices like PDA.
    Web dynpro applications can not be accessed from PDA s (Not possible)
    Why WebDynpro NOT BSP
                 ABAP WEBDYNPRO
                               BSP
    Personalization can be given to the end user if they do not want see any of the user-interface elements.
    We can not hide any of the user-interface elements (Ex buttons ex) during the runtime.
    Note - Current WEBUYPM application does not support any of these options.
    Currently we are setting/retrieving the runtime context values in a session.
    Web dynpro supports State full applications.
    No additional development would be required. 
    BSP also supports to set runtime values and to retrieve the runtime context values, but minor development would be required to achieve this functionality. 
    Currently users can see view source for WEBUYPM HTML pages.
    Using Web dynpro this can be restricted thus providing more security to the application.
    HTML view source can be available to the users, Users can see the HTML client side code (not server side coding) as it does today.
    By using Adobe Flash Island, powerful web pages (RIA) can be created.
    But, Flash Island comes with Net weaver.
    BSP does not support Flash Island. But, BSP supports Java Script.
    JavaScript is essential for the new trend of rich internet applications (RIA), it is used by all the new applications, Ajax, Widgets, Flash, and even Microsoft is supporting JavaScript for the new generation of RIA
    Web dynpro has wizard tools to generate the code to create/configure the User Interface elements.
    Development effort would be required to create UI elements.
    We dynpro has uniformity as we use standard colors provided by SAP
    Uniformity can be achieved by using style sheets (minor development would be required).
    Thanks
    Bala Duvvuri

  • Web dynpro ABAP- small issue after EHC1 upgrade

    Hi All,
    We have a Web dynpro ABAP report and it was working fine before the EHC1 upgrade. After the upgrade we noticed that the row count in ALV greed was disappeared.
    The report used to show 25 records per page and we were able to jump to the other pages by clicking on row count that was placed right below the report. Now report shows all the records and we only have scroll down option.
    Any idea where to look/ how to fix this issue?
    Regards,
    Mike

    In addition to applying that note, you also must deactivate Lightspeed rendering.  To me that's too extreme of a thing to do just to get paginators.  You loose the huge rendering performance improvements and it also means you can't use any of the new UI elements from 7.01.

  • Closing web browser from a Web Dynpro (ABAP) component in it

    Hi,
    I am opening a Web Dynpro component in IE.
    I have a requirement to close the Internet Explorer window on click of a "Close" Button in Web Dynpro (ABAP) component. I am using EXIT Outbound plug of the Main Window to perform the same.
    In the EXIT plug I am setting "CLOSE_WINDOW" parameter to ABAP_TRUE.
    On click of the "Close" button a pop-up dialog box (with "Yes" and "No" buttons) appears asking me whether I really want to close the IE window.
    If I click on "Yes" button of the dialog box, the IE window gets closed without any issues.
    But when I click on "No" button, the IE window shows up a blank screen. I want the control to come back to the calling Web Dynpro component's screen.
    Appreciate any help/guidance in the above issue.
    Thanks,
    Prasanna

    create an action 'YES','NO', 'CANCEL' in required view.
    copy and paste below code in YES action
    method ONACTIONYES .
      data : l_view_cntr type ref to if_wd_view_controller,
    l_win_cntr type ref to if_wd_window_controller,
    l_window type ref to if_wd_window,
    l_parameter_list type wdr_event_parameter_list,
    l_parameter type wdr_event_parameter,
    l_val type ref to data.
    field-symbols <fs> type any.
    l_view_cntr = wd_this->wd_get_api( ).
    l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
    l_parameter-name = 'CLOSE_WINDOW'."'CLOSE_WINDOW'.
    create data l_val type c.
    assign l_val->* to <fs>.
    <fs> = 'X'.
    l_parameter-value = l_val.
    insert l_parameter into table l_parameter_list.
    l_win_cntr->if_wd_view_controller~fire_plug(
    exporting plug_name = 'EXIT_PLUG'
    parameters = l_parameter_list ).
    endmethod.
    goto your window
    create plug EXIT in Window of type EXIT and chect interface checkbox
    create a button - for example - "PUSH BUTTON"
    in pushbutton action
    copy and paste this code
    method ONACTIONEXIT_PLG .
    DATA: API TYPE REF TO IF_WD_COMPONENT,
          WINMAN TYPE REF TO IF_WD_WINDOW_MANAGER,
          WIN TYPE REF TO IF_WD_WINDOW,
          TEXT1 TYPE STRING_TABLE,
          ls_text type string,
          V_API TYPE REF TO IF_WD_VIEW_CONTROLLER.
    API = WD_COMP_CONTROLLER->WD_GET_API( ).
    WINMAN = API->GET_WINDOW_MANAGER( ).
    LS_TEXT = 'Do You Want To Close the Window'.
    INSERT LS_tEXT into table text1.
    win = winman->create_popup_to_confirm(
                                           window_title = 'CONFIRM'
                                           text = text1
                                           button_kind = if_wd_window=>co_buttons_yesnocancel
                                           message_type = if_wd_window=>co_msg_type_question
                                           window_position = if_wd_window=>co_center ).
    V_API = WD_THIS->WD_GET_API( ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_YES
            ACTION_NAME = 'YES'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_TRUE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_NO
            ACTION_NAME = 'NO'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_CANCEL
            ACTION_NAME = 'CANCEL'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->OPEN( ).
    endmethod.

Maybe you are looking for