How to declare an Internal Table?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a table attribute? : abap data dictionary

558


What is For-period and In-period

1723


Hi guy.. i have to face an interview in a couple of day.. so can you please give me some good and tough question on abap.

1587


Describe the data classes?

601


What is meant by hot spots? : abap data dictionary

624






function modules are also external subroutines. State true or false. : abap modularization

590


Hat are the different types of mode (run code) in call transaction method?

562


How would you suppress the display of a parameter on the selection screen?

552


What are types of select statements?

567


How can a lock object be called in the transaction?

525


Final class

1008


HOW TO DIFFERENT CALL TRANSACTION ON THE BASIS OF DOUBLE CLICKING ON DIFFERENT FIELD.

1767


What is cts and what do you know about it? : abap hr

723


What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc

599


What are the data types of internal tables?

577