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

DISABLING FIELDS IN MODULE POOL

Former Member
0 Likes
731

Hi all,

i need to to disable all the fields in module after i save the record into database from module pool screen.

I have given in

if sy-ucomm = 'SAVE'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

I WANT TO DISABLE INPUT/OUTFIELDS.

BUT STILL IT DOESN'T WORK.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

Hi,

if sy-ucomm = 'SAVE'.

<b>LOOP AT SCREEN.</b>

SCREEN-INPUT = 0.

MODIFY SCREEN.

<b>ENDLOOP.</b>

ENDIF.

Regards,

Vidya

Message was edited by: Vidya Chowdhary

Message was edited by: Vidya Chowdhary

3 REPLIES 3
Read only

Former Member
0 Likes
681

Hi,

if sy-ucomm = 'SAVE'.

<b>LOOP AT SCREEN.</b>

SCREEN-INPUT = 0.

MODIFY SCREEN.

<b>ENDLOOP.</b>

ENDIF.

Regards,

Vidya

Message was edited by: Vidya Chowdhary

Message was edited by: Vidya Chowdhary

Read only

Former Member
0 Likes
680

if sy-ucomm = 'SAVE'.

loop at screen.

SCREEN-INPUT = 0.

MODIFY SCREEN.

endloop.

ENDIF.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
680

YOu need to LOOP at the screen .

if sy-ucomm = 'SAVE'.

<b>  loop at screen.</b>
     SCREEN-INPUT = 0.
     MODIFY SCREEN.
<b>  endloop.</b>

ENDIF.

Regards,

Rich Heilman