<?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 ALV display problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297672#M157367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,everyone!&lt;/P&gt;&lt;P&gt;How can I display the leading space in ALV grid? It seems that alv always truncate the leading space of the string when displaying it. such as ' abced' will be displayed as 'abcde'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2006 03:49:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-22T03:49:58Z</dc:date>
    <item>
      <title>ALV display problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297672#M157367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,everyone!&lt;/P&gt;&lt;P&gt;How can I display the leading space in ALV grid? It seems that alv always truncate the leading space of the string when displaying it. such as ' abced' will be displayed as 'abcde'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 03:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297672#M157367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T03:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297673#M157368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use JUST field in the structure SLIS_T_FIELDCAT_ALV which you pass to the Function Module.There are 3 values for JUST.&lt;/P&gt;&lt;P&gt;1) 'R' means the text will be written from right&lt;/P&gt;&lt;P&gt;2) 'L' means the text will be written from left&lt;/P&gt;&lt;P&gt;3) 'C' means the text will be written at Center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example..&lt;/P&gt;&lt;P&gt;DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;FIELDCAT_LN LIKE LINE OF GT_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass it like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR FIELDCAT_IN.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-TABNAME = 'IT_EKPO'.&lt;/P&gt;&lt;P&gt;FIELDCAT_LN-JUST = 'R'.&lt;/P&gt;&lt;P&gt;APPEND FIELDCAT_LN TO GT_FIELDCAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it....may be work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have set s_alv_layout_cat-colwidth_optimize to 'X' then remove it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: kishan negi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 03:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297673#M157368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T03:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297674#M157369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;GO THROUGH THIS LINKS&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/code/archives.asp?i=10&amp;amp;d=3619&amp;amp;a=s" target="test_blank"&gt;http://sap.ittoolbox.com/code/archives.asp?i=10&amp;amp;d=3619&amp;amp;a=s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id13.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id13.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 04:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297674#M157369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T04:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297675#M157370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,kishan,your approach doesn't work.&lt;/P&gt;&lt;P&gt;and Mrutyunjaya,I don't find any hint in the material that you showed to me.&lt;/P&gt;&lt;P&gt;Does anybody know the better way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 04:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297675#M157370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T04:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297676#M157371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the export parameters of function REUSE_ALV_GRID_DISPLAY you will be passing a structure (for example s_alv_layout_cat)to is_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have set s_alv_layout_cat-colwidth_optimize to 'X' then remove it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesnt solve, can u paste that part of your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can as well try &amp;lt;b&amp;gt;REUSE_ALV_HIERSEQ_LIST_DISPLAY&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 06:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297676#M157371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T06:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297677#M157372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  u ve to check what data type u r passing for the field&lt;/P&gt;&lt;P&gt;  characters doesnt show leading zeroes&lt;/P&gt;&lt;P&gt;  however numeric does..&lt;/P&gt;&lt;P&gt;  just chec in dbug mode&lt;/P&gt;&lt;P&gt;  n try to see the result with changed datatype..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 07:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display-problem/m-p/1297677#M157372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T07:01:22Z</dc:date>
    </item>
  </channel>
</rss>

