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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nitin gautam
That's ok...But you shoud have used Select options stmt while declaring the multiple field ranges...
Please correct me also if i am wrong
Is This Answer Correct ? | 1 Yes | 0 No |
In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary
While sorting field groups we cannot use more than one key field. State true or false. : abap modularization
what is enhancement and modification ? Explain clearly please
During performance analysis you found one select statement taking long time. How to correct it?
What is the difference between ABAP and HR ABAP
what will happen if you dont give any value in parameter and select options in report??will it fetch any value?
Difference Between ATPF and AT user command?
How do you find out whether a file exits on the presentation server?
SAP ABAP Training Bangalore-Course Content Outline
What are the different types of data dictionary objects?
differences between version 4.7 and ecc 5.0
difference between primary index and secondary index.when we use secondary index in reports?