Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

input disabled check box

Former Member
0 Kudos

how to display input disabled check box in selection screen.

plz give me sample code.i think we have to use at selection-screen output. so using it how we have to build code

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

selection-screen begin of block b1.

parameters:p1 type c as check box modif id 'ABC'.

selection-screen end of block b1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN .

IF SCREEN-GROUP1 = 'B1'.

IF SCREEN-GROUP2 = 'ABC'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Thank's &Regard's

Bhaskar Rao.M

5 REPLIES 5

Former Member
0 Kudos

Below is the code we can use:

REPORT zrjntrial_tree LINE-COUNT 65

LINE-SIZE 80

NO STANDARD PAGE

HEADING.

*********************************************************************

TABLES : vbrk.

PARAMETERS : p_radio AS CHECKBOX USER-COMMAND opt1.

SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln,

s_fkdat FOR vbrk-fkdat.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'P_RADIO'.

screen-input = 0.

screen-output = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Regards,

Himanshu

Former Member
0 Kudos

HI,

see this code.

PARAMETERS:name as CHECKBOX.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'NAME'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

rgds,

bharat.

Former Member
0 Kudos

Hi ,

selection-screen begin of block b1.

parameters:p1 type c as check box modif id 'ABC'.

selection-screen end of block b1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN .

IF SCREEN-GROUP1 = 'B1'.

IF SCREEN-GROUP2 = 'ABC'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Thank's &Regard's

Bhaskar Rao.M

jaideeps
Advisor
Advisor
0 Kudos

REPORT ZSDN.

selection-screen begin of block b1.

parameters:CHECK1 type c as checkbox.

selection-screen end of block b1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN .

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDLOOP.

thankx

jaideep

if useful reward points

Former Member
0 Kudos

hi pavan,

check this code.

PARAMETERS:p1 as CHECKBOX.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'p1'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

if helpful reward some points.

with rgds,

suresh.A