‎2008 Dec 14 7:31 AM
hi.
i m using a logical database PNP and report catagory 1PY_DEF in my program.
but when i execute it , it shows to selection box. one name is period and second is selections.
but i just want to show only period box selection fields , not the selection box fields.
how it iz possible.
‎2008 Dec 14 8:05 AM
HI,
That is working properly in my program. Check the Field names are properly. i'm using X__00002 in the report catageory...& selected the Master Data radio button.
if you have set the variants for the selection screen before making changes. And after making the changes then if you select these varinats then the hidded fields will be displayed so you need to create the new variants after changing the selection screen,
‎2008 Dec 14 7:36 AM
HI,
In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name CS 'PNPKOKRS' OR
screen-name CS 'PNPKOSTL' OR
screen-name CS 'PNPORGEH'.
screen-active = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
CLEAR screen.
ENDIF.
ENDLOOP.
Try modify hide the total block instead of individual fields in that block.
‎2008 Dec 14 7:44 AM
hi brother.
ur code is not even hiding those fields which u have written. i.e cost center....
‎2008 Dec 14 7:46 AM
Hi.
In the attributes of program you can assign existing HR report category or create new
one to assign it later to your report. So you can customize selection screen.
‎2008 Dec 14 8:05 AM
HI,
That is working properly in my program. Check the Field names are properly. i'm using X__00002 in the report catageory...& selected the Master Data radio button.
if you have set the variants for the selection screen before making changes. And after making the changes then if you select these varinats then the hidded fields will be displayed so you need to create the new variants after changing the selection screen,
‎2008 Dec 14 8:32 AM
hi avinash:
it is properly working when i used te logical database pnp and screen no 000 and report catagory X__00002.
but i m using screen no 900 and report catagory which i described above... ten the code does not work...
plz just tell me how we can came to know that these fields contain wat screen-name.
meanz how u came to know
screen-name CS 'PNPKOKRS'
screen-name CS 'PNPKOSTL'
screen-name CS 'PNPORGEH'
so that i can get the remaining fields or how i can get te block name.
thanking in advance
‎2008 Dec 14 8:54 AM
hi,
press F1 on the fields in the selection screen and in the Technical information read the Screen Field value... just consider the PNPKOKRS not the LOW or HIGH.
‎2008 Dec 14 7:14 PM
Hi Tahir,
Go into the Report Category (Prog attributes -> HR Report Category -> Find Report Category). On the right-hand side of your report category, you could see "Allowable selection screens". Doublle click that. You can either remove the unwanted fields or uncheck the checkbox next to it. Note - If you dont want to display the entire block in ur selection screen, remove all fields..