Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Make (LDB)PNP Fields obligatory on selection-screen

former_member181966
Active Contributor
0 Likes
916

I am using LDB PNP.. I want to make some fields of PNP as obligatory. How Can I do that?

So far I am doing the following...

<b>Initialization.

PNPABKRS-LOW = '?'.

Append PNPABKRS.

At selection-screen.

if PNPABKRS-LOW is initial.

PNPABKRS-LOW = '?'.

Message e100(z01).

endif.</b>

What you suggest ?

Thanks

Message was edited by: Saquib Khan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

You have to do this way,


AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF SCREEN-NAME = 'PNPABKRS-LOW '.
      SCREEN-REQUIRED = 1.
      MODIFY SCREEN.
    ENDIF.
ENDLOOP.

I am using LDB PNP.. I want to make some fields of PNP as obligatory. How Can I do that?

So far I am doing the following...

<b>Initialization.

PNPABKRS-LOW = '?'.

Append PNPABKRS.

At selection-screen.

if PNPABKRS-LOW is initial.

PNPABKRS-LOW = '?'.

Message e100(z01).

endif.</b>

What you suggest ?

Thanks

Message was edited by: Saquib Khan

1 REPLY 1
Read only

Former Member
0 Likes
549

You have to do this way,


AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF SCREEN-NAME = 'PNPABKRS-LOW '.
      SCREEN-REQUIRED = 1.
      MODIFY SCREEN.
    ENDIF.
ENDLOOP.