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

In the MM module for finding out the standard cost what is the view one has to look at?

618


Explain the advantages of different types of bdc's?

549


What are the two ways for restricting the value range for a domain? : abap data dictionary

534


The extract statements in field groups can be used before or after processing the sort statements. State true or false. : abap modularization

616


What is dynamic action? : sap abap hr

642






Does sap handle multiple currencies?

611


Explain the session method? : abap bdc

626


What is luw or data base transaction ?

582


What are the advantages of logical databases : abap hr

609


What are the different types joins?

571


What is the difference between get and get late?

599


What is buffering allowed but switched off?

869


What is example class

888


What is the syntax of packed number?

649


Which infotype records can not be deleted ? : abap hr

610