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

i have executed a report via back ground job, in this report i have used enqueue and dequeue function modules on a table, but before releasing the lock(before dequeue function module is not call) job gives the dump, so the lock is not released the table, here my question is how to set the lock automatically release the there is a short dump before calling the dequeue module?

1726


Can any tell me ECC 5.0, ECC 6.0 Released year? and difference between them?

1976


How does the interection between the dynpro and the abap/4 modules takes place?

647


What is sap locking?

595


In sap scripts, how will you link form with the event driven?

550






What are the types of table fields in the sap abap?

617


How table control cn be generated using bdc? : abap bdc

568


Explain the differences between sap memory and abap memory?

534


hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1547


Can we access static attribute from instance method

992


What is database view ? : sap abap data dictionary

602


Can we include customizing include or an append structure with pooled or cluster tables?

668


Can a constructor be declared private? If yes then in which scenario?

921


What are the user groups?

565


What are lock objects?

597