‎2007 May 23 8:22 AM
when i click on check box the two select-options should be grayed,
‎2007 May 23 8:25 AM
hi,
use modify screen,
still problem means, expalin abt it more
With Regards,
S.barani
Message was edited by:
S BHARANIDARAN
‎2007 May 23 8:24 AM
u need to modify the screeen
go through the below programs
Screen Modifications -- <u>demo_dynpro_modify_simple
demo_dynpro_modify_screen</u>
‎2007 May 23 8:25 AM
hi,
use modify screen,
still problem means, expalin abt it more
With Regards,
S.barani
Message was edited by:
S BHARANIDARAN
‎2007 May 23 8:33 AM
select-options: s_cons FOR v_cons MODIF ID XYZ,
s_exp FOR v_exp DEFAULT '28' MODIF ID XYZ.
IF p_sao = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'XYZ'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
i have used above code to gray two above fiedls when i click on check box but its not working, can any one give solution for this.
‎2007 May 23 9:29 AM
Change ur declaration of <b>p_sao</b> as below
PARAMETERS: p_sao AS CHECKBOX USER-COMMAND check.
‎2007 May 23 8:31 AM
for the check box give the function code as 'CS' and function type as 'S'.
In the pai write the below statement
Module XXXXX on cursor-selection.
XXXX is a module name.
this module will be executed when u touch the checkbox.
In the pbo u need to code such that u need tomodify the screen only when the module xxx is executed
‎2007 May 23 8:32 AM
report test.
tables:
mara,
vbak.
select-options:
s_matnr for mara-matnr MODIF ID MOD,
s_vblen for vbak-vbeln MODIF ID MOD.
PARAMETERS check AS CHECKBOX USER-COMMAND check.
at selection-screen output.
if check eq 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'MOD'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endif.
START-OF-SELECTION.
WRITE:S_MATNR.
‎2007 May 23 9:42 AM
Hi
Hope this would give the betterment for your problem..jus try it..
report sample.
tables:mara,
marc.
//select-options:
s_matnr for mara-matnr MODIF ID MOD,
s_werks for marc-werks MODIF ID MOD.
PARAMETERS check AS CHECKBOX .
//at selection-screen output.
if check eq 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'MOD'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endif.
//START-OF-SELECTION.
WRITE:S_MATNR,
S_WERKS.
REWARD IF USEFUL...!!