Ver la Versión Completa : Cambiar el status en una SELECTION-SCREEN
como puedo agregar un boton a una selection screen en la barra de herramientas??
es posible hacer eso??
saludos!!
DavidXD_XD
08/09/08, 23:23:51
Claro ... dale una mirada a este post ....
http://www.mundosap.com/foro/showthread.php?t=11605
Aver si sirve pal caso :D
Jejeje, gracias hermano... fue algo impulsiva la pregunta... ;)
Saludos!
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.
www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web