# Enterprise Communication Interface (ECI)

## eci_rea_rel

### Description
ECI function to read refine, aggregate or constraint relation records
### Input parameter
parentEntNam
string | Name of parent entity for relation (entity 1)
parentWdgNam
string | Widget name of parent entity
parentWdgExt
string | Activate system fields 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
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.
childSelVal
stringlist | Name of child entity (entity2), "" for constraints.
relVieNam
string | relation view name or constraint name.
relRefAgg
string | Direction of relation: ref: refine relation agg: aggregate relation cns: constraint relation
relWdgNam
string | Name of relation/constraint widget
relWdgExt
string | Activate system fields on relation list: on: activate system fields off: no system fields
relWdgMod
string | Widget mode for relation widget: list: widget is a list form: widget is a form bvb: widget is opened by bvb userexit
qryFldNam
stringlist | Names of fields of query
qryFldVal
stringlist | Values for query condition
retFldNam
stringlist | Names of return fields
cpMasLimit
string | Use of mask limit: on: defined mask limit is used off: mask limit is set to INT_MAX
### Output parameter
iNum
string | Number of found records
retFldVal_1...retFldVal_n
stringlist | Values of return fields of first record
... | ...
stringlist | Values of return fields of n_th record