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...

am facing problem in inserting multiple data from user
defined selection screen to internal table can anyone tel
me any small code tht can insert multple data from screen
to inernal table.
thanks in advance.

Answer Posted / malathy

*For example i have used the scarr table
*Internal table declaration.
Data: Begin of Itab occurs 0,
carrid like scarr-carrid,
carrname like scarr-carrname,
currcode like scarr-currcode,
end of itab.

*Fields on selection screen.
parameter : carrid for scarr-carrid ,
carrname for scarr-carrname,
currcode for scarr-currcode.

*To insert data from Selection screen fields to the
*internal table
loop at itab.
itab-carrid = carrid.
itab-carrname = carrname.
itab-currcode = currcode.
append itab.
clear itab.
endloop.

Just by looping you can insert multiple data to the
internal table. Let me know if this code worked for you.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the various types of parameters and how are they distinguished from one another?

1270


When you prefer lsmw?

1080


Create any functions? How to go about it?

1088


What are the different modes of processing batch input sessions? : abap bdc

1269


What is a collect statement?

1094


What kind of deliverables you have on a day to day basis?

1474


What is an update task?

1098


What are different ABAP editors? What are the differences?

1162


What are the differences between table controls and step loops?

1242


What are match codes? describe?

1252


Why do we use dynamic where conditions?

1501


How do you find out who has transported a transport request?

1172


how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer

2312


List some of the many different ways that the sap standard functionality can be changed by a customer?

1013


What is locking? : abap data dictionary

1238