*& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT zzy_select_table_demo. **Structure Declarations *TYPES: BEGIN OF ty_emp, * empno TYPE zzy_empmast-empno, * empname TYPE zzy_empmast-empname, * END OF ty_emp. **Table Type Declarations *TYPES: ty_t_emp TYPE STANDARD TABLE OF ty_emp. * **Internal Table and Work Area Declarations *DATA: it_emp TYPE ty_t_emp, * wa_emp TYPE ty_emp. INCLUDE zzy_select_table_demo_top. SELECT empno "Employee Number empname "Employee Name FROM zzy_empmast INTO TABLE it_emp. * WHERE empno = '00001'. CTRL + < (Commenting a whole line); CTRL + > (Un Com menting a whole line) WRITE: /2(5) 'EMPNO' COLOR 6, 10 'EMPNAME' COLOR 6. SKIP 1. LOOP AT it_emp INTO wa_emp. WRITE: /2(5) wa_emp-empno, 10 wa_emp-empname. ENDLOOP.