Si te entendí bien... es algo sencillo
*Si usuario no captura nada en select option, llenamos el rango con los valores predefinidos.
IF s_otype[] is initial.
s_otype-SIGN = 'I'.
s_otype-OPTION = 'BT'.
s_otype-low = 'PM01'.
s_otype-high = 'PM05'.
append s_otype.
endif.
SELECT aufnr auart pspel objnr gltrp rsnum aufpl
FROM caufv
INTO TABLE pt_caufv
WHERE auart IN s_otype.
__________________
-------------------
¿Dudas para descargar manuales? Ver este tema ->
|