Ver Mensaje Individual
  #9  
Viejo 11/03/11, 15:53:19
Avatar de gaos
gaos gaos is offline
Member
 
Fecha de Ingreso: oct 2006
Mensajes: 98
sin novedad

Ya pase todo a a un modulo que he creardo, no toma el user-command. Lo que tengo a grandes razgos es:
FUNCTION ZPM_NOTICE_TO_USER.
intruciones
.
.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
I_TITLE = 'AUTORIZAR ORDENES'
I_SELECTION = c_x
I_ZEBRA = c_x
I_SCREEN_START_COLUMN = 10
I_SCREEN_START_LINE = 10
I_SCREEN_END_COLUMN = 80
I_SCREEN_END_LINE = 20
I_CHECKBOX_FIELDNAME = 'CHECK'
I_TABNAME = 'T_SFIELDS_IN'
IT_FIELDCAT = FLDCAT[]
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IMPORTING
e_exit = cancel
TABLES
T_OUTTAB = T_SFIELDS_IN
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
.
ENDFUNCTION.
**---------------------------------------------------------------------*
** FORM user_command *
**---------------------------------------------------------------------*
form user_command using pa_ucomm like sy-ucomm pa_tabla type slis_selfield.
* If pa_ucomm eq '&IC1'.
message 'Doble click' Type 'I'.
* EndIf.
EndForm.
De esta forma ya se ha trabajado, poner la funcion y abajo los forms, esta vez no me funciono ¿Que puedo estar haciendo mal?
Responder Con Cita