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

Hide fields in a report

Former Member
0 Likes
483

Hello!

In the moment that I use the match code and select a information I need that other field hide.

For example:

when I select 'blue' I need that other field hide.

when I select 'green' do nothing.

thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
416

Hi,

If you use report use the following code,

at selection-screen output.

if < condition >.

Loop at screen.

if screen-name = 'field1'.

screen-invisible = 1.

modify screen.

endif.

endloop.

endif.

If you use module pool use the following code,

PROCESS BEFORE OUTPUT.

if < condition >.

Loop at screen.

if screen-name = 'field1'.

screen-invisible = 1.

modify screen.

endif.

endloop.

endif.

2 REPLIES 2
Read only

Former Member
0 Likes
417

Hi,

If you use report use the following code,

at selection-screen output.

if < condition >.

Loop at screen.

if screen-name = 'field1'.

screen-invisible = 1.

modify screen.

endif.

endloop.

endif.

If you use module pool use the following code,

PROCESS BEFORE OUTPUT.

if < condition >.

Loop at screen.

if screen-name = 'field1'.

screen-invisible = 1.

modify screen.

endif.

endloop.

endif.

Read only

Former Member
0 Likes
416

Hai yaar,

u can do this by using the import check box in the search help object . it returns the value.