# Enterprise Communication Interface (ECI)

## eci_rea_mas_def

### Description
ECI function for reading the mask and mask field definition.
### Input parameter
cpa_UsxNam
string | name of userexit to open list, specify "dal_mas_opn_mas" to open a mask instead of a widget.
cpa_UsxPar
string | parameter for userexit to open list
cpa_Prm
string | {on|off} on: call pre-ask userexit off: do not call it
cpa_AllFld
string | {on|off} on: return also invisible fields (e.g. system fields) off: return only visible fields
#### ####
### Output parameter
cpa_MasInf
stringlist | info about mask, contains following subparameters: name of list type of list {L|F} title of list row of list column of list length of list (visual) length of list (virtual) width of list (visual) width of list (virtual) vertical scrollbar {y|n} horizontal scrollbar {y|n} amount of significant fields max. number of records in list nonselect menu name select menu name edit menu name nonselect button name select button name edit button name pre mask userexit post mask userexit selection action userexit edit action userexit pre action userexit post action userexit join condition Optional values in case a widget has been opened: origin table name join table name parent entity name child entity name parent table name widget type type name or relation name
CaNumFld
string | number of fields in list
cpa_FldInf_1 ... cpa_FldInf_n
stringlist | info about first field in mask, contains field name system field flag {y|n} sort number row of field in list column of field in list vis. length of field vir. length of field vis. width of field vir. width of field video attribute access to field access in insert mode access in update mode access in query mode name of choose tool for field type of choose tool for field pre field userexit post field userexit field title field description field type field format check field default value relative row of field title relative column of field title length of field title width of field title video attribute of field title multi language flag {y|n} Hyperfield userexit
... | ...
stringlist | info about n field in mask, contains field name system field flag {y|n} sort number row of field in list column of field in list vis. length of field vir. length of field vis. width of field vir. width of field video attribute access to field access in insert mode access in update mode access in query mode name of choose tool for field type of choose tool for field pre field userexit post field userexit field title field description field type field format check field default value relative row of field title relative column of field title length of field title width of field title video attribute of field title multi language flag {y|n} Hyperfield userexi
####