<?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: FM - READ_TEXT issue with data declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376243#M1041174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The error mentioned will occur only when you declare the import parameter as a table else it is giving correct results.If you are still facing the issue just have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IL_TLINE TYPE TABLE OF TLINE,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IL_HEADER like THEAD.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: tdid TYPE  THEAD-TDID,&lt;/P&gt;&lt;P&gt;      TDSPRAS type THEAD-TDSPRAS,&lt;/P&gt;&lt;P&gt;      TDNAME type THEAD-TDNAME,&lt;/P&gt;&lt;P&gt;      TDobject type THEAD-tdobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ID                            = TDID&lt;/P&gt;&lt;P&gt;    LANGUAGE             = TDSPRAS&lt;/P&gt;&lt;P&gt;    NAME                      = TDNAME&lt;/P&gt;&lt;P&gt;    OBJECT                   = TDOBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HEADER                     = IL_HEADER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    LINES                         = IL_TLINE[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chnages required are marked in BOLD letters. This is same as the solution provided before also. Just have a look if you missed any of the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swarna Munukoti on Aug 18, 2008 7:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2008 05:15:55 GMT</pubDate>
    <dc:creator>former_member217544</dc:creator>
    <dc:date>2008-08-18T05:15:55Z</dc:date>
    <item>
      <title>FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376227#M1041158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling a FM - READ_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared as follows, &lt;/P&gt;&lt;P&gt;DATA : IL_TLINE  TYPE TABLE OF TLINE,&lt;/P&gt;&lt;P&gt;       IL_HEADER TYPE TABLE OF THEAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            CLIENT                  = SY-MANDT&lt;/P&gt;&lt;P&gt;            ID                      = ID&lt;/P&gt;&lt;P&gt;            LANGUAGE                = LANG&lt;/P&gt;&lt;P&gt;            NAME                    = NAME&lt;/P&gt;&lt;P&gt;            OBJECT                  = OBJECT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          ARCHIVE_HANDLE          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          LOCAL_CAT               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;            HEADER                  = IL_HEADER[]&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;            LINES                   = IL_TLINE[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the program throws up an error as follows:&lt;/P&gt;&lt;P&gt;In the function module interface, you can specify only    &lt;/P&gt;&lt;P&gt;fields of a specific type and length under "HEADER".      &lt;/P&gt;&lt;P&gt;Although the currently specified field                    &lt;/P&gt;&lt;P&gt;"IL_HEADER[]" is the correct type, its length is incorrect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know what mistake i have done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376227#M1041158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376228#M1041159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the declaration as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IL_TLINE TYPE TABLE OF TLINE,&lt;/P&gt;&lt;P&gt;IL_HEADER LIKE THEAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376228#M1041159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376229#M1041160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: ... IL_HEADER TYPE &lt;DEL&gt;TABLE OF&lt;/DEL&gt; THEAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376229#M1041160</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-08-15T09:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376230#M1041161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fact that the exporting parameter HEADER is not an internal table and you are trying to receive it into an internal table might be the problem.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using internal tables with header lines can be confusing and I  find it is better to use a separate work area instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376230#M1041161</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-08-15T09:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376231#M1041162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh &amp;amp; Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the input, but it is still throwing up the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any alternative way i can read the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376231#M1041162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376232#M1041163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      id                      = xtxs-tdid&lt;/P&gt;&lt;P&gt;      language                = sy-langu&lt;/P&gt;&lt;P&gt;      name                    = thead-tdname&lt;/P&gt;&lt;P&gt;      object                  = text_object&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      header                  = thead&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      lines                   = lines&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      id                      = 1&lt;/P&gt;&lt;P&gt;      language                = 2&lt;/P&gt;&lt;P&gt;      name                    = 3&lt;/P&gt;&lt;P&gt;      not_found               = 4&lt;/P&gt;&lt;P&gt;      object                  = 5&lt;/P&gt;&lt;P&gt;      reference_check         = 6&lt;/P&gt;&lt;P&gt;      wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;      OTHERS                  = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly specify &lt;STRONG&gt;thead&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376232#M1041163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376233#M1041164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not working, i specified as mentioned by you, but still the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any alternatives?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376233#M1041164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376234#M1041165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it like this, it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA  BEGIN OF i_tlines OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE tline.&lt;/P&gt;&lt;P&gt;DATA  END   OF i_tlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: w_textname(70) TYPE c.&lt;/P&gt;&lt;P&gt;  w_textname = vbdkr-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      client                        = sy-mandt&lt;/P&gt;&lt;P&gt;      id                            = 'Z006'&lt;/P&gt;&lt;P&gt;      language                      = 'E'&lt;/P&gt;&lt;P&gt;      name                          = w_textname&lt;/P&gt;&lt;P&gt;      object                        = 'VBBK'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      lines                         = i_tlines.&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ID                            = 1&lt;/P&gt;&lt;P&gt;   LANGUAGE                      = 2&lt;/P&gt;&lt;P&gt;   NAME                          = 3&lt;/P&gt;&lt;P&gt;   NOT_FOUND                     = 4&lt;/P&gt;&lt;P&gt;   OBJECT                        = 5&lt;/P&gt;&lt;P&gt;   REFERENCE_CHECK               = 6&lt;/P&gt;&lt;P&gt;   WRONG_ACCESS_TO_ARCHIVE       = 7&lt;/P&gt;&lt;P&gt;   OTHERS                        = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    READ TABLE i_tlines INDEX 1.&lt;/P&gt;&lt;P&gt;.........  &lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close the thread once your question is answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SaiRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376234#M1041165</guid>
      <dc:creator>former_member196280</dc:creator>
      <dc:date>2008-08-15T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376235#M1041166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue i am facing is not with TLINE, but with HEADER, can you please let me know how i should declare it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376235#M1041166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376236#M1041167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IL_HEADER LIKE THEAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;HEADER = IL_HEADER    """ without []&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376236#M1041167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376237#M1041168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dzed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not working.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 09:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376237#M1041168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T09:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376238#M1041169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IL_TLINE LIKE TLINE,&lt;/P&gt;&lt;P&gt;IL_HEADER LIKE THEAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;ID = ID&lt;/P&gt;&lt;P&gt;LANGUAGE = LANG&lt;/P&gt;&lt;P&gt;NAME = NAME&lt;/P&gt;&lt;P&gt;OBJECT = OBJECT&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;HEADER = IL_HEADER&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LINES = IL_TLINE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 10:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376238#M1041169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T10:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376239#M1041170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've had LOTS of examples here of how to declare this parameter properly, so you must have got it working by now.  But, to be honest, you could have solved this by yourself without posting.  All you need to do to set up a correct interface for a function module is to declare your import / export / tables parameters in EXACTLY the same way as they are declared in the function module.  If you do this, there is really no way that you can get it wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 10:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376239#M1041170</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-08-15T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376240#M1041171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs, yes i would not have posted this thread if i had not got the dump. I posted it only after giving an earnest try &amp;amp; despite the excellent help provided by the forum members i am getting the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try once again on monday to trace the reason for this dump &amp;amp; keep all of you posted.&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;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 05:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376240#M1041171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T05:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376241#M1041172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the above suggestions, but the dump still occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice the dump says&lt;/P&gt;&lt;P&gt;' In the function module interface, you can specify only fields of a specific type and length under "HEADER".       &lt;/P&gt;&lt;P&gt;Although the currently specified field "IL_HEADER[]" is the correct type, its length is incorrect.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as per the dump, the type is correct, but the length is incorrect, can someone let me know how do i define the correct length???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 01:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376241#M1041172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T01:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376242#M1041173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;I don't understand why u r sticking to [] in passing IL_HEADER.&lt;/P&gt;&lt;P&gt;As suggested by all above.&lt;/P&gt;&lt;P&gt;the declaration should be -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. data: IL_header type THEAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and don't use IL_HEADER with [] because header is not a table but a single data row.&lt;/P&gt;&lt;P&gt;So while passing IL_HEADER to FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADER = IL_HEADER&lt;/P&gt;&lt;P&gt;and not &lt;/P&gt;&lt;P&gt;&lt;DEL&gt;HEADER = IL_HEADER[]&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it should have solved the problem by now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 03:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376242#M1041173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T03:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376243#M1041174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The error mentioned will occur only when you declare the import parameter as a table else it is giving correct results.If you are still facing the issue just have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IL_TLINE TYPE TABLE OF TLINE,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IL_HEADER like THEAD.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: tdid TYPE  THEAD-TDID,&lt;/P&gt;&lt;P&gt;      TDSPRAS type THEAD-TDSPRAS,&lt;/P&gt;&lt;P&gt;      TDNAME type THEAD-TDNAME,&lt;/P&gt;&lt;P&gt;      TDobject type THEAD-tdobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ID                            = TDID&lt;/P&gt;&lt;P&gt;    LANGUAGE             = TDSPRAS&lt;/P&gt;&lt;P&gt;    NAME                      = TDNAME&lt;/P&gt;&lt;P&gt;    OBJECT                   = TDOBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HEADER                     = IL_HEADER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    LINES                         = IL_TLINE[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chnages required are marked in BOLD letters. This is same as the solution provided before also. Just have a look if you missed any of the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swarna Munukoti on Aug 18, 2008 7:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 05:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376243#M1041174</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2008-08-18T05:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376244#M1041175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Christine,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks for your inputs, yes i would not have posted this thread if i had not got the dump. I posted it only after giving an earnest try &amp;amp; despite the excellent help provided by the forum members i am getting the dump.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I will try once again on monday to trace the reason for this dump &amp;amp; keep all of you posted.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Vivek&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm sorry but, as already mentioned here, you CANNOT have tried all the above suggestions (which really is one single suggestion posted multiple times), or even have read them properly, if you are still  passing IL_HEADER[] into the FM which they are all saying that you SHOULD NOT DO (sorry for shouting).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 09:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376244#M1041175</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-08-18T09:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: FM - READ_TEXT issue with data declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376245#M1041176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the delay in posting. The issue was not with the declaration part, but with the coding which followed the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways I thank each one of you for your inputs &amp;amp; time. My sincere apologies for the delay in closing the thread.&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;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 04:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-read-text-issue-with-data-declaration/m-p/4376245#M1041176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T04:58:50Z</dc:date>
    </item>
  </channel>
</rss>

