<?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: how to avoid the leading zero compression. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720226#M1579994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function modules conversion exit alpha input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2011 11:12:44 GMT</pubDate>
    <dc:creator>Rushikesh_Yeole</dc:creator>
    <dc:date>2011-03-14T11:12:44Z</dc:date>
    <item>
      <title>how to avoid the leading zero compression.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720225#M1579993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am converting the excel file into internal table by using the function module ALSM_EXCEL_TO_INTERNAL_TABLE . I have the single row and 5 columns in my excel file. one of the column is &lt;STRONG&gt;sales division(spart)&lt;/STRONG&gt; and the value is &lt;STRONG&gt;00&lt;/STRONG&gt; . while converting this to internal table i got the value as 0. how to avoid the zero compression here, because i need to pass this internal table to trasnaction &lt;STRONG&gt;VA01 using BDC technique&lt;/STRONG&gt;, while doing so it shows the error message there is no division called 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help me to find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 11:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720225#M1579993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the leading zero compression.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720226#M1579994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function modules conversion exit alpha input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 11:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720226#M1579994</guid>
      <dc:creator>Rushikesh_Yeole</dc:creator>
      <dc:date>2011-03-14T11:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the leading zero compression.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720227#M1579995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This compression of zero is happening because the target fiels is a non character like field(i.e interger or packed).&lt;/P&gt;&lt;P&gt;I would simply suggest you to chnage the type of the field in the internal table to numeric or char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would not suggest the use of Function Module if the above solution works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 11:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720227#M1579995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the leading zero compression.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720228#M1579996</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;This is happening because the excel file in assuming it to be a numerical value than a text, and change the cell format to Numeric. I would suggest you to send the value as &lt;STRONG&gt;="00"&lt;/STRONG&gt; instead of just &lt;STRONG&gt;00&lt;/STRONG&gt;. What this does is it makes the cell format as text and the leading zeroes will be preserved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 11:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720228#M1579996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the leading zero compression.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720229#M1579997</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;&lt;/P&gt;&lt;P&gt;Change the excel file Column into Character/String/Text field ,Autmatically the field will come into internal table with 000 calues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure the The field in the table is a character field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhud@s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 12:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720229#M1579997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T12:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the leading zero compression.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720230#M1579998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to all... i found the answer myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 12:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-the-leading-zero-compression/m-p/7720230#M1579998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T12:16:32Z</dc:date>
    </item>
  </channel>
</rss>

