Application Development and Automation 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: 
Read only

input disabled check box

Former Member
0 Likes
898

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
Read only

Former Member
0 Likes
878

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

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

5 REPLIES 5
Read only

Former Member
0 Likes
878

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

Read only

Former Member
0 Likes
878

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.

Read only

Former Member
0 Likes
879

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

Read only

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Likes
878

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

Read only

Former Member
0 Likes
878

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