If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Este es el codigo que funciono para mi.. espero que a alguien le sirva
Donde tuve que crear el status '10'
Y zprograma es el nombre de mi programa,
FIND y BACK son los codigos que utilice en el status.
saludos
at selection-screen output.
if sy-dynnr = '0111'.
data itab type table of sy-ucomm.
call function 'RS_SET_SELSCREEN_STATUS'
exporting
p_status = '10'
p_program = 'ZPROGRAMA'
tables
p_exclude = itab.
endif.
at selection-screen.
case sy-ucomm.
when 'BACK'.
sy-subrc = 4.
leave to screen 0.
when 'FIND'.
sy-subrc = 0.
leave to SCREEN 0.
endcase.
Comentario