# Assistant

## How to Create a User with the Assistant

| ### What to do:
| To create an assistant, it is necessary to define the masks, tables etc. first. Further information can be found in the DataView or in this example.
| Select Manager > Tools > Assistant. The mask Assistant Definition is opened.
| Switch to Insert mode with the button .
| Enter the name of the assistant in the field Assistant.
| The Assistant Id (A number) is entered automatically. Please note down the assistant ID (A number) because it is required later for calling up the assistant.
| Enter the dialog steps.
| The fields Dialog Step and Method are compulsory fields whereas the field Remark is optional. In this example the first step opens the form EDB-ASS- USR-STA with the command lgv_nosel_run(EP_ASS/USR_STAOpn) with a LogiView procedure.
| Save the assistant definition.
| Define the menu item for calling the assistant. The userexit xform_ass_exc (A Number) is required.
Name of Selection | EDB-BAS-ASS-USR
Text of Selection | Create User (Assistant)
Userexit | xform_ass_exc
Menu Name | EDB-BAS-DEF-USR