Skip to Content
0
Former Member
Dec 27, 2007 at 11:23 AM

Table control

12 Views

Hi,

I want a editable table control.I have written the following code in the supply function of the table node in the component controller.

DATA lt_tab1 TYPE wd_this->Elements_tab1.

DATA ls_tab1 LIKE LINE OF lt_tab1.

insert ls_tab1 into table lt_tab1.

insert ls_tab1 into table lt_tab1.

insert ls_tab1 into table lt_tab1.

node->bind_table(

new_items = lt_tab1

set_initial_elements = abap_true ).

but i am getting the following error.

The following error text was processed in the system RD2 : The Data Type Is Not Valid for Input

The error occurred on the application server INBDQ-S-RD2_RD2_01 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: IF_WD_CONVERSION_UTILS~TO_STRING of program CL_WDR_CONVERSION_UTILS=======CP

Method: GET_AND_FORMAT of program CL_WDR_DATA_CONTAINER=========CP

Method: GET_ATTRIBUTE_EXTERNAL of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L0STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L3STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L3STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L3STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L3STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============

how to solve this error.

Regards,

Charumathi.B