Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary

1120


Why do we need to code a loop statement in both the pbo and pai events for each table in the screen?

1104


Is a logical database a requirement/must to write an abap/4 query?

1090


What is the company code? : sap abap hr

1100


What is sequence of event triggered in report?

1029


How to upload data using catt ? : abap hr

1160


What is the difference between commit-work and rollback-work tasks?

1139


What is the process to enhance the Infotype

3414


What is the difference between a structure and a table?

1141


How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?

1205


What is a data element?

951


What is the function of a domain? : abap data dictionary

1032


Did you create secondary index?

1162


What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?

1088


What is erp? : sap abap hr

1099