# Enterprise Communication Interface (ECI)

## eci_mul_sel

### Description
This function enables the selection of several entities or type data records and reads out their field contents within an eci_call call.
### Input parameter
CpEntNam
string | Entity name
CpTypNam
string | Name of entity type (""if no entity type)
CpMasNam
string | Mask name of entity/type
CpMasExt
string | Select system fields at mask with Entity 1 {"on"|"off"}
CpWdgMod
string | Mask type of entity/type {"list"|"form"|"bvb"}
CpActMod
string | Type of interaction {"bat"}
CpWdgDel
string | {"on"|"off"}
"on": Widget is deleted at the end
CpResFlag
string | Reservation flag {"on"|"off"|"noask"|"stay"}
"on": | Data records are reserved and loaded. If the data record is already reserved by another user, the function is aborted and returns an error.
"off": | All data records selected are loaded
"noask": | Unreserved data records are reserved and all selected data records are loaded.
"stay": | Data records are reserved. If a selected data record is already reserved, the selection is rejected and the user must select another data record or the function is cancelled.
CpaSelFld
stringlist | Name of field for selecting the data records
CpaSelVal
stringlist | Values of field for selecting the data records
CpaChkFld
stringlist | Name of fields for checking the data records
CpaChkVal
stringlist | Value of fields for checking the data records
CpaRetChk
string | Return flag{"off"|"T"|"E"|"ET"}
"off"
"T"
"E"
"ET"
CpaMasLimit
string | {"off"|"on"} Mask limit effective or not
(for CpActMod == "bat")
CpaRetFld
stringlist | Field names for return
### Output parameter
CpaRetNum
string | Number of selected data records
CpaRetVal_1... CpaRetVal_n
stringlist | Field value for returning the first data record.
... | ...
stringlist | Field values for returning the last data record.