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
Normally how many and what files get created when a transaction program is written? what is the XXXXXTOP program?
Can we call reports and transactions from interactive reporting lists?
what is mean be On Change of in Control Break statement
what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me
What is the disadvantage of using exec sql statement in abap?
Why lsmw does not support call transaction method? : abap bdc
How do we assign dynamic views while creating material master and generating bdc? : abap bdc
Explain what is sap script? What is the purpose of sap script?
What are the update types possible? : abap data dictionary
what are the two methods of modifying sap standard tables? : abap data dictionary
What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc
Table events aNd table maintains generation
Explain what are the problems in processing batch input sessions? How is batch input process different from processing on line?
1. what is IDOC monitoring ? what is the tcode used for idoc monitoring ? 2 . what is change pointer in ale ?
What is the function of a data element?