How to declare an Internal Table?
Answers were Sorted based on User's Feedback
Answer / mansi
Internal table is declared by many ways:
(A)
Data : BEGIN OF IT_TAB occurs 10,
RNO(4) TYPE N,
SNAM(45) TYPE C,
END OF IT_TAB.
(B)
TYPES : BEGIN OF tT_TAB,
RNO(4) TYPE N,
SNAM(45) TYPE C,
END OF tT_TAB.
DATA : tT_TAB TYPE STANDARD TBLE OF tT_TAB with header line.
(C)
TYPES : BEGIN OF tT_TAB,
RNO(4) TYPE N,
SNAM(45) TYPE C,
END OF tT_TAB.
DATA : iT_TAB TYPE STANDARD OF tT_TAB.
(D)
DATA : BEGIN OF IT_TAB,
RNO(4) TYPE N,
SNAM(45) TYPE C,
END oF IT_TAB.
DATA : wa_TAB LIKE LINE OF IT_TAB,
wa_TAB TYPE OF IT_TAB
Is This Answer Correct ? | 14 Yes | 3 No |
we can declare internal table with header line and without
header line.
internal table with header line.
data: begin of itab occurs 0,
num type i,
name(23),
........,
........,
end of itab.
internal table without header line.
types: begin of itab,
num type i,
name(23),
........,
........,
end of itab.
data: itab1 type itab occurs 0.
Is This Answer Correct ? | 12 Yes | 6 No |
How to decide whether we can use BDC (OR) LSMW for a given transaction?
Explain the uses of the simple maintenance interface? : sap abap hr
what are the events of table maintenance generator?
What are the different message types available in the abap/4 ?
What is erp? : sap abap hr
What is Direct Input method?
How can you tell me the already existing RFC destination with logon client,name?
how to see the table output?
Explain what is step-loop? Explain all the steps?
can we call a dialog module(Type M) into the executable program(Type E).If it yes then how ?
what is meant by enhancement category?
What are the objects of the abap dictionary or what types of objects can be created in the abap dictionary? : abap data dictionary