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 abap/4 commands that link to a layout set?
In events, start-of-selection is a default event. When we have to use this event explicitly? Why?
When to use logical database?
In an abap/4 program how do you access data that exists on a presentation server vs on an application server?
What are the domains and data elements?
Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul
What are the attributes of the data? : abap data dictionary
What are the differences between table controls and step loops?
How do you read files from the presentation server ? : abap bdc
What are pooled tables?
Name a few data dictionary objects?
Difference between stand alone CRM and back-end CRM
Why do we use FOR ALL ENTRIES and what is the pre-requisite
How can we handle table control in bdc? : abap bdc
What are the components of sapscript?