Input Parameters | Significance |
none | - |
Output Parameters | Significance |
none | - |
Return Code | Significance |
value | number of records found |
-1 | no record found |
-2 | error in the Pre_Action trigger for query mode |
-3 | Condition could not be created |
-4 | Sort-list could not be created |
Can be invoked as on_select-userexit in widget menus or as on_event-userexit in widget state or in query mode of mask edit state of a mask.
The count function evaluates the return code of a function at the Pre_Action trigger. If the Pre_Action trigger returns a return code = 1, dal_wdh_cnt_lis will not count and send the return code = -2 in turn.