Global Setting for ALV Table in webdynpro

Hi guys,
We are in process of upgrading to EHP7 and ABAP-7.4 and we are facing one small issue on default ALV table setting where we are not getting
Grid line = 'All'  insist we are getting Grid Line = 'Horizontally'.
I have seen lots of thread suggesting that we can customized it based on application but as we already have lots of webdynpro application and it not a good ideas to go in each and every application and change it.
I have a feeling there should be some place where we can set the default setting for the same may be System or Global .
Any idea on the same.
Atul 

hi,
according to what i understood from your explanation you want that inspite of scrolling you need to do so on user clicking some button or some action ....
i did the same in a scenario...
what i did was just giving  a input field on the screen.
and in code i just checked number of records to be less than or equal to the number user puts in the i/p field .
I chose onactionenter for doing this .
firstly i used node->invalidate.
again filled the internal table with number of records matching and displayed the same.
hope it will help
Regards,
Sahai.s

Similar Messages

  • How can I change column name in ALV table in WebDynpro ABAP?

    Hi Everyone,
    I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
    Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
    Please let me know how can I change the name of the column.
    Regards

    Hi,
    This may help you to define your own column text in the ALV Table of webdynpro.
    see the below code.
    Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
    "change the label of the report.
    DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
    CALL METHOD l_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'STATUS_ICON'
    RECEIVING
    value = lr_weeknum.
    SET THE LABEL OF THE COLUMN
    DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
    CALL METHOD lr_weeknum->get_header
    RECEIVING
    value = hr_weeknum.
    CALL METHOD lr_weeknum->set_resizable
    EXPORTING
    value = abap_false.
    hr_weeknum->set_prop_ddic_binding_field(
    property = if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
    set the text of the column
    CALL METHOD hr_weeknum->set_text
    EXPORTING
    value = 'C Form'.
    regarads,
    balu

  • F4 help for ALV table field

    Hi Experts,
    I need to implement F4 help for ALV table field.
    I my scenario, I am using two views. If we click on any record in fist view then it displays the popup window (second view) with relevant record details.
    Here one of the columns having fieldnames corresponding values (old values), for correcting old values I have created new value editable column, we can enter new value for old value then we can save it. Till this functionality is ok.
    Then I have included OVS help for new value field. Here I need to get f4 help for newvalue field relevant to fieldname.
    For example: user clicks on f4 in cell (new value) then if corresponding fieldname is u2018WERKSu2019 then it shows the plant values
    Here I can get fieldname, domain name  and value table using method set_attribute ().
    Same concept I have implemented in ALV using F4IF_FIELD_VALUE_REQUEST. It is working fine
    Here I have little bit confusion. Please advise me how to implement in OVS.
    Regards,
    BBC

    Hi,
    you'll have to create a method for the OVS search help (define it in the "OVS component usage" field in the context).
    Sample code (should work for WERKS):
    method on_ovs .
    declare data structures for the fields to be displayed and
    for the table columns of the selection list, if necessary
      types:
        begin of lty_stru_input,
      add fields for the display of your search input here
          WERKS TYPE WERKS,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
      add fields for the selection list here
          WERKS TYPE WERKS_D,
          NAME1 type NAME1,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_table_header  type string,
            lv_werks type werks_d.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
      in this phase you have the possibility to define the texts,
      if you do not want to use the defaults (DDIC-texts)
    Set label from Medium Description to something more logical...
          ls_text-name = `NAME1`.  "must match a field in list structure
          ls_text-value = `Plant description`.
          insert ls_text into table lt_label_texts.
    Set col header from Medium Description to something more logical...
          ls_text-name = `NAME1`.  "must match a field in list structure
          ls_text-value = `Plant description`.
          insert ls_text into table lt_column_texts.
         lv_window_title = wd_assist->get_text( `003` ).
         lv_group_header = wd_assist->get_text( `004` ).
         lv_table_header = wd_assist->get_text( `005` ).
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 20 ).
        when if_wd_ovs=>co_phase_1.  "set search structure and defaults
      In this phase you can set the structure and default values
      of the search structure. If this phase is omitted, the search
      fields will not be displayed, but the selection table is
      displayed directly.
      Read values of the original context (not necessary, but you
      may set these as the defaults). A reference to the context
      element is available in the callback object.
         ovs_callback_object->context_element->get_static_attributes(
             importing static_attributes = ls_search_input ).
        pass the values to the OVS component
         ovs_callback_object->set_input_structure(
             input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
      If phase 1 is implemented, use the field input for the
      selection of the table.
      If phase 1 is omitted, use values from your own context.
          if ovs_callback_object->query_parameters is not bound.
          endif.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          if not <ls_query_params> is assigned.
    TODO exception handling
          endif.
            call method ovs_callback_object->context_element->get_attribute
              exporting
                name  = 'WERKS'
              importing
                value = lv_werks.
            data: lv_subcat_text type rstxtmd.
            select werks
                   name1
              into table lt_select_list
              from T001W.
            ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
      apply result
          if ovs_callback_object->selection is not bound.
          endif.
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `WERKS`
                                   value = <ls_selection>-werks ).
          endif.
      endcase.
    endmethod.

  • Providing sorting filters for a table in webdynpro java application

    ho to provide sorting  , filters , for a table in webdynpro java application .

    Hi Pradeep,
    Please go through the following article on implementation of filtering and sorting:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f024364b-3086-2b10-b2be-c0ed7d33fe65
    The article contains a link to a sample application using the TableSorter and TableFilter Class.
    The same classes can be used by any other web dynpro application. Download the sample application and copy the classes. In case of a specific requirement, modify the TableSorter and TableFilter classes.
    Regards,
    Kartikaye

  • How to set title/text for ALV table column header in WD ABAP

    Hello,
    I am working in WDA using SALV_WD_Table to display data in table. I need to change the column header text, the obvious way is to get the column header and call the method SET_TEXT to set new text / title. However, this method does NOT work, it does not change the column header text. I also tried the SET_TOOLTIP, this one works, but SET_TEXT does not work. Anyone has idea why this not working and do you find any go-around solution?
    My version is NW 7.0
    Thank
    Jayson

    Hi jason ,
    For setting Heder text for your ALV table
    ip_confing type ref to CL_SALV_WD_CONFIG_TABLE.
    "set alv table header
      ip_config->if_salv_wd_table_settings~r_header->set_text( 'Test ALV Header functionality' ).
    first you have to hide the DDIC text and then try to set your own text .
    "modify columns
      LOOP AT lt_columns INTO ls_column.
        lr_column = ls_column-r_column.
        CASE ls_column-id.
          WHEN 'MANDT'.
            "hide this field
            lr_column->set_visible( cl_wd_abstr_table_column=>e_visible-none ).
           WHEN 'SEQNR'.
            "set header to different string
            lr_column->r_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none )." use this line to hide ddic text
            lr_column->r_header->set_text( 'Position' ).     
        endcase.
      endloop.
    Regards
    Chinnaiya P

  • Define F-Code for ALV Button & context menu for ALV table

    Hi,
    I have some Buttons in ALV Toolbar like for example 'copy row'. Is it in browser environment possible to assign f-code to the button? Like by pushing e.g. F4 the method for 'copy row' action is fired?
    Or additionaly, is it possible to define a custom context menu in alv table?
    Thanks in advance,
    Tan

    Hi Tan,
    This Functionality is working on..Pelase check this...
    Re: How to improve Web accessibility with Function keys
    Re: Hot key(Ctrl+F1) for More field help not working
    Re: GUI Status?
    For help..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b951297a6d2d65e10000000a42189c/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on Jun 21, 2011 11:46 AM

  • Global setting for decimal notation setting?

    Experts:
    Where can I set the decimal notation for all users? Is there a global default setting for this?
    I need to display numbers as xxx,xxx,xxx.xx.
    Each individual user can set this in their Maintain User Profile -->Default settings.
    But I need to have the system default for EVERY user to xxx,xxx,xxx.xx.
    Your assistance will be rewarded.
    Thanks
    Den

    Hi,
    Go to SU10 - Mass change. Enter all the User list and make the changes.
    Hope it will help u.

  • Global Setting for Running compatibilty mode in IE

    Is anyone aware of a global setting to do the x-UA-Compatible setting for a given SAP Server? We are having compatibility issues with SAP now that we have some apps outside that require it to be turned off.

    Hi,
    Use STANDARDS mode, you need to be on Netweaver 731 version; Please check the SAP Note: 1790704 & 1753544
    If not try this: Add the url parameter sap-ie=EmulateIE9 in the url, then it should work.
    Regards,
    Kiran

  • Default setting for Planning Table

    Dear gurus,
    How to default user setting in planning table?
    ( Not at individual user level) how it is possible?
    Pl. reply.
    Srini

    Hi Srini,
    you can customize some settings.
    Define scheduling parameters for planned orders - OPU5
    Maintain Entry Parameters - Production\Repetitive Manufacturing\Planning\Planning Table\Maintain Entry Parameters
    Maintain Row Selection - Production\Repetitive Manufacturing\Planning\Planning Table\Maintain Row Selection
    For the capacity planning in the planning table you can maintain different profiles.
    Kind regards,
    Frank

  • Transfer Global setting for Currency

    Whenever a new currency gets added in the R3 source system, what needs to be done to get them added in BW?

    Hi,
    Try using  the below steps:
    1) Go to RSA1 --- Source systems
    Right click on the source system from which you want to update the currency in the BW system, and click on Transfer Global Settings
    2) Execute it with the following selections:
    Transfer Global Settings--Currencies
    Mode--Update Table
    3) This will update the u201CTCURCu201D table in BW system with the currencies defined   in the source system table
    4) Go to the transaction SE38 and execute the program u201CZBWRSIMPCUSTu201D
    5) Select the source system and run the program with following selections:
    Global table settings--CURRENCY
    Mode as --Update table
    6) This will update the u201CTCURCu201D table in BW.
    Running above program for BW is necessary, because adding new currency definitions in the BW system will deviate the ISO code settings for the TCURC table.
    ISO code is the standard worldwide currency key. Thus it should be unique.
    Above program will assign the unique currency key to the ISO code.

  • Buffer displayed records for ALV Table

    Dear Experts,
    when showing large tables (whide structures, many records) I'm facing the issue of reloading times, when a user scrolls down the ALV. I guess this relates to rebuffering the records from the AppServer to the GUI. Is there any way on setting up how many records are loaded initially?
    Thanks a lot in advance,
    Peter

    what is the actual problem ... you might thing that it is feature not a bug.
    The ALV sends only some records to the frontend and reloads others when they are really needed to be displayed.
    What would you like to change?
    Maybe your problem is only a bad sort! Try to sort in a way that the most interesting records come with the initial load. Or try to select better in way that your result is smaller. These are simple examples, but maybe it can guide you in the direction to a proper solution.
    Siegfried

  • How to use filter for alv display in webdynpro

    hi,
         i have use select-options and what ever data is coming from the data base i display it using alv.
    i also want to include functionality like filter and all that , that comes in normal alv.please guide me how can i do it.
    thanks

    hi please remind  that this is not the proper forum for this ...go to this
    Expert Forums » ABAP Development » UI Programming

  • User specific setting for SSM_CUST table

    Dear experts,
    i know it is not a right forum for post this thread but i am not able find to right forum for such problem
    My problem is that i disable favorites by adding parameter ALLOW_TCODE_START in SSM_CUST table
    and it disble all the user to add tcode in favorites but i want user specific that i (administrator) am able to add tcode
    in favorites but my client(subuser) not able to add tcode in favorites in sap easy acess .is it possible
    please help.......................

    Please anyone give some suggetion on it
    i m in great problem
    please help............

  • Updated property of rowset is set for data table if I use convertors

    Hi,
    I use data table for update database table. What I use is sale tax table of Pointbase. I use convertors for date effect and tax rate.
    I just change 1 row of data table but Jcreator finds all row are updated. This is a waste of resource and performance. Here is the code (I copied from clip).
    public String saveButton_action() {
    // User event code here...
    log("OnePage: update_action()");
    // BYHAND - Count up the rows with updates (optional)
    int count = 0;
    Iterator keys = dataTable1Model.getDataCache().iterator();
    while (keys.hasNext()) {
    Integer key = (Integer) keys.next();
    com.sun.jsfcl.data.DataCache.Row row = dataTable1Model.getDataCache().get(key.intValue());
    if (row.isUpdated()) {
    count++;
    // BYHAND - Perform the actual update transaction and report results
    try {
    dataTable1Model.commit();
    info("Total rows updated: " + count);
    } catch (Exception e) {
    log("OnePage: Update commit exception", e);
    error("OnePage: Update commit exception: " + e);
    // BYHAND - Re-execute the query to pick up new results
    try {
    dataTable1Model.execute();
    } catch (SQLException e) {
    log("OnePage: Update reselect exception", e);
    error("OnePage: Update reselect exception: " + e);
    return null;
    My guess is jCreator compares the text from data table and rowset's cache (???). as I display date and rate in formats I need.
    My data table displays 10 rows so each time I change 1 row jCreator updates 10 rows of the data table.
    Need clarification on this.
    Cheers.

    Hi Hung,
    I received your email and was unable to reproduce using
    a new project.
    I want to reproduce this ASAP.
    Is this the same project you sent me previously?
    If not, then could you please email it to me again.
    Thank you
    John
    JSC QA

  • Global Setting for *NOT* DELETING files in iTunes?

    Hi Everyone-
    Why is the default setting in iTunes to delete podcasts once listened to? There are many episodes I want to retain.
    I would like the control to delete stuff when I want, and not at the whim of iTunes.
    Can you explain how to set the program to NOT DELETE as  a default? Or do I have to seek another client-AGAIN?
    Thanks,
    M

    Go to Podcasts > My Podcasts then at the top right select Episode List from the view options. Second button in at the lower right should be the default Settings... button. I'd still go through the individual podcasts to make sure they haven't picked up autodelete options from elsewhere/when.
    I'd recommend you go to Edit > Preferences > Store and untick Sync podcast subscriptions and settings. This feature appears to have cause problems for others, myself included, when settings from an iOS device override those in iTunes.
    See also Backup your iTunes for Windows library with SyncToy. Having a full backup means you can restore your library when something goes wrong.
    tt2

Maybe you are looking for