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 |
different ways to process/run the session
What is the MM Flow with Transaction Codes
in mm and sd,in which table plant and storage location are there?
Sal abap on hana interview
tcode to find applicatin server directories?
What is a view in sap? : abap data dictionary
1)can any body tell the transport request number concept and 2)there are 3 screens in one screen u have uploaded the resume and second screen also u have done the same thing but when u are uploading the resume in third screen u got some error in somewhere else but whatever u have uploaded the resume in 1 and 2 should not
what is a package is SAP
what is version in reports?
What is a collect statement? How is it different from append?
What is logo in sap script?
What is meant by a schema? : sap abap hr