Application Development 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: 

INVISBLE TEXT IN THE SELECTION SCREEN

Former Member
0 Kudos

HI ALL,

I HAVE LOOP ON SCREEN AT THE SELECTION SCREEN,

AND IT SUPPOSE TO INVISIBLE SOME FIELDS.

THE PROBLEM IS THAT IT IS NOT INVISIBLE THE TEXT.

THE CODE IS ABOVE:

case screen-name.

when 'SO_SAKNR-LOW' OR 'SO_SAKNR-HIGH'.

screen-invisible = 0.

screen-active = 1.

when 'SO_KUNNR-LOW' or 'SO_KUNNR-HIGH'.

screen-invisible = 1.

screen-active = 0.

when 'SO_LIFNR-LOW' or 'SO_LIFNR-HIGH'.

screen-invisible = 1.

screen-active = 0.

endcase.

HOW AM I SUPPOSE TO INVISIBLE THE TEXT TOO?

THANKS,

DANA.

4 REPLIES 4

gopi_narendra
Active Contributor
0 Kudos

are you missing the MODIFY SCREEN. statement by chance

Regards

- Gopi

0 Kudos

Yes, you forgot the statement

MODIFY screen.

Former Member
0 Kudos

Hi Dana,

See when u can Disable the text field then use INPUT = 0 and if u want to Invisible the Text then use Invisible. If u use Invisible the TExt is Like the Password Field u cannot see the text in recular format But as password field u can see only dots.

And if you want to disable a group of fields on particular entry then just group them and disable when so and so condition.

Bye

Murthy

Former Member
0 Kudos

Dana,

try following code

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 01(30) text-003 FOR FIELD p_monat MODIF ID fi.

SELECTION-SCREEN POSITION 33.

PARAMETERS p_gjahr LIKE bkpf-gjahr MODIF ID fi.

PARAMETERS p_monat LIKE bkpf-monat MODIF ID fi.

SELECTION-SCREEN COMMENT 52(04) text-005 FOR FIELD p_monat MODIF ID fi.

SELECTION-SCREEN POSITION 58.

PARAMETERS p_bgjahr LIKE bkpf-gjahr MODIF ID fi.

PARAMETERS p_bmonat LIKE bkpf-monat MODIF ID fi.

SELECTION-SCREEN END OF LINE.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-group1 = 'FI'.

screen-input = '0'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

-Anu.

Message was edited by: Anupama Reddy