Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I set tabs between the fields in display?

980


How many interactive reports did you write ?

1947


Explain compare tool.

944


What is a hard break Point?

1924


Hello.. i have a question. which signature digital or signature logo we use in smartforms & scripts...? if we use digital sign what are those steps to use it...?

2364


Explain the variable in sapscript

1014


How can I set the header and footer in the main window?

1044


What are the output types and Tcodes ?

1914


What is script? Its advantages?

1135


How to print page numbers in a script through SE38 Program ?

3735


How can I word wrap the text being displayed in sapscript?

1394


Disadvantage of Move-corresponding Statement ?

2819


If u want to add any fields in the layout what is the procedure you follow ?

2239


How can I debug my sapscript?

916


What is sap script? What is the purpose of sap script?

971