<?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 problem with zeros in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957133#M393839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If its a character field why are you pasing followng values -&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;e_fieldcat-no_zero = space.&lt;/P&gt;&lt;P&gt;e_fieldcat-lzero = 'X'.&lt;/P&gt;&lt;P&gt;e_fieldcat-edit_mask = '==ALPHA'.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;add this one.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;e_fieldcat-datatype = 'CHAR'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the display by removing them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also AUFNR is the order number of CHAR 12 not the company code as far as I remember.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Khare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2007 23:24:52 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2007-02-22T23:24:52Z</dc:date>
    <item>
      <title>ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957132#M393838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;   I have a problem in ALV. There is character field which is company code , whenever the value is '000'or 010' it is displaying as '0' or '10'. can you please help me on this. here is the field catelog for this... it is really urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR e_fieldcat.&lt;/P&gt;&lt;P&gt;  ADD 1 TO w_col_pos.&lt;/P&gt;&lt;P&gt;  e_fieldcat-fieldname   = 'AUFNR'.&lt;/P&gt;&lt;P&gt;  e_fieldcat-seltext_m   = 'Company Code'.&lt;/P&gt;&lt;P&gt;  e_fieldcat-col_pos     = w_col_pos.&lt;/P&gt;&lt;P&gt;  e_fieldcat-no_zero = space.&lt;/P&gt;&lt;P&gt;  e_fieldcat-lzero = 'X'.&lt;/P&gt;&lt;P&gt;  e_fieldcat-edit_mask = '==ALPHA'.&lt;/P&gt;&lt;P&gt;  APPEND e_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 23:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957132#M393838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T23:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957133#M393839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If its a character field why are you pasing followng values -&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;e_fieldcat-no_zero = space.&lt;/P&gt;&lt;P&gt;e_fieldcat-lzero = 'X'.&lt;/P&gt;&lt;P&gt;e_fieldcat-edit_mask = '==ALPHA'.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;add this one.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;e_fieldcat-datatype = 'CHAR'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the display by removing them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also AUFNR is the order number of CHAR 12 not the company code as far as I remember.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Khare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 23:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957133#M393839</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-02-22T23:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957134#M393840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right. but here I am displaying the company code from order number. Well it is a different req,.  I have tried all the options but no use...Thanks for the quick reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 23:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957134#M393840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T23:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957135#M393841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the result thanks &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 23:43:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957135#M393841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T23:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957136#M393842</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;How did you fix it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 23:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957136#M393842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T23:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957137#M393843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshmi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fieldcat-edit_mask = '==ALPHA'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-edit_lzero = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Declare the field as type MARA-MATNR.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;BCOZ conv routine for MATNR IS MATN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, if all is well, this will be handled automatically, for example, if on a dynpro, all you need to do is set the conversion routine value to ALPHA, then the conversion will be automatic, nothing to code. If in a list display, the field should be TYPE MARA-MATNR, then the conversion will be automatic on the list display, as well as the ALV grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&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>Thu, 22 Feb 2007 23:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957137#M393843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T23:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957138#M393844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 16:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957138#M393844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957139#M393845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have declared another field which is also charecter and moved the contents of order number to that field and displayed it in ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 16:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957139#M393845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T16:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV problem with zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957140#M393846</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;Reward points for helpful entries.&lt;/P&gt;&lt;P&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>Fri, 23 Feb 2007 16:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-zeros/m-p/1957140#M393846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T16:43:40Z</dc:date>
    </item>
  </channel>
</rss>

