Scrollbar on ALV
Hi All,
There is a scrollbar on the ALV in of the tabs and there is a Roadmap on the Top.
When scrollbar is moved across the table, the cursor (Focus) is automatically set to the current step of the roadmap. Then again I need to move down the vertical scrollbar of the Browser window and do other processing.
Sometimes this behavior is observed.
What can be the possible reasons for this behavior.
Replies are highly appreciated.
Due to the techincal reasons the post is repeated. Please ignore the other one.
Regards,
Lekha.
Edited by: Lekha on Mar 6, 2009 1:13 AM
not answered
Similar Messages
-
Set left scrollbar on ALV component
Hi Gurus!
Due to PAGINATOR is dead on 7.01 or higher version I need to vertical scrollbar on the left of my ALV component.
The reason is because I have an ALV with a lot of columns and user doesn't want to make horizontal scroll to the right to acces the vertical scrollbar repeadtly.
Is there ay chance to do that?
Thank you all!Hi Vanbelal,
Sorry the view container UI element is not having the width option. Create a transparent container UI element and place your view container inside it and give a fixed width to the transparent container. So even if the ALV has many number of columns, it will be displayed inside the specifed width with horizantal and vertical scroll bars. I think this will solve your problem.
Thanks & Regards,
Raghuram K.R. -
Hi All,
Is anybody using Scroll bars in ALV table? If yes please help me out.
Iam not able to set scroll bar.
Thank You,
Suresh.Hi Suresh ,
In the INIT method of the view where you are using the ALV do the following coding.
data: l_ref_cmp_usage type ref to if_wd_component_usage.
data: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
data: l_VALUE type ref to Cl_Salv_Wd_Config_Table.
*initiate the used component
l_ref_cmp_usage = wd_This->wd_CpUse_Alv( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Alv( ).
l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model( ).
*Set visible col count
l_value->if_salv_wd_table_settings~SET_SCROLLABLE_COL_COUNT( EXPORTING value = 4 ).
So in method SET_SCROLLABLE_COL_COUNT give the number of columns visible for rest you will have to scroll.
Regards
Amol -
Hi All,
I am using ALV grid to show the data , i have requirment to show the aggregation ( total ) for some of the columns . My problem is that i have to show the total value at end of each page.Is there any way to achive it .
i.e. If i have 20 rows of data and i am showing 10 rows each page , i have to show (overall )total after every 10 rows.
Regards
Amol DeshmukhHi Amol,
According to my knowledge as per new Net Weaver release pagination property of ALV is not supported.
Now users will only have horizontal scrollbars for ALV.
Please correct me if I'm wrong.
So it makes sense to use the normal ALV aggregation feature which displays the sum at end.
Regards
Manas Dua -
How do we resize Output ALV?
Hi,
I don't want horizontal scrollbar in my ALV webdynrpo output.Where do i set this option?
Basically I want to disable scroll-bar.
Rgds
Vara
Edited by: Vara K on Jan 15, 2009 9:25 PMHi,
You can hide scrollbar in ALV by hiding ALV Footer.
* create an instance of ALV component
DATA: LR_IF_CONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,
LR_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE,
LR_CMDL TYPE REF TO CL_SALV_WD_CONFIG_TABLE,
LR_TABLE_SETTING TYPE REF TO IF_SALV_WD_TABLE_SETTINGS.
LR_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
IF LR_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
LR_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
** get reference to the ALV model
LR_IF_CONTROLLER = WD_THIS->WD_CPIFC_ALV( ).
LR_CMDL = LR_IF_CONTROLLER->GET_MODEL( ).
LR_TABLE_SETTING ?= LR_CMDL.
** hide ALV Footer
LR_TABLE_SETTING->SET_FOOTER_VISIBLE(
IF_SALV_WD_C_TABLE_SETTINGS=>FOOTER_VISIBLE_FALSE ).
Regards,
$=====$
Are you newbie? Check this out: [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] -
ALV GRID - how to handle scrollbar click
Hello,
Is it possible to handle scrollbar movment/click
in alv grid control?
Thanks in advance for your help.
HarryHello vijay,
I'am implementing a calendar with the alv grid control.
Since I do not want to process all the data at one time
I need to know when the scrollbar reach the upper or lower extremity so that I can populate + other processes the alv grid.
Something very similar to the actual behaviour of "F4_DATE" function module displaying the Calendar control.
Hope you can help me
Thanks -
Scrollbars in WD ALV are replaced with paginator if there is 1 row
Hi!
I've set WDTABLENAVIGATION = SCROLLBAR for my WD application. This works fine if number of rows in the ALV is more the one. But if there is one row, then scrollbars are replaced with paginator.
But since I have horisontal scrollbar too, I need to have scrollbars even if there is only one row in the list.
Is it possible to do so?
Thanks!hi Siddharth,
loop at itab into wa.
wa-column3 = wa-column1 + wa-column2.
modify itab from wa.
endloop.
now bind this itab to the node which u binded to the node.
Madhu -
ALVs on grid with Synchronous Horizontal Scrollbars
Hi
Is it possible for the two ALVs that are being displayed on one screen to have there scrollbars move synchronously.
I have read [How to dispaly Three Internal Table Data (One below another) in ALV OOPS; (Start Reading from 5th Reply) but this is an old thread.
My requirement is not to use any Button. When any of the two scrollbars in any of the ALV is moved, the other one should move in sync.
WaitingNo Replies recieved.
Closing the thread. -
GET/SET ALV GRID scrollbar
Hi you,
after a refresh we want to restore all settings done in the ALV grid.
The grid control provides methods for getting and setting the FRONTEND_FIELDCATALOG, FILTER_CRITERIA, FRONTEND_LAYOUT, FRONTEND_PRINT and SELECTED_CELLS settings.
Imagine the user scrolled down the list without selecting any cell. Is it possible to determine (and possibly restore) this?
TIA,
Regards,
ClemensHi,
Try this...
when calling the REFRESH_TABLE_DISPLAY method..pass
IS_STABLE-row = 'X' and
IS_STABLE-col = 'X'.
Thanks
Naren -
Find/Find Next Behavior in ALV in container in ABAP OO
I have an ALV grid in a custom container that's sized for a screen on a high-resolution tube. In other words, there's a scrollbar on the ALV but none on the screen itself (because the whole screen is visible at the high resolution.)
At this high resolution, a find or find next will correctly scroll the ALV to the row in which an item is found (when the "found" row is below the currently visible row of the ALV.)
But when I switch to a lower resolution where I have a scroll bar on the ALV and on the window itself, a find or find next does not scroll the ALV properly. You have to manually scroll to find the found row.
Yes - I have both resizings checked on the container.
Is there a way I can:
1) find the resolution the user is in?
2) modify the screen size to fit this resolution?
3) modify the container size to fit this resolution?
Thanks
djhCalgar -
This is the same thing that Thomas (Jung) suggested in an old ABAP General thread.
But I've done it, and it doesn't work.
Also, I don't understand why I'm getting a scroll bar for the ALV as well as for the screen.
I thought if I did what you and Thomas said, I would only see the scroll bar for the screen and not the ALV.
Any other ideas ????
Thanks
djh -
Position button at the end of ALV grid
Hi,
I have a requirement to place position button (like in OB52 or any table/view maintenance ) to search and position the record on the top of list. I have placed the position pushbutton with function code and have called TABLE_GET_KEY_TO_SET_CUR_ROW for the input . My alv grid doesn't show the toolbar till the records cross one page. can you please suggest 1- how to make the scrollbar visible always ? 2- How to make the position button work as in tables for ALV grid?
Regards,
GarimaI have created the pushbutton in the same screen as container and assigned a function code. I have put this logic in user-command for this button and refreshed display. But it doesn't work, moreover the scrollbar is not visible if the records are less than one page.
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN '&BACK&'.
LEAVE TO SCREEN 0.
WHEN '&EXIT&'.
LEAVE PROGRAM.
WHEN '&POSI&'.
DATA: LV_EBELN(15) TYPE C,
IT_EXCL TYPE VIMEXCLFLD OCCURS 0,
WA_EXCL TYPE VIMEXCLFLD,
LV_PO TYPE EKKO-EBELN.
DATA: LT_CELL1 TYPE TABLE OF LVC_S_ROID,
LS_ROW_ID TYPE LVC_S_ROID,
LS_COL_ID TYPE LVC_S_COL.
DATA: LWA_CELL1 LIKE LINE OF LT_CELL1.
WA_EXCL-FIELDNAME = 'MANDT'.
APPEND WA_EXCL TO IT_EXCL.
CALL FUNCTION 'TABLE_GET_KEY_TO_SET_CUR_ROW'
EXPORTING
TABLE = 'EKKO'
IMPORTING
TABLE_KEY = LV_EBELN
TABLES
EXCLUDE_FIELDS = IT_EXCL
EXCEPTIONS
CANCELLED_BY_USER = 1
TABLE_NOT_FOUND = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
SHIFT LV_EBELN LEFT DELETING LEADING SPACE.
MOVE LV_EBELN+0(10) TO LV_PO.
READ TABLE GT_FINAL INTO WA_FINAL WITH KEY EBELN = LV_PO.
CALL METHOD R_GRID->GET_SCROLL_INFO_VIA_ID
iMPORTING
ES_ROW_NO = LS_ROW_ID
ES_COL_INFO = LS_COL_ID.
LS_ROW_ID-ROW_ID = sy-tabix.
LS_COL_ID-FIELDNAME = 'EKGRP'.
data: ls_row type LVC_S_ROW,
ls_col type LVC_S_COL.
ls_row-index = 2.
CALL METHOD r_grid->set_scroll_info_via_id
EXPORTING
IS_ROW_INFO = ls_row
is_col_info = ls_col.
ENDIF.
**Row and column of the alv are refreshed after changing values
STABLE-ROW = 'X'.
STABLE-COL = 'X'.
*REfreshed ALV display with the changed values
*This ALV is non editable and contains new values
CALL METHOD R_GRID->REFRESH_TABLE_DISPLAY
EXPORTING
IS_STABLE = STABLE
EXCEPTIONS
FINISHED = 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.
Please help!! -
Cl_gui_alv_grid - scrollbar problem
Hi all,
I use the OO ALV grid.
But when I display an itab in the ALV I have the following problem:
The scrollbar does not scroll to all entries.
This means the scrollbar (at the ALV grid) is at the end position but when I use the scroll wheel on the mouse there are more entries available.
Is it a bug? Any ideas?
regardsScrollbar was in wrong container
-
ALV Grid screen limit for a long field
Hi, i am having a problem making an ALV Grid of IDOC contents, i want to show de SDATA field of de EDIDD structure, but it is a 1000 char field, and when the ALV comes out i can only see part of the field.
I think the problem is the scrollbar, because it seems it not allows to scroll unless a field is starting or ending at the right or left of the screen.
It is a way to solve this problem?
thanks
best regards
Mariano Billinghurst.a®s, thank you I have already tougth that solution but my client wants to see all in the alv to compare the lines.
I anyonelse have an idea it is wellcome!
thanks.
mariano. -
Different user settings for scrolling in tables or ALVs
Hi Experts,
I have a strange problem.
I have a Web Dynpro Application that uses the UI Element table. For one user who uses it the scrolling mode is a scrollbar and for an other user the scrolling mode is a paginator. That appears not only for this application. ALL applications on the system have this difference for users. So, not only in tables does that appear. In ALVs too!
Does anybody know where I can configure this for every single user?
Thanks a lot!
Best regards,
IngmarThe only thing I can figure is that the user getting the paginartor has accessibility turned on:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/19/e64941bfb4de2be10000000a1550b0/frameset.htm
That is the only option I know of that should override the system or application settings for scrolling. In particular accessibility can be turned on at the user profile level:
To do this, in transaction SU01 for your user name choose the tabstrip Parameters, insert the parameter ID ACCESSIBILITY_MODE with the value X, and save the entry.
Or within the portal:
To do this, in your user profile in the portal, under General Information select option Activate Accessibility (Screen Reader Required) and save your entries. This specification is evaluated by Web Dynpro ABAP. -
How to adjust ALV size in ITS application? Please Help!
Hi Experts,
I have a ABAP program that shows a ALV report using function module - REUSE_ALV_GRID_DISPLAY.
This ABAP program I have web enabled using ITS (SICF transaction).
When I see the ALV on the browser, It has only 10 rows but still vertical and horizontal scrollbars are dislayed for the ALV itself. Moreover the horizontal scrollbar is shown near the browser status bar. So Unnecessarily blank space is shown in the ALV after 10 rows.
I have even tried ~ALVGRIDPAGESIZE = 10. But it has no affect. I am using SAP 6.20.
So how to control the scrolling and ALV dispaly size?
Please help!
Thanks
Gopalhi
good
go through these links, i hope these ll help you to solve your problem,
http://www7.sap.com/sweden/pdf/coursecatalog.pdf#search=%22ADJUST%20THE%20ALV%20SIZE%20IN%20INTERNET%20TRANSACTION%20SERVER%20APPLICATION%20%2C%20SAP%22
thanks
mrutyun^
Maybe you are looking for
-
HP C410a does not recognize a new cartride
I have an HP All in One. C410a. The print seemed to fade and the photo black 564 level showed low so I replaced it with a brand new order from HP. It is an original identical and nothing prints now. I printed two or three pages with only a small
-
My ipod 4th gen wont let me download any apps on my ipod.. what do i do?
my ipod wont let me download any apps what do i do??
-
Vista does not recognize my iPhone / Not charging
Two problems: 1. Extemely slow charging: - I've had my iPhone plugged in to the wall all night. The battery meter only shows 20% power. - When charging from my computer or the mains, the charge icon does not appear. - I've tried charging off my lapto
-
Does anyone know when more ringtones will be available example U2
Just curious. I believe they did a commercial with apple sometime back and theirs would be available.
-
Hi, i am new to industry specific solution utility,now i need to download help file for that.can anybody pls tell me how to do it? thanks, raman