<?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: Spliting Internal table row in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478072#M1418504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;paste the itab gt_final_csv declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry check the fields in truxs_t_text_data, it must be of type c,string ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Jan 5, 2010 3:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 10:07:15 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-01-05T10:07:15Z</dc:date>
    <item>
      <title>Spliting Internal table row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478070#M1418502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an internal table &lt;STRONG&gt;gt_final_csv&lt;/STRONG&gt; , which has value in body and header is blank, and now i have to split this &lt;STRONG&gt;gt_final_csv&lt;/STRONG&gt;  row and have to append at particular point to another &lt;STRONG&gt;gt_final_csv&lt;/STRONG&gt; . i m doing like below but it is giving error "GT_FINAL_CSV1" must be a character-like data object (data type C, N,D, T, or STRING) STRING).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone plz help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code. DATA: gt_final_csv TYPE truxs_t_text_data.&lt;/P&gt;&lt;P&gt;          DATA: gt_final_csv1(4096) type c.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF gst_strg,&lt;/P&gt;&lt;P&gt;       strg(4096) type c,&lt;/P&gt;&lt;P&gt;       END OF gst_strg.&lt;/P&gt;&lt;P&gt;DATA : gt_strg type table of gst_strg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value in &lt;STRONG&gt;gt_final_csv&lt;/STRONG&gt; is :&lt;/P&gt;&lt;P&gt;INVSUM;071;5013315;;1500;2;100104;21.12.2009;. .;1;1;SGD;USD;;;1.000.000,000;0000000000000;C_BPRATAMA;21.12.2009;;;A;G;N;04.01.2010;INVPO;613313;00.00.0000;INVLIN;001;0000000;613313;00001;000000000000900001;TEST;0,00;0,00;0,00;CS;5;1.000.000,000;SG;;INVCMT;;INVSCMT;;00000;;000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to seperate it in another itab at INV and have to append it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_field_seperator    = ','&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_tab_sap_data       = gt_final&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      i_tab_converted_data = gt_final_csv&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_failed    = 1&lt;/P&gt;&lt;P&gt;      OTHERS               = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   gt_final_csv1 = gt_final_csv[].&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;split gt_final_csv1 at 'INV' into table gt_strg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 09:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478070#M1418502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T09:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Spliting Internal table row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478071#M1418503</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;make sure none of the components declared under the type truxs_t_text_data are of numeric types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything should be character types.&lt;/P&gt;&lt;P&gt;ie C,N, D, T or String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make the changes as per the requirement.&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;Ranjith Nambiar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 09:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478071#M1418503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T09:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spliting Internal table row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478072#M1418504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;paste the itab gt_final_csv declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry check the fields in truxs_t_text_data, it must be of type c,string ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Jan 5, 2010 3:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 10:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478072#M1418504</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-05T10:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Spliting Internal table row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478073#M1418505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split gt_final_csv1 at 'INV' into table gt_strg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you cannot split the contents directly like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_final_csv1 into wa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then split wa into table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Jan 5, 2010 3:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 10:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spliting-internal-table-row/m-p/6478073#M1418505</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-05T10:13:32Z</dc:date>
    </item>
  </channel>
</rss>

