ABAP Quiz

...Previous

4. Predict the output of the following code:

REPORT zsaptechnical_test.

TYPES:
BEGIN OF ty_test,
f1
TYPE c,
END OF ty_test.

DATA:
t_test
TYPE STANDARD TABLE OF ty_test,
d_test
TYPE ty_test.

INSERT INITIAL LINE INTO t_test INDEX 1.
APPEND 'X' TO t_test.
APPEND INITIAL LINE TO t_test.
APPEND 'X' TO t_test.
INSERT INITIAL LINE INTO t_test INDEX 1.
APPEND 'X' TO t_test.
APPEND INITIAL LINE TO t_test.
APPEND 'X' TO t_test.

DELETE ADJACENT DUPLICATES FROM t_test.

DESCRIBE TABLE t_test.
WRITE sy-tfill.

Answer:

a. 1
b. 2
c. 6
d. 8
Wrong!
The correct answer is: 6.
Correct!! Proceed to next Question

Click here for the next Question

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image