‎2005 May 04 6:09 AM
Hi,
Can we use SQL seclect statements in ABAP QUERY.
While using multiple tables, Duplicate datas are generated in the output. How to avoid it.
Regards,
Ajju
‎2005 May 04 6:18 AM
Hi,
After selecting in an internal table and u can delete the duplicate entries.
DELETE ADJACENT DUPLICATES FROM itab.
Thanks & Regards,
Judith.
‎2005 May 04 6:57 AM
Hi,
Use DISTINCT in the select statement.
I think you had posted the qn. twice.
‎2005 May 04 7:38 AM
Hi Ajju, hi everyone,
YES you can. When defining a query you can add extra ABAP coding:
1. At tx SQ02, select your infoset and "change" it
2. At the menu, select Goto > Code > Data
3. At the right part of the screen, select the "event" you want to add the code to: data, start-of-selection, get, get late, ...
4. At the right part of the screen (just below the event you just selected), place here your ABAP code
...and that's it
Pls let us know if it helped. BR,
Alvaro