<?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: Problem when trying to insert matnr in flat table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035325#M1350016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan Carl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ideally to add leading zeros Fm 'CONVERSION_EXIT_ALPHA_INPUT' is used but since you said its not working in your case .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try out Concatenate Stament .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add leading Zeros to the number :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatenate l_zero l_num into l_withzero .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use Move statement if you know the size of input integer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable(i_max) of size greater then the input variable(i_input) and then use move statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Move i_input to i_max .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also add zeros to your integer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer to the following link it wil surely help you since there are so many possibilities :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="40308"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it works for you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditi Wason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2009 03:56:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-21T03:56:28Z</dc:date>
    <item>
      <title>Problem when trying to insert matnr in flat table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035322#M1350013</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;I have a S600 table which is part of LIS.. iam trying to insert past records.. but the field matnr alwasy is recorded without zeros (eg. 900 instead of 000000000000000900)... i trying with CONVERSION_EXIT_ALPHA_INPUT function just before the insert from itab the field have 000000000000000900 but after the insert the field in S600 have 900&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 15:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035322#M1350013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T15:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when trying to insert matnr in flat table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035323#M1350014</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;    Are you just viewing records in table S600?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    When it will be displayed without ZEROs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    While extracting, in result internal table, it will be with ZEROs. While display it may change through Conversion Exit specified in its Domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Check out &amp;amp; reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.Nagarajan.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;We Can&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 15:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035323#M1350014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T15:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when trying to insert matnr in flat table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035324#M1350015</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;Thans for the reply....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I see with SE16 no zeros in the records that i inserted... with zeros in data that system insert in delivery date event... any way when i check with mcsi no name in material only the 900 this is cause in the field its recorded as 900&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 15:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035324#M1350015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T15:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when trying to insert matnr in flat table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035325#M1350016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan Carl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ideally to add leading zeros Fm 'CONVERSION_EXIT_ALPHA_INPUT' is used but since you said its not working in your case .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try out Concatenate Stament .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add leading Zeros to the number :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatenate l_zero l_num into l_withzero .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use Move statement if you know the size of input integer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable(i_max) of size greater then the input variable(i_input) and then use move statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Move i_input to i_max .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also add zeros to your integer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer to the following link it wil surely help you since there are so many possibilities :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="40308"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it works for you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditi Wason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 03:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-trying-to-insert-matnr-in-flat-table/m-p/6035325#M1350016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T03:56:28Z</dc:date>
    </item>
  </channel>
</rss>

