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
Explain about workbench request and customization requests?
What are the different types of parameters?
Give Some examples of reports generated in real time scenarion? Also give examples of standard reports in SAP used in real time?
What are the pooled and cluster tables?
What are the types of windows in sap script?
Can a constructor be declared private? If yes then in which scenario?
What are logical databases? : abap hr
What are the basic functions of database utility?
How many secondary indexes can we create in a table?
What is design pattern? Provide example .Why are we using it?
What is native sql?
Explain what is the significance of hide?
what are the 2 other types of views, which are not allowed in release 3.0? : abap data dictionary
What are the payroll related infotypes? : abap hr
Explain about drill down report?