How will you display top 5 records form an internal table ?

Answer Posted / narasareddy

write a simple syntax:
loop at it_tab1 INTO wa_tab from 1 to 5.

ENDLOOP.

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the standard text?

569


How can I trigger new page in sapscripts?

543


Why the Main window Triggers first in Scripts ?

1561


i want default printer name in sap-scripts? please help me how to handle this one.

2653


What are the types of windows?

552






Disadvantage of Move-corresponding Statement ?

2374


What are the output types and Tcodes ?

1403


Structures used in perform statement in scripts ?

1408


what is maximum columns number in SAPScripts and Smartforms. If How can we move to next page for print.?

2780


I have created a sapscript in language de. Now I need to translate it to en. How could I do this?

516


How many styles for there in script?

555


When we should use ABAP Memory and SAP Memory ?

1433


What does the smartforms development class start with ?

1420


You want to display top 5 records from an internal table. How will you do that?

533


What is sapscript? What is its purpose?

561