‎2008 Feb 29 3:59 PM
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.
‎2008 Feb 29 4:15 PM
Have you tried this way?
Initialization.
loop at screen.
if screen-name = 'PA_VERSN'.
screen-invisible = 1.
modify screen.
endif.
endloop.
a®
‎2008 Feb 29 4:30 PM
Thanks for the quick response!
But it did not work..... I still see the same selection screen.
‎2008 Feb 29 4:44 PM
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
‎2008 Feb 29 4:47 PM
‎2008 Feb 29 5:00 PM
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