MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   Cambiar el status en una SELECTION-SCREEN (foro/showthread.php?t=16206)

aldape 08/09/08 22:41:50

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 ....



Aver si sirve pal caso :D

aldape 09/09/08 21:50:54

Jejeje, gracias hermano... fue algo impulsiva la pregunta... ;)


Saludos!

aldape 09/09/08 22:09:51

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.


Husos Horarios son GMT. La hora en este momento es 03:57:39.

www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web