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

Hiding Fields On Selection Screen

Former Member
0 Likes
465

Dear All,

Need a small suggestion. I have a requirement as below,

Selection Screen : Company Code ( In one blcock

Fiscal Tear

Physical File Name ( In second block)

Logical File Name -


> Obligatory

Now depending on certain company codes Physical File Name and Logical File Name fields should not be displayed. However this is not happening. I wrote the code in AT SELECTION SCREEN event as during AT SELECTION SCREEN OUTPUT i can not validate the as for some of the company codes.

Request you to kindly suggest me the approach to be followed.

Thanks in advance for your help.

Regards,

Anuja.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
434

This has been answered many times. Please SEARCH in SCN before posting. If you are still not able to resolve, post the code you tried with for any suggestion

Dear All,

Need a small suggestion. I have a requirement as below,

Selection Screen : Company Code ( In one blcock

Fiscal Tear

Physical File Name ( In second block)

Logical File Name -


> Obligatory

Now depending on certain company codes Physical File Name and Logical File Name fields should not be displayed. However this is not happening. I wrote the code in AT SELECTION SCREEN event as during AT SELECTION SCREEN OUTPUT i can not validate the as for some of the company codes.

Request you to kindly suggest me the approach to be followed.

Thanks in advance for your help.

Regards,

Anuja.

2 REPLIES 2
Read only

Former Member
0 Likes
435

This has been answered many times. Please SEARCH in SCN before posting. If you are still not able to resolve, post the code you tried with for any suggestion

Read only

Former Member
0 Likes
434

hai,

try like this

IF SCREEN-NAME = 'P_VKORG'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

based on your condition do changes, if you wabt to display field keep screen-input = 1 in if condition

and if you dont want to display some fields keep screen-input = 0 in else condition.

Edited by: kpsgoutam on Oct 21, 2009 3:28 PM