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
difference between Valuation type and valuation category?
What are screen painter? Menu painter? Gui status?
Why bapi need then bdc ? : abap bdc
how to create view in bdc..??
What are the three components of a work process?
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
What is going life actually? What is the role of a functional consultant in it? : sap abap hr
What are datasets in abap?
A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary
What is its? : abap hr
How do you activate a function exit?
What are the properties of selection screen?
How do you validate the selection criteria of a report? And how do you display initialvalues in a selection screen?
How can we handle table control in bdc? : abap bdc
What are the dynapro keywords?