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

Fixed Column

i have a table report in web. the first column contains the key figures (e.g. net value). the next columns containing the monthly values. is it possible to "fix" the first column like in excel. the problemn is if you scroll to the right you don't know exactly what key figures relates to the relevant number.

any ideas?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2005 at 02:48 PM

    Hi Marc,

    i think you can set the Web Table Property.

    Display data from value column: Data column after which the data is displayed. (DATA_COLUMN_FROM)

    and also check (DATA_COLUMN_TO) this as well..

    hope this helps you.

    Deepak Kunavarapu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2005 at 03:41 PM

    You can have fixed width columns but the contents of the cells won't get cut off like in Excel.

    To make columns fixed width, you have to go to se24, make a new class, and set the superclass to CL_RSR_WWW_MODIFY_TABLE. On the methods tab, redefine CAPTION_CELL and add code like this:

    CASE I_IOBJNM_ROW.

    WHEN '0MATERIAL'.

    C_CELL_TD_EXTEND = 'width="60"'.

    ENDCASE

    Repeat the WHEN condition for every column you want to edit. 0MATERIAL is the infoobject technical name of the column. Activate the class.

    Then, in your web template, switch to HTML view and look for your table object. Change the ITEM_CLASS to read:

    <param name="ITEM_CLASS" value="ZCUSTOM_TABLE"/>

    where ZCUSTOM_TABLE is the name of your class.

    Hope this helps you.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      thanks. but that just fixes the width of the column. i want to have a "fixed" colum like in Excel: if you scroll the screen to the right the first column should stay in front: so only colums 2 - n are scrolled

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.