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

select-options

Former Member
0 Likes
719

when i click on check box the two select-options should be grayed,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
691

hi,

use modify screen,

still problem means, expalin abt it more

With Regards,

S.barani

Message was edited by:

S BHARANIDARAN

7 REPLIES 7
Read only

Former Member
0 Likes
691

u need to modify the screeen

go through the below programs

Screen Modifications -- <u>demo_dynpro_modify_simple

demo_dynpro_modify_screen</u>

Read only

Former Member
0 Likes
692

hi,

use modify screen,

still problem means, expalin abt it more

With Regards,

S.barani

Message was edited by:

S BHARANIDARAN

Read only

0 Likes
691

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.

Read only

0 Likes
691

Change ur declaration of <b>p_sao</b> as below

PARAMETERS: p_sao AS CHECKBOX USER-COMMAND check.

Read only

Former Member
0 Likes
691

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

Read only

Former Member
0 Likes
691

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.

Read only

Former Member
0 Likes
691

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...!!