# Enterprise Communication Interface (ECI)

## eci_rea_men_cpl

### Description
Reads complete menu structure.
| To get the lock flag you have to activate the capability "ButLock" for the module "Eci" by calling eci_use_cap before calling eci_rea_but!
### Input parameter
mennam
string | name of menu
WdgId
string | ID of current widget (optional)
FldNam
string | name of current field (optional)
### Output parameter
TopMenNum
string | number of top level menu selections
men_sel_1
stringlist | menu level menu selection name selection text or "" selection userexit or "" menu selection userexit parameter or "" submenu name or "" lock flag (1 - locked selection, 0 - normal selection)
mensel_last
string | return values of last menu entry