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 different attributes that can be assigned to a variant?
From excel to abap - is batch mode possible ? : abap bdc
How can I get ascii value of any letter? Is there any function?
What is logo in sap script?
What are the types of search helps? : sap abap data dictionary
What is sequence of event triggered in report?
what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
Can we access static attribute from instance method
How many types of tables exist and what are they in data dictionary?
How to write a bdc – how do you go about it?
HI GUYS , FOR SAP INSTITUTION ATOS I BEST OR NOT? IAM PLANNING TO LEARN SAP COURSE IN ATOS... GIVE ME UR SUGGESTION ABOT ATOS?
What takes most time in SAP script programming?
Explain client-dependent and client-independent tables.
What is the collect statement? How is it different from append?
What is help view?