2008 Aug 25 3:05 PM
I have a select option with no-extension so its like parameter and a Check box.
During the Program Execution i will give some value to the Selection Option field.
Based on the value given to the Select option the Check box should have the value (i.e) it should be active or inactive based on the input in the selection screen.
I tried At selectioon screen on value request for also i tried it in Initialization also using MODIF id nothing is working.
Can anybody help me out ..
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 25, 2008 5:34 PM
2008 Aug 25 3:09 PM
Hi,
Use at selection screen output.
at selection-screen output.
if gv_ucomm = 'RG1'.
loop at screen.
if pa_rgor = 'X'.
if screen-name+7(1) = '2' or
screen-name+7(1) = '1'.
screen-input = 0.
endif.
endif.
if pa_rgof = 'X'.
if screen-name+7(1) = '1' or
screen-name+7(1) = '3'.
screen-input = 0.
endif.
endif.
if pa_rgaa = 'X'.
if screen-name+7(1) = '2' or
screen-name+7(1) = '3'.
screen-input = 0.
endif.
endif.
modify screen.
endloop.
endif.
I have a select option with no-extension so its like parameter and a Check box.
During the Program Execution i will give some value to the Selection Option field.
Based on the value given to the Select option the Check box should have the value (i.e) it should be active or inactive based on the input in the selection screen.
I tried At selectioon screen on value request for also i tried it in Initialization also using MODIF id nothing is working.
Can anybody help me out ..
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 25, 2008 5:34 PM
2008 Aug 25 3:09 PM
Hi,
Use at selection screen output.
at selection-screen output.
if gv_ucomm = 'RG1'.
loop at screen.
if pa_rgor = 'X'.
if screen-name+7(1) = '2' or
screen-name+7(1) = '1'.
screen-input = 0.
endif.
endif.
if pa_rgof = 'X'.
if screen-name+7(1) = '1' or
screen-name+7(1) = '3'.
screen-input = 0.
endif.
endif.
if pa_rgaa = 'X'.
if screen-name+7(1) = '2' or
screen-name+7(1) = '3'.
screen-input = 0.
endif.
endif.
modify screen.
endloop.
endif.
2008 Aug 25 3:09 PM
Hi you can do it in AT SELECTION-SCREEN event.
Try the following code,
IF s_sopt IS INITIAL.
w_cbox = 'X'.
ELSE.
CLEAR w_cbox.
ENDIF.
s_sopt is the select option and w_cbox is the checkbox.
When the user inputs a value and hits enter the check box will be modified.
2008 Aug 25 3:37 PM
I dont think so wether above solution would work.
cause AT SELECTION-SCREEN OUTPUT will work PBO but your requirement once you give input to selection screen than you need to do work.than i think one way you can do achieve this by using AT SELECTION-SCREEN on ON {para|selcrit} event cause it would trigger in PAI than again your need to come back on selection screen after getting refersh your previous selection screen.
Amit.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |