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

LDB selection screen field mandatory

Former Member
0 Likes
1,332

hi,

In LDB selection screen i want to make other period field as mandatory.

how to do it? if anyone knows please help me.

thanks in advance.

Suchithra.

hi,

In LDB selection screen i want to make other period field as mandatory.

how to do it? if anyone knows please help me.

thanks in advance.

Suchithra.

3 REPLIES 3
Read only

Former Member
0 Likes
910

Hi,

You can make this in the at selection screen output.

OR (try this)

Once you define the LDB name in the attribute section.

Click on the HR report category --> A pop up will be displayed --> Report category --> A screen will be displayed --> On right side > double click on Allowable selection criteria> Choose the fieldname.

Thanks,

Sriram Ponna,

Read only

Former Member
0 Likes
910

Hi...

Since it is a standard PNP field.. you cannot make it mandatory... The only thing you can do is to put a check in AT Selection-Screen event and display an error message if the user has not populated the field.

OR

Do not use the Date fields of the PNP LDB.. instead create your own custom fields and in the Start of Selection event... Before GET statement pass the dates from custom screen fields to PNPBEGDA and PNPENDDA. This will work the same way as the PNP LDB uses.

Cheers!!

Lokesh

Read only

former_member31961
Contributor
0 Likes
910

Hi,

You can use following code to (AT SELECTION-SCREEN OUTPUT) in the LDB to make selection screen parameter mandatory.

AT SELECTION-SCREEN OUTPUT.

loop at screen.

if screen-name = 'PNPBEGDA'. "Give here the screen field name that you want make as manadatory

" to get the screen field name, press 'F1' on that field and get technical

"information

screen-required = 1.

MODIFY SCREEN.

endif.

endloop.

Hope this helps,

Shrinivas