<?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: Adding extra zero to the data in internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092308#M435164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add one more  field to ur itab of length 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab into wa_itab.

   CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input         = iwa_itab-ten_digit    " ur 10 digit field
 IMPORTING
   OUTPUT        =  wa_itab-fifteen_digit. " new fifteen digit field
          
modify itab from wa_itab.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2007 10:18:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-05T10:18:59Z</dc:date>
    <item>
      <title>Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092304#M435160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I having an input file which the data have 10 digits of number.&lt;/P&gt;&lt;P&gt;eg: 1000000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I required is to read this data and putiing it in internal table then convert this 10 digits data to 15 digits.&lt;/P&gt;&lt;P&gt;Like adding another 5 zero to it. (000001000000000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092304#M435160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092305#M435161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  Before appending the data to the table use the unpack command.&lt;/P&gt;&lt;P&gt;Or you can use the data type of the resulting table as 15 type n.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092305#M435161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092306#M435162</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;To remove leading zeros and leading blanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external-&amp;gt;internal&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal-&amp;gt;external&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              input  = wf_version&lt;/P&gt;&lt;P&gt;            IMPORTING&lt;/P&gt;&lt;P&gt;              output = wf_version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input = 1230000&lt;/P&gt;&lt;P&gt;output = 12300000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092306#M435162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092307#M435163</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;Use FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              input  = data&lt;/P&gt;&lt;P&gt;            IMPORTING&lt;/P&gt;&lt;P&gt;              output = data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will give u the no of zeroes u need...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092307#M435163</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-04-05T10:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092308#M435164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add one more  field to ur itab of length 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab into wa_itab.

   CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input         = iwa_itab-ten_digit    " ur 10 digit field
 IMPORTING
   OUTPUT        =  wa_itab-fifteen_digit. " new fifteen digit field
          
modify itab from wa_itab.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092308#M435164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092309#M435165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Little,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give internal table field length 15.and Use this FM&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;Don't forget ot reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092309#M435165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092310#M435166</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;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: a(15) value '1000000000'.

SHIFT a right by 5 places.
a(5) = '00000'.
write:/ a.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092310#M435166</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2007-04-05T10:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092311#M435167</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;Take one variable of type &amp;lt;b&amp;gt;'N'&amp;lt;/b&amp;gt; length &amp;lt;b&amp;gt;15&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;And move your variable to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data w_numc(15) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_numc = &amp;lt;your variable&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it helps you.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092311#M435167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra zero to the data in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092312#M435168</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;Try the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shift number right deleting trailing space.&lt;/P&gt;&lt;P&gt;overlay number with '000000000000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of zeroes in the overlay statement is 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 10:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-zero-to-the-data-in-internal-table/m-p/2092312#M435168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T10:29:07Z</dc:date>
    </item>
  </channel>
</rss>

