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 to pass the variables to forms ?
You want to import graphics into sapscript. How will you do that?
How can I create a shaded box?
I want to take the back up of my script layout into my hard disk to be loaded later. What should I do?
How can I format the time in the sapscript?
What is the client concept in SAP? What is the meaning of client independent ?
What is the purpose of sap script? Difference between sap script and report?
How to download/upload image sapscripts from & to your pc?
What are step loops? How do you program page down page up in step loops?
Different types of ABAP memory ?
How to transfer the objects? Have you transferred any objects ?
What is the difference between EHP 4.0 and ECC 6.0 .Is there any different settings to be done in the system for functional modules?I have done ECC 6.0 version. Please tell me the answer of the question as soon as possible?
What is t.code for script styles?
Explain the header data in layout set.
What are the different types of windows in sapscripts?