Avalados por :
<b>Hola
El rango es algo similar a SELECT_OPTIONS en Reporting
Como
Rangos: sdate para sy-datum ocurre 1.
sdate-sign = 'I'.
sdate-option = 'EQ'.
sdate-low = sy-datum - 1.
sdate-high = sy-datum.
append sdate.
Luego
en SELECT usa el operador IN.
Regs
Manas Ranjan Panda</b>
Mensaje editado por:
MANAS PANDA
data: zip(6) type n.
data: year(4) type c.
ranges: r_zip for zip.
ranges: r_year for year.
clear r_zip.
r_zip-sign = 'I'.
r_zip-option = 'EQ'.
r_zip-low = '301526'.
append r_zip.
clear r_zip.
r_zip-sign = 'I'.
r_zip-option = 'BT'.
r_zip-low = '30111'.
r_zip-high = '301136'.
append r_zip.
clear r_year.
r_year-sign = 'E'.
r_year-option = 'LT'.
r_year-low = '2005'.
append r_year.
if p_zip in r_sip
and p_year in r_year.
endif.
hi,
<i><b>Define a range:</b></i>
Ranges: r_field for <table>.
if not field1 is initial.
r_field-sign = 'I'.
r_field-option = 'EQ'.
r_field-option-low = field1.
append r_field.
endif.
if not field2 is initial.
r_field-sign = 'I'.
r_field-option = 'EQ'.
r_field-option-low = field2.
append r_field.
endif.
if field1 is initial and field2 is initial.
r_field-sign = 'I'.
r_field-option = 'EQ'.
append r_field.
endif.
select * from <table> where field1 in r_field.
rgds
anver
contacto@primeinstitute.com
(+51) 1641 9379
(+57) 1489 6964
© 2024 Copyright. Todos los derechos reservados.
Desarrollado por Prime Institute