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

Module Pool Programming: Events and Table Control handling.

1387


Can we reuse a userexit?

1488


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

1075


What is the maximum number of structures that can be included in a table or structure : abap data dictionary

1282


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

2274


What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary

1118


What are the drill-down features provided by abap/4 in interactive lists?

1048


What are the different functions used in sap script?

981


Reports: Event functionality.

1355


What is append search help? : sap abap data dictionary

1205


I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc

3444


In tm, if a group of employees gets 10 days of annual leave, what will be the time evaluation status? : sap abap hr

1035


What is the function of the transport system and workbench organiser?

1105


how to Create reports in SD module such as sales order report, which covers all organization levels, delivery status, invoice status, shipping details and partner function details. The data will be extracted from VBAP, VBPA, VBAK, VBUP, VBFA, KNA1, LIPS, VBRP, MARA, VBEP and KONV tables. plz mention the detail coding Tahnks, Rahul

3340


how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.

2312