Enterprise Communication Interface (ECI)

eci_mul_ins_rel

Description

This function enables the creation of a complete assembly within one eci_call call.

Input parameter

CpEntNam

string Name of entity 1 ("Parent")

CpMasNam

string Mask name of entity 1

CpMasExt

string Select system fields in mask of entity 1 {"on"|"off"}

CpWdgMod

string Mask type of entity1 {"list"|"form"|"bvb"}

CpResChk

string Insert only if parent record is reserved {"on"|"off"|"reset"}

CpAktMod

string Type of interaction ("bat")

CpaEntFld

stringlist Field names for selecting the parent record

CpaEntVal

stringlist Field values for selecting the parent record

CpEnt2Nam

string Name of entity 2 {"Child"}

CpMas2Nam

string Mask name of entity 2

CpaEnt2Fld

stringlist Field names for selecting the child record

CpaSonNum

string Number of relations to be inserted

CpaEnt2Val_1...CpaEnt2Val_Num

stringlist Value of field for selection.
... ...
stringlist Values of fields for selecting the last data record.

CpViewNam

string View name of relation

CpRefAgg

string Type of relation {"ref"|"agg"}

CpRelMasNam

string Name of relation mask

CpRelMasExt

string Select system fields at relation mask {"on"|"|off"}

CpRelWdgMod

string Type of relation mask {"list"|"form"|"bvb"}

CpaRelFld

stringlist Namen of fields for default

CpaRelVal_1... CpaRelVal_Num

stringlist Field values for default of first data record.
... ...
stringlist Field values for default of last data record.

CpaRedFld

stringlist Field names for return

CpRelAutoPos

string Automatic calcuation of position number {"on"|"off"} (if the respective userexit is not defined)

Output parameter

CpaSonNum

string Number of defined relations

CpaRetVal_1...CpaRetVal_n

stringlist Field value for returning the first relation record.
... ...
stringlist Field value for returning the last relation record.