<?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: changing itab to char type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918380#M939009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;take a internal table of single character field of length that equal to other table length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then using loop amd move statemnts populate the new table&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;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 09:08:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-06T09:08:45Z</dc:date>
    <item>
      <title>changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918377#M939006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im having an itab which has int, char, decimal types fields in it. now i need to translate the itab to uppercase. when i use the statement " translate itab to uppercase." im getting error stating itab should be of type char. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i make the itab of type char. any help will be appreciated... &lt;/P&gt;&lt;P&gt;&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;mano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 08:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918377#M939006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918378#M939007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   In your case define another internal table of type char having the same structure as &lt;STRONG&gt;itab&lt;/STRONG&gt;.Then move the records from &lt;STRONG&gt;itab&lt;/STRONG&gt; to new internal table and then apply the statement "translate itab_new to uppercase".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918378#M939007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918379#M939008</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;Translate the field only which has type char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the field f2 in itab has the type c, use the following syntax before the append statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;translate itab-f2 to upper case.&lt;/P&gt;&lt;P&gt;append itab.&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;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918379#M939008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918380#M939009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;take a internal table of single character field of length that equal to other table length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then using loop amd move statemnts populate the new table&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;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918380#M939009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918381#M939010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Careful with that Axe, Eugene`. &lt;/P&gt;&lt;P&gt;TRANSLATE text TO UPPER CASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u cant translate a hole itab using this statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u have go each and every line.....to translate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward IF...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918381#M939010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918382#M939011</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 cannot translate the internal table as a whole to upper case. But you can translate each field in the internal table provided the field is of type Char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at itab.
 translate itab-field to uppercase.
 modify itab.
Endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918382#M939011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918383#M939012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;in your case you only need to convert the character field to upper case.&lt;/P&gt;&lt;P&gt;So do this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wtab.&lt;/P&gt;&lt;P&gt;translate wtab-&amp;lt;char field&amp;gt; to upper case.&lt;/P&gt;&lt;P&gt;modify itab from wtab index sy-tabix transporting &amp;lt;charfield&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u put this chunk of code i think ur problem will be solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918383#M939012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918384#M939013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before appending use one temporary string type variable and do the translation, and assign it back&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918384#M939013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918385#M939014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mate,&lt;/P&gt;&lt;P&gt; thanks for ur reply but still im getting the same error as before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u guide me ...&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;mano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918385#M939014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918386#M939015</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;can u just elaborate ur solution with some sample code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bcoz im not getting the clear picture...&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;mano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918386#M939015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: changing itab to char type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918387#M939016</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;consider you have the workarea of you output table structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after assigning all the field value u will do append to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare a string type variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_string type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear l_string.&lt;/P&gt;&lt;P&gt;l_string = 'abcd'.&lt;/P&gt;&lt;P&gt;translate l_string to uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_output -field1 =  l_string.&lt;/P&gt;&lt;P&gt;append wa_output to t_output.&lt;/P&gt;&lt;P&gt;clear wa_output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-itab-to-char-type/m-p/3918387#M939016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T09:47:56Z</dc:date>
    </item>
  </channel>
</rss>

