Lets say you have 2 fields first name and last name in the screen 3000. you have named these fields as first_name and last_name
On the top include, create 2 fields first_name and last_name.
In screen 3000:
PBO:
module get_data.
create the subroutine get_data.
in this module add the below code.
select single fname lname " fname and lname are the fields in your Z table
from ZSTUDENT
into (first_name, last_name)
where fname EQ " what ever value was entered in screen 2000
and lname EQ " what ever value was entered in screen 2000.
endselect.
Thanks,
Vikram.M