<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ALV List Fixed Rows. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861908#M48218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry but the lines get distorted after i post the message. Hope this will make clear.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;..MATNR...COLA...COLB...COLC&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;|----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Limit1..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...PC.....-.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Limit2..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...-......PQ.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2345 ...&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.XY.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...AB.....DE.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;| 5634 ...|.AK.|...TR.....NK. | &lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="---------------------------" /&gt;&lt;P&gt;Now columns COL A COlB COLC there can be n such columns and are decided dynamically. Limit1 and limit2 are the rows of the internal table which are constant for these eg cola colb ... What i want here is now limit1 and limit2 should not move when i scroll on the vertical bar. as there constant for that particular column in this case say colb. so when i press the scroll bar button 2345 should go up 5634 should remain and limit1 and limit 2 should be seen.&lt;/P&gt;&lt;P&gt;eg i press the scroll bar the two rows limit1 and limit2 remain as they are. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;..MATNR...COLA...COLB...COLC&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;|----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;.Limit1..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...PC.....-...&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;.Limit2..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...-......PQ..&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;.5634 ...&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.AK.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...TR.....NK..&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;|.1346......XY.....TY.....NK..| &lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;Hope i am clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Dec 2004 09:16:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-12-30T09:16:06Z</dc:date>
    <item>
      <title>ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861906#M48216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where i want the first two lines on the internal tables that are displayed to be fixed in an alv grid. I have to generate dyanmic columns so i can't use another list. The data in the list is something like this.&lt;/P&gt;&lt;P&gt;matnr  columnA columnB columnC..... Maybe N&lt;/P&gt;&lt;P&gt;Limit1  10       -           -&lt;/P&gt;&lt;P&gt;Limit2  -        20         -&lt;/P&gt;&lt;P&gt;2306     A        B         C&lt;/P&gt;&lt;P&gt;2441     D       E          F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the limit1 and the limit2 column to be fixed and Can i add them directly to Column heading but on a new line or fix these two lines so that the othe data moves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 07:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861906#M48216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T07:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861907#M48217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say &amp;lt;b&amp;gt;LIMIT1&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;LIMIT2&amp;lt;/b&amp;gt; are columns, but you show them under MATNR. This is confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, multiple level columns are not possible, unless it is a hierarchy. There is no indication of hierarchy in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is obscure. Use [code ] and [/code ] without the spaces before the end bracket and you can show clearly how you want your table. Also specifiy what are the fixed lines in that table with an example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can show your example something like this(I have used the code tags in here)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 ---------------------------
| MATNR  COLA   COLB   COLC |
|---------------------------
| 2345    XY     AB     DE  | 
| 5634    AK     TR     NK  | 
 ----------------------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it is pretty difficult to explain in the forum, but with vague questions you get vague answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 07:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861907#M48217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T07:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861908#M48218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry but the lines get distorted after i post the message. Hope this will make clear.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;..MATNR...COLA...COLB...COLC&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;|----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Limit1..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...PC.....-.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Limit2..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...-......PQ.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2345 ...&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.XY.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...AB.....DE.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;| 5634 ...|.AK.|...TR.....NK. | &lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="---------------------------" /&gt;&lt;P&gt;Now columns COL A COlB COLC there can be n such columns and are decided dynamically. Limit1 and limit2 are the rows of the internal table which are constant for these eg cola colb ... What i want here is now limit1 and limit2 should not move when i scroll on the vertical bar. as there constant for that particular column in this case say colb. so when i press the scroll bar button 2345 should go up 5634 should remain and limit1 and limit 2 should be seen.&lt;/P&gt;&lt;P&gt;eg i press the scroll bar the two rows limit1 and limit2 remain as they are. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;..MATNR...COLA...COLB...COLC&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;|----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;.Limit1..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...PC.....-...&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;.Limit2..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.-..&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...-......PQ..&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;.5634 ...&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;.AK.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;...TR.....NK..&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;|.1346......XY.....TY.....NK..| &lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;Hope i am clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 09:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861908#M48218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T09:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861909#M48219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[code ] [/code ]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 09:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861909#M48219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861910#M48220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fig 1.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;----------------------------
| MATNR  COLA   COLB   COLC |
|---------------------------
| Limit1  -       PC    -   |
| Limit2  -       -     CE  |
| 2345    XY     AB     DE  | 
| 5634    AK     TR     NK  | 
 ---------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fig 2&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;----------------------------
| MATNR  COLA   COLB   COLC |
|---------------------------
| Limit1  -       PC    -   |
| Limit2  -       -     CE  |
| 5634    AK     TR     NK  | 
| 1455    XY     NB     TE  | 
 ---------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 09:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861910#M48220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T09:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861911#M48221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know, I am not sure whether you can freeze rows. Freezing columns is possible, but freezing rows, I doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S From this figure, it is pretty clear to us. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 09:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861911#M48221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861912#M48222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What you say is quite correct however there are some methods in cl_gui_alv_grid_base class which if i call may provide a solution. For eg.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SET_FIRST_VISIBLE_COL&lt;/P&gt;&lt;P&gt;SET_FIRST_VISIBLE_COL_ID&lt;/P&gt;&lt;P&gt;SET_FIRST_VISIBLE_COL_ID2&lt;/P&gt;&lt;P&gt;SET_FIRST_VISIBLE_ROW&lt;/P&gt;&lt;P&gt;SET_FIRST_VISIBLE_ROW_ID&lt;/P&gt;&lt;P&gt;SET_FIRST_VISIBLE_ROW_ID2&lt;/P&gt;&lt;P&gt;SET_FIXED_COLS&lt;/P&gt;&lt;P&gt;SET_FIXED_ROWS&lt;/P&gt;&lt;P&gt;SET_GRID_READONLY&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the problem is sap does not let me call these methods and says that either the method is not existing or is a protected method. Could you please help .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 09:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861912#M48222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List Fixed Rows.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861913#M48223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET_FIXED_COLS and SET_FIXED_ROWS are applicable for OLE objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2004 10:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-fixed-rows/m-p/861913#M48223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-30T10:43:03Z</dc:date>
    </item>
  </channel>
</rss>

