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 |
how to use table control in bdc
Explain the sequences of event block?
Can i Have Some Realtime Examples on Idocs ?
What is the difference between a dialog program and a report?
What is logical database? : abap hr
Explain sap abap 3-tier architecture?
What are subroutines? : abap modularization
where u can find out the check table?
How to display footer in every page in ALV report?
what is manue table field in NAST table?what is its purpose in sap scripts?
how to transfor the data from flat file to bdc plz send the steps as well as example
Can we create Secondary Indexes for the Views