cancel
Showing results for 
Search instead for 
Did you mean: 

How do we resize Output ALV?

Former Member
0 Kudos

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 PM

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

Hi Vara,

Refer to this [thread|].

Regards

Arjun

Former Member
0 Kudos

All,

Sorry for confusion.

Actually I want to hide explorer Horizontal bar not ALV bar which comes in when Columns are more?Is there anyway we can do it.

FYI.. I used Viewcontainer element and displaying my ALV output.

rgds

Vara

Edited by: Vara K on Jan 16, 2009 5:47 PM

arjun_thakur
Active Contributor
0 Kudos

Hi Vara,

Refer to these threads, they'll answer your question:

Regards

Arjun

Former Member
0 Kudos

Thank you arjun

It resolved my problem.I am awarding you full points.

rgds

Vara

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vara,

Are you sure that horizontal scrollbar is visible in ALV?

As per my knowledge, I have never seen an horizontal scrollbar in ALV.

You will be seeing a paginator by default in the application.

If you want to change it to the Vertical scrollbars instead of paginators then go to the application under parameters tab.

Select WDTABLENAVIGATION from the Parameters and give the value as 'SCROLLBAR'.

This sets an vertical scroll bar to you.

Thank you,

Regards,

Shashikanth. D

Former Member
0 Kudos

Hi,

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]