what is the syntax for eliminating duplicate values in
internal table.

Answer Posted / rck

First sort the internaltable using
Syntax:
Sort iTab using <field-name> Ascending/decending

Then Use the Delete adjacent Duplicate statement

Delete adjacent duplicate entries from <iTab> [comparing
<F1><F2>....]

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use structures in the abap programs?

827


What are the prerequisites for creating foreign key relationship?

895


hi,i worked mostly in core abap.know iam assigned to XI utility project.can u experts let me know what r the basic things i need to learn to work in XI utility project.i already searched in forum.thanks in advance.

1796


What are the different types of abap reports in sap?

1066


How many secondary indexes can we create in a table?

851


How do you get the number of lines in an internal table?

844


When will the current screen processing terminates?

784


What are the different types of view?

852


Why do we use events and actions in web dynpro?

798


How do you find if a logical database exists for your program requrements?

892


How do I find the output type of a table or a program?

788


What are the check tables?

793


What are the different kinds of lock modes?

810


How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?

1913


How to handle error in session method? : abap bdc

985