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
what are the various types of parameters and how are they distinguished from one another?
When you prefer lsmw?
Create any functions? How to go about it?
What are the different modes of processing batch input sessions? : abap bdc
What is a collect statement?
What kind of deliverables you have on a day to day basis?
What is an update task?
What are different ABAP editors? What are the differences?
What are the differences between table controls and step loops?
What are match codes? describe?
Why do we use dynamic where conditions?
How do you find out who has transported a transport request?
how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer
List some of the many different ways that the sap standard functionality can be changed by a customer?
What is locking? : abap data dictionary