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

After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?

1931


What happens if a function module runs in an update task?

1020


What happens when you post goods issue after delivery? How does the inventory get reduced after the delivery?

959


What are the personnel administration related infotypes? : abap hr

1027


What are the different message types available in the abap/4 ?

1008


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

2364


How do you set up background jobs in sap? What are the steps?

979


What is the lock object?

1056


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?

1086


what is diff between ECC 5.0 AND ECC 6.0

3285


What is the function of the transport system and workbench organiser? : abap data dictionary

1047


What is the difference between sy-tabix and sy-index? Where it is used?

1278


What are the attributes of the data? : abap data dictionary

1058


How can you distinguish between different kinds of parameters?

987


How to write a bdc – how do you go about it?

1143