NAVAPAT_T

ABAP : select data into internaltable

Aug 6th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ABAP 0.35 KB | None | 0 0
  1. tables : ZPAT_STUDENT.
  2. DATA it_student TYPE ZPAT_STUDENT OCCURS 0 WITH HEADER LINE.
  3.  
  4. select * from ZPAT_STUDENT into it_student.
  5.   append it_student.
  6. ENDSELECT.
  7.  
  8. select * from ZPAT_STUDENT into it_student. " the internal table can not contain anything
  9. ENDSELECT.
  10.  
  11. select * from ZPAT_STUDENT into TABLE it_student.
  12.  
  13. WRITE : it_student-name.
Advertisement
Add Comment
Please, Sign In to add comment