DtvLong dal_iwf_sel_lis ()

Puts the mask of the active widget into query mode of mask edit state and jumps into the mask-edit-loop. After entering search terms a count or data query can be executed.

Input Parameters Significance
none -

Output Parameters Significance
none -

Return Code Significance
0 no error
1 wrong widget type
2 error in the edit_action-trigger for query mode
3 error setting query mode

Can be invoked as on_select-userexit in widget menus or as on_event-userexit in the widget state of a mask.

The system checks the edit_action-trigger before editing, the pre_action-trigger before the query transaction, and the post_action-trigger of the mask after the query transaction.During this process the triggers execute the functions you programmed for query mode.

The query itself can be started using the userexits dal_wdh_cnt_lis or dal_wdh_upd_lis.

The function deletes the query buffer of the internal C_ID fields automatically. The reasons are possibly filled C_ID fields after calling forms at selected list-records with dal_iwf_frm_ent or dal_iwf_frm_wdg.