# Enterprise Communication Interface (ECI)

## eci_rea_doc_his_trx

### Description
Selection of required document in the background. Identification of version predecessor order and loop for all documents: Opens history widget of the respective document (via C_ID). Selects all field which are not of the type MEMO. If entries are found: Return of the maximum number of new non-MEMO entries Report of return code.
| The document history is assign to the document master so that the document type must not be specified. All non-MEMO history entries (INSERT, TRANSITION, VERS_NEW etc) are returned, the user has to differentiated by the returned data.
### Input parameter
wdg_mod
string | Type of widget {"list"}
act_mod
string | Type of interaction {"bat"}
sel_fld_nam
string | Name of document fields for selection
sel_fld_val
string | Values of document fields for selecion
ret_rec_max
string | Max. number of new transitions to be returned
ret_fld_nam
stringlist | Namen of history fields to be returned
### Output parameter
n
string | Number of data records found
ret_fld_val_1 ... ret_fld_val_n
stringlist | Value of fields of history entry 1 to be returned
... | ...
stringlist | Value of fields of history entry n to be returned