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

Dropdown list box

Former Member
0 Likes
539

Hi guys,

i created dropdown list box in Module pool programming but its not triggering for that i have write the code here... when it trigger screen will Refresh and disable some fields... is there any another way.....to do plz send me the code...

Case save_ok.

WHEN 'SEL_ARCHIVE'. ( this the function code of Dropdown)

IF NOT v_find IS INITIAL.

LOOP AT SCREEN.

IF screen-group1 = 'MOD'.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Endcase.

4 REPLIES 4
Read only

Former Member
0 Likes
518

Hi,

Try changing your code and see if works

IF NOT v_find IS INITIAL.

LOOP AT SCREEN.

IF screen-group1 = 'MOD'.

<b>screen-input = 0.</b>

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Endcase.

Regards,

Atish

Read only

Former Member
0 Likes
518

Hi,

Are you writing this code in PBO

Thanks,

Naren

Read only

gopi_narendra
Active Contributor
0 Likes
518

As said in your previous post, this can be done only in PBO Proces Before Output. just copy the same code in ur PBO. Since that it is in User_Command it will not work at all.

Please do the same in PBO only

Regards

Gopi

Read only

Former Member
0 Likes
518

hi,

write this in PBO

Case save_ok.

WHEN 'SEL_ARCHIVE'. ( this the function code of Dropdown)

IF NOT v_find IS INITIAL.

LOOP AT SCREEN.

IF screen-group1 = 'MOD'.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Endcase.