<?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/2649080#M610522</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;you can use the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;conversion_exit_alpha_input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not helping you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then go &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shift itab-field left deleting leading '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and modify your internal table and display this internal table in your grid display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2007 09:13:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-20T09:13:03Z</dc:date>
    <item>
      <title>alv grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649076#M610518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;        req : remove the prfix 'zeros' eg: 00000223344 in the alv grid display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649076#M610518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T09:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649077#M610519</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 the field catalog set no_zero = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649077#M610519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T09:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649078#M610520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before displaying it into alv....&lt;/P&gt;&lt;P&gt;use '&lt;/P&gt;&lt;P&gt;shift text left deleting leading ' 0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649078#M610520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649079#M610521</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;You will have to use a conv exit&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Using the Conversion Exit&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Purpose&lt;/P&gt;&lt;P&gt;You use a conversion exit to define a jump to a conversion routine for a column of your output table. As the exit you specify the &amp;lt;conv&amp;gt; part of a function module called CONVERSION_EXIT_&amp;lt;conv&amp;gt;_OUTPUT. For example, you can use conversion exit ALPHA (see function module CONVERSION_EXIT_ALPHA_OUTPUT) to suppress leading zeros of account numbers.&lt;/P&gt;&lt;P&gt;The conversion exit is implemented through WRITE addition USING EDIT MASK.&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;So that the ALV Grid Control can perform the conversion, it must know the internal and the external length of the field, which is the same as the length before and the length after the conversion.&lt;/P&gt;&lt;P&gt;The following example that uses editing template EDIT MASK for the WRITE command shows you how these lengths are specified:&lt;/P&gt;&lt;P&gt;DATA TIME TYPE T VALUE '154633'. WRITE (8) TIME USING EDIT MASK '__:__:__'. "Output: 15:46:33&lt;/P&gt;&lt;P&gt;In this example, the internal length (of type T) is six characters, while the output length is eight.&lt;/P&gt;&lt;P&gt;The column width (which can be set using the current layout) does not depend on these values and needs not be adjusted accordingly.&lt;/P&gt;&lt;P&gt;Process Flow&lt;/P&gt;&lt;P&gt;1. Declare the internal and the external length of the field to the ALV Grid Control.&lt;/P&gt;&lt;P&gt;&amp;#149; For fields with DDIC reference, the ALV Grid Control automatically uses the internal and the external length.&lt;/P&gt;&lt;P&gt;&amp;#149; For fields without DDIC reference, you must specify the internal length using field INTLEN and the external length using field DD_OUTLEN of the field catalog (see Parameters for Fields Without DDIC Reference [Page 153]).&lt;/P&gt;&lt;P&gt;2. Specify the conversion exit using field EDIT_MASK of the field catalog (see Formatting Column Contents [Page 148]).&lt;/P&gt;&lt;P&gt;3. Pass the field catalog with method set_table_for_first_display [Page 100] before the list is displayed for the first time.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;The values of the columns are run through the conversion routine before display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward if useful&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649079#M610521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T09:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649080#M610522</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;you can use the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;conversion_exit_alpha_input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not helping you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then go &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shift itab-field left deleting leading '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and modify your internal table and display this internal table in your grid display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649080#M610522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T09:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649081#M610523</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;in fieldcatalog for that field try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fieldcatalog-no_zero = 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2649081#M610523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T09:15:49Z</dc:date>
    </item>
  </channel>
</rss>

