How will you display top 5 records form an internal table ?
Answer Posted / balaji.p
hi,i think,
1.u have declare another internal table (it_tab2).
2.then u use (append multiple lines of )
3.then write syntax ,
APPEND LINES OF IT_TAB1 FROM N1 TO N2 TO IT_TAB2.
4. THEN write loop at it_tab2 into wa.
write:/--------------------------
endloop.
OR
1.USE READ STATEMENT.
2.IT HAS 2 TYPES A.BY USING INDEX
B.BY USING KEY
3.USE READ STATEMENT USING ,B(BY USING KEY),i MEAN
SYNTAX:READ<INT_TAB>INTO WA WITH KEY KUNNR = '1',
KUNNR = '2',
KUNNR = '3',
KUNNR = '4',
KUNNR = '5'.
4.THEN write loop at it_tab into wa.
write:/--------------------------
endloop
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
How can I copy sapscripts from one client to another, or export/import them?
What is difference between window & a page window?
How to convert a sapscript to smart form?
How do u upload the images in script?
Which are frequently used system variables in sapscript?
How many styles for there in script?
What is t.code for script styles?
What is sap script? Difference between sap script and report?
While designing layout for labels Is there any specific parameters or constraints i need to take care (at form as well as print program level)?
Where are the sapscript form names?
How do I create boxes in sapscript?
How to print page numbers in a script through SE38 Program ?
Explain composer. What does it do?
Difference between ABAB Memory and SAP Memory ?
What is the use of rstbserv program?