# Enterprise Communication Interface (ECI)

## eci_ins_cns

### Description
Inserts a constraint record.
### Input parameter
parentEntNam
string | Name of parent entity for relation (entity 1)
parentWdgExt
string | Widget name of parent entity
parentWdgExt
string | Activate system fiels on parent list (only available for lists): on: activate system fields off: no system fields
parentWdgMod
string | Widget mode for parent widget: list: widget is a list form: widget is a form bvb: widget is opened by bvb userexit
reserveFlag
string | Allow insert only if parent record is reserved on: parent record must be reserved off: parent record need not to be reserved reset: parent record need not to be reserved but reset reservation at end of function
actionMode
string | Action mode int: Interactive mode bat: Batch mode
parentSelFld
stringlist | Field names for selection of parent record
parentSelVal
stringlist | Query values for selection of parent record
cnsNam
string | Name of constraint
cnsWdgNam
string | Name of constraint widget (or ""to use default)
cnsWdgExt
string | Activate system fields on constraint list: on: activate system fields off: no system fields
cnsWdgMod
string | Widget mode for constraint widget: list: widget is a list form: widget is a form
insFldNam
stringlist | Names of fields to write
insFldVal
stringlist | Values for fields to write
retFldNam
stringlist | Names of return fields
### Output parameter
retFldVal
stringlist | Values of return fields of inserted record