Get Example source ABAP code based on a different SAP table
ABAP_LIST - Display A basic list is either displayed automatically or in a program-driven way. A details list is always displayed automatically:
In executable programs> called using SUBMIT>>, the basic list created up to that point is displayed automatically after the event END-OF-SELECTION>>. At the start of the program, the standard list status> is set automatically, which can be replaced by another GUI status in the program using SET PF-STATUS>>.