can we insert two records in internal table?
if yes give code.
Answer Posted / malathy
Ofcourse we can insert two receods to an internal table.
Here is a sample code.
*Internal table declaration.
Data: ftab like scarr occurs 0.
Data: begin of itab,
carrid like scarr-carrid,
carrname like scarr-carrname,
currcode like scarr-currcode,
end if itab.
itab-carrid = BB.
itab-carrname = British airways.
itab-currcode = HBC.
Append itab to ftab.
clear itab.
itab-carrid = AA.
itab-carrname = American airlines.
itab-currcode = JFC.
Append itab to ftab.
clear itab.
by using append we can insert multiple records to an
internal table.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are the disadvantages of abap query tool?
Explain what is step-loop? Explain all the steps?
What are base tables of an aggregate object?
How to define selection screen?
What is the difference between RETURNING and CHANGING parameters for a method?
What are the advantages and disadvantages of ABAP query tool?
What does the insert statement in extract datasets do?
What is a multiple line field? : abap bdc
PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..
Explain what are the events used in interactive reports?
Define structure in abap data dictionary?
What is the use of start-of-selection.,if not use in report what will happen,?
What are the parameters in bdc_open_group? : abap bdc
What are the two different ways of building a match code object?
Difference between top-of-page and top-of-page during at line- selection?