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 |
what is the function module to read the standard text?
What is the length of function code at user-command?
What are the advantages and disadvantages of using views in abap programming ?
How will you insert record in a sorted table
What are V1 & V2 updates within the SAP LUW? Why & How they occur?
Difference Between domain and data element?
What is the use of AT Selection Screen output when we have At selection screen?Can u explain?
What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc
Can we use Session method & Call transaction both in one BDC if yes please give me example and scenario where we use this ?
what is meant by enhancement category?
hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp
can onyone tell me , how many data classes and size categories are there ?