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: 

need logic for ALV

Former Member
0 Kudos

Moderator message: please use a meaningful subject in future.

In requirement,

I have created alv report with radio buttons.

now suppose when i click the radio button ok or pos, then

radio buttons N/M, F/M , T/M should get disabled.

how to do it for each row?

if u know any logic tell me......................

Edited by: Matt on Nov 19, 2008 11:30 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Write the Logic under selection-screen output event.

at selection-screen output.

loop at screen.

if ( p_list = '1'

and screen-group1 = 'PM2' )

or ( p_list = '2'

and screen-group1 = 'PM1' ).

screen-input = 0.

modify screen.

endif.

endloop.

Fields of Screen structure

Component Length Type Attribute Description

name 132 c Name Name

group1 3 c Group1 Modification group

group2 3 c Group2 Modification group

group3 3 c Group3 Modification group

group4 3 c Group4 Modification group

required 1 c Required-entry field Mandatory field

input 1 c Input input-enabled field

output 1 c Output display field

intensified 1 c Intensified intensified field

invisible 1 c Invisible invisible element

length 1 x visLength Field length

active 1 c Input/Output/Invisible active field

display_3d 1 c Two-dimensional Box

value_help 1 c Input help Input help key

request 1 c - Input exists

values_in_combo 1 c Dropdown listbox Value help exists

Edited by: avinash kodarapu on Nov 19, 2008 3:11 PM

2 REPLIES 2

Former Member
0 Kudos

Write the Logic under selection-screen output event.

at selection-screen output.

loop at screen.

if ( p_list = '1'

and screen-group1 = 'PM2' )

or ( p_list = '2'

and screen-group1 = 'PM1' ).

screen-input = 0.

modify screen.

endif.

endloop.

Fields of Screen structure

Component Length Type Attribute Description

name 132 c Name Name

group1 3 c Group1 Modification group

group2 3 c Group2 Modification group

group3 3 c Group3 Modification group

group4 3 c Group4 Modification group

required 1 c Required-entry field Mandatory field

input 1 c Input input-enabled field

output 1 c Output display field

intensified 1 c Intensified intensified field

invisible 1 c Invisible invisible element

length 1 x visLength Field length

active 1 c Input/Output/Invisible active field

display_3d 1 c Two-dimensional Box

value_help 1 c Input help Input help key

request 1 c - Input exists

values_in_combo 1 c Dropdown listbox Value help exists

Edited by: avinash kodarapu on Nov 19, 2008 3:11 PM

former_member189420
Active Participant
0 Kudos

Could you please explain it in detail....!