Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mandatory field in selection screen of pnp logical database report

Hi experts,

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.

Thanks,

Priya.

Tags:
Former Member
Former Member replied

Hi,

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.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question