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
Explain compare tool.
How do we define text symbols?
What are the components/elements/layout sets in sap script ?
You want to display top 5 records from an internal table. How will you do that?
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 the use of rscltcop program?
How can I format the date being displayed in the sapscript?
How do u upload the images in script?
How to insert symbols in smart form?
i want default printer name in sap-scripts? please help me how to handle this one.
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
How do we set the date, time format?
In sap scripts, how will u link form with the event driven?
What are the modules in FI that you have worked on ?
How many main windows can we create in one script?