Skip to Content
0
Feb 10, 2011 at 07:45 AM

Selection Screen modification

52 Views

Dear Experts,

In following code, i want to modify the screen input according to the radiobutton selected.

SELECTION-SCREEN : BEGIN OF BLOCK super WITH FRAME.

PARAMETERS : r1 TYPE c RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND uc.


SELECTION-SCREEN : BEGIN OF BLOCK renewal WITH FRAME.
  SELECT-OPTIONS : s_date FOR fplt-fkdat OBLIGATORY,      " End date in billing plan
                   s_auart FOR vbak-auart,                " Order Type
                   s_spart FOR vbak-spart,                " Division
                   s_vtweg FOR vbak-vtweg.                " Distributional Channel
SELECTION-SCREEN : END OF BLOCK renewal.

PARAMETERS : r2 TYPE c RADIOBUTTON GROUP g1.

SELECTION-SCREEN : BEGIN OF BLOCK deactivation WITH FRAME TITLE text-002.

  SELECT-OPTIONS : s1_auart FOR vbak-auart,              " Order Type
                   s1_vkbur FOR vbak-vkbur,               " Sales Office
                   s1_spart FOR vbak-spart,              " Division
                   s1_vtweg FOR vbak-vtweg.              " Distributional Channel

SELECTION-SCREEN : END OF BLOCK deactivation.

SELECTION-SCREEN : END OF BLOCK super.

But getting message date has to be entered even if i select radiobutton r2.

can any one provide guidance in this.

Thanks in advance

Regards,

jaspal