Mandatory field in selection screen of pnp logical database report
Im using pnp logical database in my report.
It give the standard selection screen. I need to make some fields in the selection screen as mandatory like pnpwerks.
How its possible. Give me some solution.
Use the following code.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
*To make Personnel Number mandatory.
IF SCREEN-NAME CS 'PNPPERNR'.
SCREEN-REQUIRED = 1.
SCREEN-ACTIVE = 1.