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
i have executed a report via back ground job, in this report i have used enqueue and dequeue function modules on a table, but before releasing the lock(before dequeue function module is not call) job gives the dump, so the lock is not released the table, here my question is how to set the lock automatically release the there is a short dump before calling the dequeue module?
Can any tell me ECC 5.0, ECC 6.0 Released year? and difference between them?
How does the interection between the dynpro and the abap/4 modules takes place?
What is sap locking?
In sap scripts, how will you link form with the event driven?
What are the types of table fields in the sap abap?
How table control cn be generated using bdc? : abap bdc
Explain the differences between sap memory and abap memory?
hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.
Can we access static attribute from instance method
What is database view ? : sap abap data dictionary
Can we include customizing include or an append structure with pooled or cluster tables?
Can a constructor be declared private? If yes then in which scenario?
What are the user groups?
What are lock objects?