2006 Aug 17 11:20 AM
Hello All,
I have one screen field as ListBox. i have appended 10,20,30,40 through itab using 'F4IF_INT_TABLE_VALUE_REQUEST'
and added one value as defoult 30.
after run the program, i am geting five values like 10,20,30,40,30. i want to remove this extera 30 from listbox. Its urgent. plese give repely.
Regards
Rajesh.
2006 Aug 17 11:22 AM
2006 Aug 17 11:23 AM
Before calling the function module,
sort itab by field1.
delete adjacent duplicates from itab comparing field1.
Regards,
Ravi
2006 Aug 17 11:24 AM
Hi,
You will be generating the F4 help using the internal table. You can use the following statement:
Delete adjacent duplicate comparing <operand value>
When you use this all duplicate entries will be deleted.
Hope this solves your problem.
Regards,
Ankit.
2006 Aug 17 11:24 AM
before passing the internal table to that FM , use
DELETE ADJACENT DUPLICATES FROM ITAB COMPATING NUMBER .
where NUMBER is the field in ITAB.
2006 Aug 17 11:25 AM
Hi,
Did you clear the header line of your internal table???
Reward if helpful.
Regards