<?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: Char data into internal table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960394#M1489844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Statement ASSIGN COMPONENT sy-tabix OF STRUCTURE wa_data TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insted of using SY-TABIX  use the actual field name of the structre wa_data .&lt;/P&gt;&lt;P&gt;Use a RTTS Method to get all the fields of the structre WA_DATA and then loop at all the fields and then manuplate teh that which has been splitted...!&lt;/P&gt;&lt;P&gt;Hope it helps it will not cause any over flow..and ...( Try to condence the The splitted dat use condence addition while moveing the data to wa_data it will avoide the leading and trailing spaces.... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anup Deshmukh on Jun 17, 2010 8:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 06:29:48 GMT</pubDate>
    <dc:creator>anup_deshmukh4</dc:creator>
    <dc:date>2010-06-17T06:29:48Z</dc:date>
    <item>
      <title>Char data into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960392#M1489842</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 will get data from the FTP (.TXT file) through FTP_SERVER_TO_R3.&lt;/P&gt;&lt;P&gt;in chardata with separater Tab delimited.&lt;/P&gt;&lt;P&gt;here i took one field symbol and assigning the data into internal table.&lt;/P&gt;&lt;P&gt;till here every thing is ok.&lt;/P&gt;&lt;P&gt;My problem is one data type is 13 char, if that field is more than 13 char in the file&lt;/P&gt;&lt;P&gt;it is giving DUMP. (DUMP is OVERFLOW Field 999976767878.22)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF X_STRING,&lt;/P&gt;&lt;P&gt;                   LINE(150) TYPE STRING,&lt;/P&gt;&lt;P&gt;              END OF X_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : IT_STRING TYPE STANDARD TABLE OF X_STRING,&lt;/P&gt;&lt;P&gt;          WA_STRING TYPE X_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      FIELD-SYMBOLS : &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;                      &lt;/P&gt;&lt;P&gt;                    LOOP AT chardata INTO wa_chardata.&lt;/P&gt;&lt;P&gt;                      REFRESH it_string.&lt;/P&gt;&lt;P&gt;                      SPLIT wa_chardataline AT cl_abap_char_utilities=&amp;gt;horizontal_tab INTO TABLE it_string.&lt;/P&gt;&lt;P&gt;                      LOOP AT it_string INTO wa_string FROM 1 TO 29.&lt;/P&gt;&lt;P&gt;                        ASSIGN COMPONENT sy-tabix OF STRUCTURE wa_data TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;                        &amp;lt;fs&amp;gt; = wa_string-field1.&lt;/P&gt;&lt;P&gt;                        UNASSIGN &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;                      ENDLOOP.&lt;/P&gt;&lt;P&gt;                      APPEND wa_data TO it_data.&lt;/P&gt;&lt;P&gt;                      CLEAR wa_data.&lt;/P&gt;&lt;P&gt;                    ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me solution to over come this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 05:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960392#M1489842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T05:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Char data into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960393#M1489843</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 have increase your user define data type length. i think hope your problem will be solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;I.Muthukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 06:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960393#M1489843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T06:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Char data into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960394#M1489844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Statement ASSIGN COMPONENT sy-tabix OF STRUCTURE wa_data TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insted of using SY-TABIX  use the actual field name of the structre wa_data .&lt;/P&gt;&lt;P&gt;Use a RTTS Method to get all the fields of the structre WA_DATA and then loop at all the fields and then manuplate teh that which has been splitted...!&lt;/P&gt;&lt;P&gt;Hope it helps it will not cause any over flow..and ...( Try to condence the The splitted dat use condence addition while moveing the data to wa_data it will avoide the leading and trailing spaces.... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anup Deshmukh on Jun 17, 2010 8:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 06:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960394#M1489844</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-06-17T06:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Char data into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960395#M1489845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muthu i can do like this but i need to do it for more than 30 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anup i didn't got what you explained, what is RTTS method.&lt;/P&gt;&lt;P&gt;i think you understood my problem.(My data type is 13 char when i assign through field-symbol more than 13 char&lt;/P&gt;&lt;P&gt;it is giving dump)&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;sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 06:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960395#M1489845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T06:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Char data into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960396#M1489846</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 change the Field Symbol to type C and do the casting with Field Symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might solve your Problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 07:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960396#M1489846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T07:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Char data into internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960397#M1489847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just Serch For RTTS example on WIKI or SDN ...and you will create  dynamically the Lenght you need...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 07:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/char-data-into-internal-table/m-p/6960397#M1489847</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-06-17T07:15:11Z</dc:date>
    </item>
  </channel>
</rss>

