MUNDOSAP

Regresar   MUNDOSAP > DESARROLLO > Programación ABAP IV
Nombre de Usuario
Contraseña
Home Descargas Registrar FAQ Miembros Calendario Buscar Temas de Hoy Marcar Foros Como Leídos




 
Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Viejo 21/06/13, 00:38:23
funkeeiads funkeeiads is offline
Member
 
Fecha de Ingreso: mar 2013
Localización: Chile
Mensajes: 47
Post Mostrar u ocultar radiobuttons

Hola muchachos..
Soy muy nuevo en abap.
he buscado la solución pero no me funciona..
para algunos debe ser muy simple.

Quiero que al iniciar la pantalla no muestre los 3 radiobuttons del group gr4.

Necesito que solo muestre los 3 radiobutton ( R_LIBCON,RLIBCON2,RLIBCON3) cuando seleccionen el radiobutton llamado 'radio1' el cual esta en group gr1.

parameter: radio1 RADIOBUTTON GROUP gr1. "" generacion

SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-bl3.
parameter: R_LIBCON RADIOBUTTON GROUP gr4. "" generacion
parameter: RLIBCON2 RADIOBUTTON GROUP gr4.
parameter: RLIBCON3 RADIOBUTTON GROUP gr4.
SELECTION-SCREEN END OF BLOCK b4.


Espero su ayuda..
Saludos
Responder Con Cita
  #2  
Viejo 21/06/13, 08:24:20
coloso coloso is offline
Senior Member
 
Fecha de Ingreso: feb 2006
Mensajes: 110
Hola compañero, seguro que has buscado ?????
Pones en google "ocultar radio button abap" y el primer enlace que me sale:



Y ahí tienes el ejemplo, que en AT SELECTION-SCREEN OUTPUT tienes que usar el loop al screen y ya está.

SELECTION-SCREEN BEGIN OF BLOCK 4.
PARAMETERS:BUCH LIKE RFPDO1-DKAGSELE RADIOBUTTON GROUP FRAG modif id C1,
EINK LIKE RFPDO1-DKAGSELE RADIOBUTTON GROUP FRAG modif id C2.
SELECTION-SCREEN END OF BLOCK 4.


AT SELECTION-SCREEN OUTPUT event write the following code

AT SELECTION-SCREEN output.
loop at screen.
if screen-group1 = 'C1'.
screen-input = 0.
screen-invisible = 1.
modify screen.
elseif screen-group1 = 'C2'.
screen-input = 0.
screen-invisible = 1.
modify screen.
endif.
endloop.
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Reglas de Mensajes
no puedes crear nuevos temas
no puedes responder temas
no puedes adjuntar archivos
no puedes editar tus mensajes

El código vB está On
Las caritas están On
Código [IMG] está On
Código HTML está Off
Saltar a Foro


Husos Horarios son GMT. La hora en este momento es 13:16:15.


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