<?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: Change field type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130135#M987582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define other Itab with same fields of the forall entries internal table except one change that is change char 10 field to char 90.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using move u can fill the itab from previous internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 10:15:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-07T10:15:45Z</dc:date>
    <item>
      <title>Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130132#M987579</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 select query in which I am using FOR ALL ENTRIES IN itab. The internal table's field which I need to compare has type of CHAR 10 but the field in the database table has type CHAR 90. I need to make both the fields of the same type. Please advice me how can I do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130132#M987579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130133#M987580</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;   in the internal table itself you can declare a field of 90 characters rather than uing it of 10 characters.why are you using it of 10 characters...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130133#M987580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130134#M987581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make your internal table field 90 charcters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:14:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130134#M987581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130135#M987582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define other Itab with same fields of the forall entries internal table except one change that is change char 10 field to char 90.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using move u can fill the itab from previous internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130135#M987582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130136#M987583</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 can very easily change the size of Your internal Table field.&lt;/P&gt;&lt;P&gt;This will be very beneficial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130136#M987583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130137#M987584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose itab1 is the table which has the field of type char10. &lt;/P&gt;&lt;P&gt;Declare another internal table itab2 which will have the field of type char90.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fill the itab1 in the normal way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2 [ ] =  itab1[ ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use itab2[] in the select query whr u r using For all entries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;Reward points if useful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rudra Prasanna Mohapatra on Jul 7, 2008 12:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130137#M987584</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-07-07T10:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130138#M987585</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;If The Database Table is SAP Standard Table you can not change it without Access key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Change that you have to Go for ALTER table ,Again you have to think about the Data in that table.You May Lost Data if you Decrease teh The Field Length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It s better To change the Internal table field Type according to the Database Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you do not have to bother about the data in Database 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;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130138#M987585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130139#M987586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Its better to change you internal table field length to 90 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130139#M987586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130140#M987587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in the condition of FOR ALL ENTRIES you have to go same type. so in this case you have to change the length of the field of your internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with luck,&lt;/P&gt;&lt;P&gt;pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 10:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130140#M987587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change field type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130141#M987588</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...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: Begin of ITAB...... .&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;              FLD1 TYPE &amp;lt;DB Table&amp;gt;-&amp;lt;Field Name&amp;gt;.&lt;/P&gt;&lt;P&gt;                    (In this case the field name is the one which is of &lt;/P&gt;&lt;P&gt;                     90 characters length.&lt;/P&gt;&lt;P&gt;              .................&lt;/P&gt;&lt;P&gt;              .................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           End of ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 11:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-field-type/m-p/4130141#M987588</guid>
      <dc:creator>former_member787646</dc:creator>
      <dc:date>2008-07-07T11:39:43Z</dc:date>
    </item>
  </channel>
</rss>

