adspace


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

1/ How do u apprach if error occur in sending idocs ? 2/ where u assigned process code ?

2070


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

1192


What work you have done in HR module

1458


what comes in Timkein written test I hope some body can tell me at this id plz tell it before 9 pm 19 march

2233


Hi every one ! You people are doing a great job here , Im going to attend Tata Technologies interivew on this sunday,Can anyone who has already attended this company interivew or other companies interivews in abap pls share ur experience with me and help me to get into job my id ushareddyabap@gmail.com. Thankyou verymcuh

2013


Did you create secondary index?

1242


What is the project you are currently working and work that you are doing

1610


What is your current client number?

1141


How do you get the number of lines in an internal table? How to use a specific number occurs statement?

1029


please give the remaining answers.

2308