Enterprise Communication Interface (ECI)

eci_rea_doc_his_mem

Description

Read history of modification texts of a document.

  • Selection of requested document in batch mode.
  • Call of history widget of selected document (via C_ID).
  • Selection of all MEMO fields (and optional additional selection with CAD flag),
  • If entries found:
    • Return maximum requested count of newest modification texts.
  • Return appropriate return code.

The document history is assigned to the document master data, therefore no document type is necessary.

The user controls by the call parameters whether all modification texts are returned, or only the texts having the CAD flag.

This function is still supported due to the upward compatibility. The general function eci_rea_rel (Entity1=EDB-DOCUMENT, Entity2=EDB-HISTORY, view=STR) supplies the same result.

 

Input parameter

wdg_mod

string mode of widget {"list"}

act_mod

string mode of interaction {"bat"}

sel_fld_nam

string names of fields of document for selection

sel_fld_val

string values of fields of document for selection

sel_cad_flg

string flag for selection of entries having "CAD relevance" {"Y", "N"}

ret_rec_max

string max. number of newest modification text entries to return

ret_fld_nam

stringlist names of fields of history for return

Output parameter

n

string count of selected data records

ret_fld_val_1 ... ret_fld_val_n

stringlist values of fields of history-record 1
... ...
stringlist values of fields of history-record n