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

How to exclude additional parameters????

Former Member
0 Likes
891

Hi Experts,

I am using a Logical database in my Report program and I get all those standard parameters and Select-options in the selection screen.

I just dont want to hide them but also dissable them completely.

i tried using Selection-Screen Exclude but did'nt work or I didn't know the exact syntax of it.

Also to disable them I tried to alter the Database program but couldn't as I didn't had the previlege.

Please help with to get this done.

thanks in advance,

Daniel.

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
823

Have you tried this way?


Initialization.
 loop at screen.
  if screen-name = 'PA_VERSN'.
  screen-invisible = 1.
  modify screen.
  endif.
 endloop.

a®

Read only

Former Member
0 Likes
823

Thanks for the quick response!

But it did not work..... I still see the same selection screen.

Read only

0 Likes
823

I forget to add


SCREEN-INPUT = 0.


Initialization.
 loop at screen.
  if screen-name = 'PA_VERSN'.
  screen-invisible = 1.
  screen-input = 0.  "<<<<<
  modify screen.
  endif.
 endloop.

a®s

Edited by: a®s on Feb 29, 2008 11:45 AM

Read only

Former Member
0 Likes
823

Still the same result........

Read only

0 Likes
823

Please check this sample report.

Here i am using LDB as PNP in my report i want to disable the field

"Employment status" from selection screen.

It working fine for me.


report  zars no standard page heading
        line-size 170
        line-count 65(4).

tables: pernr,
        p0167,
        p0170,
        p0211.

Initialization.
 loop at screen.
  if screen-name = 'PNPSTAT2-LOW'. " Field name for employment status
  screen-invisible = 1.
  screen-input = 0.
  modify screen.
  endif.
 endloop.

 start-of-selection.
 write : 'test'.

a®s

Edited by: a®s on Feb 29, 2008 12:00 PM