Hi, My question is " How to display 3rd highest salary
record from the internal table. The internal table has 2
fields named emno(Employee number) and salary.".
Send answer to my mail shaiksha.it@gmail.com.
Thanking you.

Answer Posted / tiki patra

SORT itab DECENDING salary.
DELETE ADJACENT DUPLICATE COMPARING salary.
READ TABLE itab into wa INDEX 3.

WRITE:/ wa-salary.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 2 other types of views, which are not allowed in release 3.0?

799


What is the function module to popup contents in the internal table?

763


What is the difference between a pool table and a transparent table and how they are stored at the database level?

792


What are the domains and data elements?

1182


What are the different modes of processing batch input sessions? : abap bdc

889






How can you manipulate the presentation and attributes of interactive lists?

845


What are the function modules that are generated when you activate a lockobject? : sap abap data dictionary

758


What is generic buffering?

1041


What is the difference between Classic badi and Kernal badi ?

2059


Select query optimisation

1083


What is an update task?

780


How do you connect to the remote server if you are working from the office for the client in remote place?

791


What are the different types of views in sap? : abap data dictionary

798


What are the differences between structure and table in data dictionary in abap? : sap abap data dictionary

764


What are the ways you can do the tuning?

726