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 / shaiksha
Extract the content of 2nd field Using... <Select distinct
salary from ztable_emp into .... order by descending.>. Now
you can have all records in it table, exactly 3rd record
itself is highest salary record. Then basing salary extract
entire record using select statement.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What does an exec sql statement do in abap?
What do you do when the system crashes in the middle of a BDC batch session?
What are system fields for secondary lists?
data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.
What are the events used in abap in the order of execution?
What is the disadvantage of a call by reference?
Explain the differences between sap memory and abap memory?
Explain different types of locks?
When was the sap abap being created?
Explain the advantages/disadvantages of logical databases?
What is the use of table maintenance allowed?
How to find Kernal badi ?
where do we store all custom programs in SD module?
Explain Catch Command in ABAP?
What are different ABAP editors? What are the differences?