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

In order to upload purchase order details, how you handle multiple values for a single field?

973


How can end-of-selection be used?

1144


Is it possible to pass data to and from include programs explicitly? : abap modularization

1268


What is the use of message command in a report? What are the different message types?

954


Why lsmw does not support call transaction method? : abap bdc

1103


On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

1056


Explain what is an rfc?

1098


How many main windows are allowed in sapscript?

1017


What are the different types of mode (run code) in call transaction method?

1164


What is a data dictionary? : abap data dictionary

991


What two statements are required in an abap program to output an icon using a write statement?

979


Explain the difference between a pool table and a transparent table?

1011


What are conversion routines? : abap data dictionary

1005


What does the insert statement in extract datasets do? : abap modularization

1054


What is the difference between rfc and bapi function modules? : abap bdc

1140