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
What is the meaning of table buffer? This buffer is used by which type oftable?
What are the restrictions on subscreens?
dynamic programming in sap abap
What are the steps in a bdc session? : abap bdc
hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?
What is meant by write lock? : sap abap data dictionary
Write special commands of list?
State the system field for the current date?
What is abap work bench?
Which one is better joins or views and why?
What kind of financial periods exist in sap? What is the relavent table for that?
What are the merits of its?-
Name the abap/4 modularization techniques?
What are the arithmetic operators in the sap abap?
What are field groups?