<?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: Function Module READ_TEXT short dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376343#M184425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  as the statement suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"When importing the object "TLINE", the component no. 1 in the dataset has a different type from the corresponding component of the target object in the program "SAPLSTXD "."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Line contains field TDLINE where the value is read and it is CHAR of length 132.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and TDFORMAT of type CHAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error may be due to moving integer value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;also check table which ur passing to  LINES is with header line ...u can also use LIT_lines[] if no header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manoj Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2006 12:50:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-02T12:50:05Z</dc:date>
    <item>
      <title>Function Module READ_TEXT short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376342#M184424</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've created a bespoke long text object so I can save some long text to it.  I created it by copying the SAP standard long text object for CATS (timesheets) in SE75.  I save to this object using the function module SAVE_TEXT and I read it back using the function module READ_TEXT.  I get a short dump during READ_TEXT which says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"CONNE_IMPORT_WRONG_COMP_TYPE&lt;/P&gt;&lt;P&gt;Error when attempting to IMPORT object "TLINE".&lt;/P&gt;&lt;P&gt;When importing the object "TLINE", the component no. 1 in the dataset has a different type from the corresponding component of the target object in the program "SAPLSTXD ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data type is "I" in the dataset, but "C" in the program."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've looked on OSS (as it's a SAP standard program) but can't find anything.  I get no errors when trying to read the standard object CATS only when I try and read my new object, so I'm thinking that I haven't set it up correctly.  An entry in table STXH occurs for both objects so I know I have saved some long text in my object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 12:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376342#M184424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T12:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module READ_TEXT short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376343#M184425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  as the statement suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"When importing the object "TLINE", the component no. 1 in the dataset has a different type from the corresponding component of the target object in the program "SAPLSTXD "."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Line contains field TDLINE where the value is read and it is CHAR of length 132.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and TDFORMAT of type CHAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error may be due to moving integer value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;also check table which ur passing to  LINES is with header line ...u can also use LIT_lines[] if no header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manoj Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 12:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376343#M184425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T12:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module READ_TEXT short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376344#M184426</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;have you passed the correct parameters to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to check the sample...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: it_lines like tline occurs 0 with header line.
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
              CLIENT                  = SY-MANDT
              ID                      = 'Z056'
              LANGUAGE                = 'E'
              NAME                    = L_NAME
              OBJECT                  = 'VBBP'
         TABLES
              LINES                   = IT_LINES
        EXCEPTIONS
             ID                      = 1
             LANGUAGE                = 2
             NAME                    = 3
             NOT_FOUND               = 4
             OBJECT                  = 5
             REFERENCE_CHECK         = 6
             WRONG_ACCESS_TO_ARCHIVE = 7
             OTHERS                  = 8&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it is because of it_lines declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 12:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376344#M184426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module READ_TEXT short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376345#M184427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks people, I was passing a table using the incorrect structure and that was causing the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's solved now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 12:57:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376345#M184427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module READ_TEXT short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376346#M184428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't forget to close the Thread if your Problem solves.&lt;/P&gt;&lt;P&gt;and Reward Points for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 13:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-read-text-short-dump/m-p/1376346#M184428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T13:01:39Z</dc:date>
    </item>
  </channel>
</rss>

