Skip to Content
author's profile photo Former Member
Former Member

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 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jan 16, 2009 at 04:52 AM

    Hi Vara,

    Refer to this [thread|hiding-the-alv-footer-with-setfootervisible-method].

    Regards

    Arjun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2009 at 01:08 AM

    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]

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2009 at 04:44 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.