<?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_grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141108#M746566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make the those two fields as "Key fields". This can be done by the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_fieldcat-key       = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where ls_fieldcat is of type lvs_s_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this would enable the field to be fixed &amp;amp; the scroll bar would be enabled from the next field onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sharat Chandra on Dec 27, 2007 9:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 08:09:57 GMT</pubDate>
    <dc:creator>sharat_chandra</dc:creator>
    <dc:date>2007-12-27T08:09:57Z</dc:date>
    <item>
      <title>alv_grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141107#M746565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ALV GRID display output, i need two fields to be fixed and other fields to be scrolled. i got it after getting the output. but is it possible to hard code logic. plz reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance &lt;/P&gt;&lt;P&gt;bramara k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 06:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141107#M746565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T06:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: alv_grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141108#M746566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make the those two fields as "Key fields". This can be done by the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_fieldcat-key       = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where ls_fieldcat is of type lvs_s_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this would enable the field to be fixed &amp;amp; the scroll bar would be enabled from the next field onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sharat Chandra on Dec 27, 2007 9:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 08:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141108#M746566</guid>
      <dc:creator>sharat_chandra</dc:creator>
      <dc:date>2007-12-27T08:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: alv_grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141109#M746567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi brahma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first i want to know if you are generating the report from a Z table or an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are directly passing the zee table without the field catalog, you can make the two fields as primary fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are building fieldcatalog, try to change the field &lt;STRONG&gt;KEY&lt;/STRONG&gt; of the field catalog table to X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;STRONG&gt;loop at t_fieldcat.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;if t_fieldcat-fieldname eq 'F1' or t_fieldcat-fieldname eq 'F2'.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;t_fieldcat-key = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;modify t_fieldcat.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here, t_fieldcat is the field catalog table,&lt;/P&gt;&lt;P&gt;F1 and F2 are the two fields which you wanted to be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;hope this solves your problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 11:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141109#M746567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T11:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: alv_grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141110#M746568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can maintain those fields , while preparing a cat log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_FIELDCAT-SELTEXT_L = 'MATERIAL-NO'.&lt;/P&gt;&lt;P&gt;W_FIELDCAT-DATATYPE = 'CHAR'.&lt;/P&gt;&lt;P&gt;W_FIELDCAT-OUTPUTLEN = 18.&lt;/P&gt;&lt;P&gt;W_FIELDCAT-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W_FIELDCAT-KEY = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;W_FIELDCAT-HOTSPOT = 'X'.&lt;/P&gt;&lt;P&gt;APPEND W_FIELDCAT TO I_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR W_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that those fields become key fields, they r not scrolloble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward i fuseful&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;umakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3141110#M746568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:52:46Z</dc:date>
    </item>
  </channel>
</rss>

