‎2007 Jun 06 5:32 AM
m using PNP selection screen. i want to hide some of these fields. how can i do it.
‎2007 Jun 06 5:48 AM
‎2007 Jun 06 5:34 AM
Hi Nidhi,
PNP has lots of screen variants, check which chooses best for your requirement as it rarely required for PNP to make any changes.
Reward points if useful.
Regards,
Atish
‎2007 Jun 06 5:35 AM
Hi,
Try using AT SELECTION-SCREEN OUTPUT event to hide the fields..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P_MATNR'.
SCREEN-ACTIVE = 0. " Invisible..
ENDIF.
ENDLOOP.
Thanks
Naren
‎2007 Jun 06 5:47 AM
thanks naren,
i have a query.
screen-name is name of my field like 'pnppernr'?
is it right.
‎2007 Jun 06 5:50 AM
Hi Nidhi,
As given by Ram above just follow that method for PNP, if you still want to use AT SELECTION SCREEN then make sure you give field names in capital as 'PNPPERNR'.
Regards,
Atish
‎2007 Jun 06 5:47 AM
Hi Nidhi,
You can check if any of the existing "Report Category" suits your requirement. If none of them suit then you can create a new report category and assign that to your program (in <b>Attributes Screen there is a button called Report Category</b>).
<u>Report Categories can be created or assigned at</u>
SPRO -> Personnel Management -> HR Information System -> Reporting -> Adjusting Standard Selection Screen -> Create or Assign Report Categories
Reward Points if helpfull.
Regards,
Ram
‎2007 Jun 06 5:48 AM
‎2007 Jun 06 5:57 AM
but naren it is not hiding fields.
i wrote these stmts before
start-of-selection.
i wrote.........
at selection-screen output.
loop at screen.
if screen-name = 'PNPPERNR'.
ecreen-active = 0.
endif.
endloop.
‎2007 Jun 06 5:59 AM
Hi Nidhi,
Change code as
at selection-screen output.
loop at screen.
if screen-name = 'PNPPERNR'.
ecreen-active = 0.
endif.
<b>MODIFY SCREEN.</b>
endloop.
Regards,
Atish
‎2007 Jun 06 6:02 AM
Hi,
Include the MODIFY screen..Sorry I missed that..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P_MATNR'.
SCREEN-ACTIVE = 0. " Invisible..
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Naren