2008 Feb 29 11:29 AM
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.
2008 Feb 29 11:36 AM
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,
2008 Feb 29 11:38 AM
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
2008 Feb 29 1:19 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |