Passing a SELECT-OPTIONS table as a parameter to a subroutine?
===

So i have this:

`SELECT-OPTIONS gr_saord FOR gv_sales_order OBLIGATORY.`

then

`PERFORM check_values CHANGING gr_saord.`

then

`FORM check_values  CHANGING p_gr_saord TYPE selopt.`


What i also tried was instead of the structure `SELOPT` to use the Table Type `piq_selopt_t` and instead of passing `gr_saord` to pass `gr_saord[]`.

The presented version of the code and the alternative result both in the same error message:

> in PERFORM or CALL FUNCTION "CHECK_VALUES", the actual parameter
> "GS_SAORD" is incompatible with the formal parameter "P_GR_SAORD".

Basically i want to simply pass a `SELECT-OPTIONS` table as a parameter and can't manage to do it.


Thx, you guys rule!