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 / dileep kumar chinnaiah

READ TABLE gt_emp INTO gw_emp INDEX 3.

Does not work's if two employees has same salaries. So stop
following this procedure.

The Interviewer exactly looking for Control break statements.
use Sort descending by salary & loop internal table. &
maintain a counter under "AT NEW" & catch the value of
employee ID, when your condition triggers.

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

difference between Valuation type and valuation category?

1994


What are screen painter? Menu painter? Gui status?

593


Why bapi need then bdc ? : abap bdc

571


how to create view in bdc..??

2320


What are the three components of a work process?

621






hi..i hav developed an interactive report in which alv list display in basic list and 1st secondary list in alv grid display.I want to get summation(total) of the columns in the secondary list.I hav used 'do_sum' but i couldnt get.is there any other way to get summation(total) in secondary list which is an alv grid display

2551


What is going life actually? What is the role of a functional consultant in it? : sap abap hr

543


What are datasets in abap?

665


A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary

666


What is its? : abap hr

614


How do you activate a function exit?

554


What are the properties of selection screen?

555


How do you validate the selection criteria of a report? And how do you display initialvalues in a selection screen?

610


How can we handle table control in bdc? : abap bdc

588


What are the dynapro keywords?

656