<?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: class error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596096#M594630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Janapathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the function module you will find the following coding (on ECC 5.0):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION dp_stretch_simple_table.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(COPY_LINES) TYPE  ABAP_BOOL DEFAULT ABAP_TRUE
*"  EXPORTING
*"     REFERENCE(STRETCHED_DATA_REF) TYPE REF TO  DATA
*"  TABLES
*"      DATA
*"  EXCEPTIONS
*"      DP_ERROR_MULTIPLE_COLS
*"      DP_ERROR_NOT_CHARLIKE
*"----------------------------------------------------------------------

...

* verify table first, whether it is a 1-column charlike table
  PERFORM is_table_structured
            TABLES
               data
            CHANGING
               structured " not used!
               charlike
               field_length
               structure_comp_count.

  IF structure_comp_count &amp;gt; 1.
    " Unsupported table type: The table is structured
    RAISE dp_error_multiple_cols.
  ENDIF.
  IF charlike EQ false.
    " Unsupported table type: The table is not charlike
    RAISE dp_error_not_charlike.
  ENDIF.
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this coding the internal table containing the text from the textedit control must fulfill two conditions:&lt;/P&gt;&lt;P&gt;(1) The itab must not contain more than a single field&lt;/P&gt;&lt;P&gt;(2) The single field of the itab must be character-like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at method GET_TEXT_AS_R3TABLE (of CL_GUI_TEXTEDIT) the text is exported as parameter TABLE (of type STANDARD TABLE). Thus a third condition is:&lt;/P&gt;&lt;P&gt;(3) The itab must be a STANDARD TABLE (not SORTED or HASHED)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps these comments may be helpful in finding and correcting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 19:31:45 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2007-07-30T19:31:45Z</dc:date>
    <item>
      <title>class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596091#M594625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting a dump and in the class library &amp;lt;b&amp;gt;cl_gui_textedit&amp;lt;/b&amp;gt; at &amp;lt;b&amp;gt;CL_TEXT_AS_R3table.&amp;lt;/b&amp;gt; it is giving me an error as ERROR_DP. when it reaches the FM DP_STRETCH_SIMPLE_TABLE inside this method.. could somebody tell me the solution. i tried it but i am not able to get it.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help wud be appreciated.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 18:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596091#M594625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T18:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596092#M594626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 18:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596092#M594626</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-30T18:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596093#M594627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not adding any code this is happening when i am adding some text in the text field of the transaction CIC0.it says unsupported table type -- multiple columns i am not getting any documentation for this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 18:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596093#M594627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T18:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596094#M594628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are having this problem in a standard SAP transaction, then you should open an OSS note regarding the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 18:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596094#M594628</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-30T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596095#M594629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to rectify this issue by today.. when i am trying to edit and save it . I saved the first entry without problem but then when i tried to save my edits it dumped on me.  Can u guide me where culd be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 19:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596095#M594629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T19:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596096#M594630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Janapathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the function module you will find the following coding (on ECC 5.0):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION dp_stretch_simple_table.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(COPY_LINES) TYPE  ABAP_BOOL DEFAULT ABAP_TRUE
*"  EXPORTING
*"     REFERENCE(STRETCHED_DATA_REF) TYPE REF TO  DATA
*"  TABLES
*"      DATA
*"  EXCEPTIONS
*"      DP_ERROR_MULTIPLE_COLS
*"      DP_ERROR_NOT_CHARLIKE
*"----------------------------------------------------------------------

...

* verify table first, whether it is a 1-column charlike table
  PERFORM is_table_structured
            TABLES
               data
            CHANGING
               structured " not used!
               charlike
               field_length
               structure_comp_count.

  IF structure_comp_count &amp;gt; 1.
    " Unsupported table type: The table is structured
    RAISE dp_error_multiple_cols.
  ENDIF.
  IF charlike EQ false.
    " Unsupported table type: The table is not charlike
    RAISE dp_error_not_charlike.
  ENDIF.
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this coding the internal table containing the text from the textedit control must fulfill two conditions:&lt;/P&gt;&lt;P&gt;(1) The itab must not contain more than a single field&lt;/P&gt;&lt;P&gt;(2) The single field of the itab must be character-like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at method GET_TEXT_AS_R3TABLE (of CL_GUI_TEXTEDIT) the text is exported as parameter TABLE (of type STANDARD TABLE). Thus a third condition is:&lt;/P&gt;&lt;P&gt;(3) The itab must be a STANDARD TABLE (not SORTED or HASHED)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps these comments may be helpful in finding and correcting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 19:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596096#M594630</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-07-30T19:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596097#M594631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in ECC 6.0 , what would be the solution for this kinda problem..the problem is when i save my edited text it gives me a dump.. Could you please pin point the problem and give me the solution .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 20:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596097#M594631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T20:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: class error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596098#M594632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u tell me the exact problem and the possible solution to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 19:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-error/m-p/2596098#M594632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T19:55:00Z</dc:date>
    </item>
  </channel>
</rss>

