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 |
What are the event key words in interactive reporting?
What is the difference between synchronous and asynchronous update?
if i login in english then top-of page will display in english.if i login in german then it will display in german as on .. abap report how.........
In Background Report,how to handle errors?
6 Answers Cap Gemini, Raj Construction,
Define abap/4 layer? : abap data dictionary
What is a multiple line field? : abap bdc
how to call the smart form from the report?is it Possible or not?
who will release request number?
how to print barcode in vertical manner
how to code in SMARTFORMS for MULTIPLE RECORDS?
how to retrieve the field label of data element in reports.(not in alv)
In select-options,how to make high as madatory.....?if we use obligatory we'll get the low as madatory by default?