<?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 Internal Tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699176#M306578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a samll Question :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have in entry of Method an internal table , and I ignore the fields contain on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the goal is to separate each two fields with separator. and write it in text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how I can do that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Internal table&lt;/P&gt;&lt;P&gt;PP OO KK&lt;/P&gt;&lt;P&gt;MM CC TT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is :&lt;/P&gt;&lt;P&gt;PP;OO;KK&lt;/P&gt;&lt;P&gt;MM;CC;TT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note That I ignore the structure of the table. I know just that is table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 10:29:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T10:29:52Z</dc:date>
    <item>
      <title>Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699176#M306578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a samll Question :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have in entry of Method an internal table , and I ignore the fields contain on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the goal is to separate each two fields with separator. and write it in text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how I can do that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Internal table&lt;/P&gt;&lt;P&gt;PP OO KK&lt;/P&gt;&lt;P&gt;MM CC TT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is :&lt;/P&gt;&lt;P&gt;PP;OO;KK&lt;/P&gt;&lt;P&gt;MM;CC;TT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note That I ignore the structure of the table. I know just that is table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 10:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699176#M306578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T10:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699177#M306579</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;U can use fm SAP_CONVERT_TO_CSV_FORMAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 10:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699177#M306579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T10:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699178#M306580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You know the lenth of the field in the internal table, &lt;/P&gt;&lt;P&gt;so write like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;Move itab-File+0(2) to copyfield.&lt;/P&gt;&lt;P&gt;Move Copyfield to text.&lt;/P&gt;&lt;P&gt;move itab-field+2(2) to copyfield.&lt;/P&gt;&lt;P&gt;concatinate copyfield text into text separeted by ':'.&lt;/P&gt;&lt;P&gt;move itab-field+4(2) to copyfield.&lt;/P&gt;&lt;P&gt;concatinate copyfield text into text separeted by ':'&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at the last you wil have the exact value in the TEXT field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 10:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699178#M306580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T10:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699179#M306581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USE FM GUI_DOWNLOAD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and WRITE_FIELD_SEPARATOR = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab dilimiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 10:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699179#M306581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T10:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699180#M306582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My internal Table is Standard table without header line ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's copyfiled....and Itab-File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab-File are not accepted by the compilator..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 10:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699180#M306582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699181#M306583</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't you use fm SAP_CONVERT_TO_CSV_FORMAT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I you need to do by yourself, perhaps this can be helful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a method I developed to insert an element as separator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;METHODS:  INSERT_SEPARATOR_CHAR
                   IMPORTING
                     SEPARATOR TYPE STRING
                     RECORD_IN TYPE ANY
                     NO_GAPS   TYPE C DEFAULT SPACE
                   EXPORTING
                     RECORD_OUT  TYPE STRING.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Implemetation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; METHOD INSERT_SEPARATOR_CHAR.

    FIELD-SYMBOLS: &amp;lt;FS_FIELD&amp;gt; TYPE ANY.

    DATA: WA_STRING(10000) TYPE C.

    DATA: LEN_SEPAR  TYPE I,
          LEN_FIELD  TYPE I,
          LEN_STRING TYPE I.

    LEN_SEPAR = STRLEN( SEPARATOR ).

    DO.
      ASSIGN COMPONENT SY-INDEX OF STRUCTURE RECORD_IN TO &amp;lt;FS_FIELD&amp;gt;.
      IF SY-SUBRC &amp;lt;&amp;gt; 0. EXIT. ENDIF.

      DESCRIBE FIELD &amp;lt;FS_FIELD&amp;gt; LENGTH LEN_FIELD.

      WRITE: &amp;lt;FS_FIELD&amp;gt; TO WA_STRING+LEN_STRING(LEN_FIELD).
      LEN_STRING = LEN_STRING + LEN_FIELD.
      WRITE: SEPARATOR(LEN_SEPAR) TO WA_STRING+LEN_STRING.
      IF NOT NO_GAPS IS INITIAL.
        CONDENSE WA_STRING NO-GAPS.
        LEN_STRING = STRLEN( WA_STRING ).
      ELSE.
        LEN_STRING = LEN_STRING + LEN_SEPAR.
      ENDIF.
    ENDDO.

    LEN_STRING = STRLEN( WA_STRING ).
    MOVE WA_STRING(LEN_STRING) TO RECORD_OUT.

  ENDMETHOD.                    "INSERT_SEPARATOR_CHAR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 11:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699181#M306583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699182#M306584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't execute SAP_CONVERT_TO_CSV_FORMAT I don't have it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your code i think it's good code but i have a problem with it ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have always sy-subrc  = 4 after my assign sy-index OF STRUCTURE record_in TO &amp;lt;fs_field&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note My structure is local structure created in an other program who call the method .....!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 12:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699182#M306584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699183#M306585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that problem is that for me RECORD_IN is internal table and I saw that in the method it's defined like structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699183#M306585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699184#M306586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sorry but finally I found that I can run SAP_CONVERT_TO_CSV_FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You know I 'm Really begineer ... in SAP environement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just question related to that SAP_CONVERT_TO_CSV_FORMAT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file is only writing on the application server ...How I can do to dispaly the containt of it ...&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 14:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699184#M306586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T14:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699185#M306587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Tcode AL11 &amp;amp; look up under the relevant directory to view your file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 01:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699185#M306587</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-11-20T01:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699186#M306588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every one,&lt;/P&gt;&lt;P&gt;I have a question about ABAP Object...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can a class have an attribute as Table (satndard)...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise how to avoid it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 10:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1699186#M306588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T10:04:14Z</dc:date>
    </item>
  </channel>
</rss>

