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 3 types of function modules in sap?
What is off cycle payroll run
What is pretty printer?
What is the use of abap data dictionary? : abap data dictionary
Explain what is a foreign key relationship? Explain this with the help of an example.
How does the system handle roll areas for external program components?
What are different data types in abap/4?
Differentiate between transparent tables, cluster tables and pooled tables
How to find the return code of an stmt in abap programs?
When you prefer lsmw?
A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary
identify valid statement when coding a field exit ? a) submit RSCA101X b)MESSAGE E101 C)MESSAGE I101 d)BREASK-POINT
What is the difference between field-group header and other field groups? : abap modularization
What are the Synchronous and asynchronous methods in bdc ?
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?