Application Development and Automation 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: 
Read only

Error in the table parameter.

Former Member
0 Likes
956

Hi All,

I have some Error in a table parameter in the tree model when i created the Dialog program.

"Errors : ITEM_TABLE contains two items with the same name"

Please help me to solve this error

Regards,

Luke

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
713

Hi,

As per Data given

the item_table you created must be having the same field name twice

(1) eg: imagine if you declared

item_table type table of ZXXXX

Check in se11,in the column "Fields" if any field is repeated but if you check syntax,then errror message will be displayed

or data base inconsistency in activation will come

(2) if you have declared it as

data : begin of XXXX

then you must have repeated a field name by mistake like

data : begin of XXXX

field1 type aXXX

field1 type aXXXX

end of XXXX

or in the abap editor double click on item_table , it will take you to its declaration,just check the 2 cases mentioned above

Pls check and revert

Regards

Byju

3 REPLIES 3
Read only

Former Member
0 Likes
714

Hi,

As per Data given

the item_table you created must be having the same field name twice

(1) eg: imagine if you declared

item_table type table of ZXXXX

Check in se11,in the column "Fields" if any field is repeated but if you check syntax,then errror message will be displayed

or data base inconsistency in activation will come

(2) if you have declared it as

data : begin of XXXX

then you must have repeated a field name by mistake like

data : begin of XXXX

field1 type aXXX

field1 type aXXXX

end of XXXX

or in the abap editor double click on item_table , it will take you to its declaration,just check the 2 cases mentioned above

Pls check and revert

Regards

Byju

Read only

Former Member
0 Likes
713

can you tell me wats the type of your ITAB.

If you are used it to populate the tree control,then make sure that all node keys are unique.

Read only

Former Member
0 Likes
713

where can i find the item_table?