Yes yes it works now, you set me up the right way, so thanks for that. Solution was not hard anymore.
%if "&sel_recipename" ne "ALL" and "&sel_recipevalue" ne "ALL" %then %do;
data edc_recipe;
set edc_recipe;
where ((RecipeName_1 in ("%sysfunc(tranwrd(%bquote(&sel_recipename),%bquote(,),%bquote(",")))")
or RecipeName_2 in ("%sysfunc(tranwrd(%bquote(&sel_recipename),%bquote(,),%bquote(",")))")
or RecipeName_3 in ("%sysfunc(tranwrd(%bquote(&sel_recipename),%bquote(,),%bquote(",")))")
or RecipeName_4 in ("%sysfunc(tranwrd(%bquote(&sel_recipename),%bquote(,),%bquote(",")))")
) AND (
RecipeValue_1 in ("%sysfunc(tranwrd(%bquote(&sel_recipevalue),%bquote(,),%bquote(",")))")
or RecipeValue_2 in ("%sysfunc(tranwrd(%bquote(&sel_recipevalue),%bquote(,),%bquote(",")))")
or RecipeValue_3 in ("%sysfunc(tranwrd(%bquote(&sel_recipevalue),%bquote(,),%bquote(",")))")
or RecipeValue_4 in ("%sysfunc(tranwrd(%bquote(&sel_recipevalue),%bquote(,),%bquote(",")))")
))
;
run;
%end;
gives where statement:
WHERE (RecipeName_1 in ('FcRcpaSEQUENCE_AMAT_CVD_B_C', 'FcRcpaSEQUENCE_AMAT_CVD_DXZ_C', 'FcRcpaSEQUENCE_AMAT_CVD_HDP_A STI') or RecipeName_2 in ('FcRcpaSEQUENCE_AMAT_CVD_B_C',
'FcRcpaSEQUENCE_AMAT_CVD_DXZ_C', 'FcRcpaSEQUENCE_AMAT_CVD_HDP_A STI') or RecipeName_3 in ('FcRcpaSEQUENCE_AMAT_CVD_B_C', 'FcRcpaSEQUENCE_AMAT_CVD_DXZ_C', 'FcRcpaSEQUENCE_AMAT_CVD_HDP_A
STI') or RecipeName_4 in ('FcRcpaSEQUENCE_AMAT_CVD_B_C', 'FcRcpaSEQUENCE_AMAT_CVD_DXZ_C', 'FcRcpaSEQUENCE_AMAT_CVD_HDP_A STI')) and (RecipeValue_1 in ('BC-IMD25-A1', 'C-ARC-RPT1',
'C-ARCN2O-RPT', 'C-BLOK-200') or RecipeValue_2 in ('BC-IMD25-A1', 'C-ARC-RPT1', 'C-ARCN2O-RPT', 'C-BLOK-200') or RecipeValue_3 in ('BC-IMD25-A1', 'C-ARC-RPT1', 'C-ARCN2O-RPT',
'C-BLOK-200') or RecipeValue_4 in ('BC-IMD25-A1', 'C-ARC-RPT1', 'C-ARCN2O-RPT', 'C-BLOK-200'));