Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

class error

Former Member
0 Kudos

Hi folks,

i am getting a dump and in the class library <b>cl_gui_textedit</b> at <b>CL_TEXT_AS_R3table.</b> 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..

any help wud be appreciated.

regards

jana

7 REPLIES 7

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Post your code.

Regards,

RIch Heilman

0 Kudos

Hi rich,

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.

regards

0 Kudos

If you are having this problem in a standard SAP transaction, then you should open an OSS note regarding the same.

REgards,

RIch Heilman

0 Kudos

Hi Rich,

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.

regards

0 Kudos

Hello Janapathi

Within the function module you will find the following coding (on ECC 5.0):

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 > 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.
...

Based on this coding the internal table containing the text from the textedit control must fulfill two conditions:

(1) The itab must not contain more than a single field

(2) The single field of the itab must be character-like

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:

(3) The itab must be a STANDARD TABLE (not SORTED or HASHED)

Perhaps these comments may be helpful in finding and correcting the error.

Regards

Uwe

0 Kudos

Hi Uwe,

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 .

Thanks in advance

jana

0 Kudos

Hi Uwe,

Can u tell me the exact problem and the possible solution to solve this issue.

thanks in advance

regards

jana