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 find the driver program for the given sapscript?
Where are the sapscript form names?
What role does an abap program play in sapscript?
When a program is created and need to be transported to production does selection texts always go with it ? if not how do you make sure ? Can you change the CTS entries? How do you do it ?
How do u configure the script?
what is maximum columns number in SAPScripts and Smartforms. If How can we move to next page for print.?
What is client concept in sapscript? What is client dependent and client independent?
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
Explain compare tool.
Explain the main in sapscript
You want to import graphics into sapscript. How will you do that?
Explain the pages in layout set.
What are step loops? How do you program page down page up in step loops?
What is sap script? Difference between sap script and report?
Difference between ABAB Memory and SAP Memory ?