how to pass selection option values in subroutine
i want to pass s_bukrs(select option field) in subroutine like
perform check_compcd using s_burks
form check_compcd using rs_bukrs type ???
what type i have to use?
Neil Woodruff replied
when you pass s_bukrs without the , it is interpreted as sending the header line as a parameter NOT the whole table. If you want to operate on the select option as a TABLE use this:
the perform will have to be:
perform check_compcd using s_bukrs.
form check_compcd using rs_bukrs like s_bukrs. *validation code.