Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem with screen input--i close the other

<b>here is my parametrs</b>

<b>at the start-w_but active z_period is gray

i want when i click in m_but or p_but

the field z_period will be gray and zdate active

now you can understand me</b>

SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE gv_title.

PARAMETERS: z_period LIKE zcal_mstr-zsite MODIF ID gr1.

SELECT-OPTIONS : zdate FOR sy-datum.

SELECTION-SCREEN END OF BLOCK bl1.

SELECTION-SCREEN BEGIN OF BLOCK bl2 WITH FRAME TITLE g_title.

PARAMETERS: w_but RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND rd1.

PARAMETERS: m_but RADIOBUTTON GROUP rad1.

PARAMETERS: p_but RADIOBUTTON GROUP rad1.

SELECTION-SCREEN END OF BLOCK bl2.

Tags:
replied

Hi

use one more MODIF ID ( different :- GR2 ) for the select option ZDATE.

AT SELECTION-SCREEN OUTPUT.

Loop at screen.

IF condition 1.

If screen-group3 = 'GR1'.

screen-active = '0'.

Endif.

endif.

if condition 2.

If screen-group3 = 'GR2'.

screen-active = '0'.

Endif.

endif.

Endloop.

Hope this solve the problem.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question