Procedure 1 tries to insert an item
insert_ent("EDB-ARTICLE EDB-ART-SLI")
var(EP_PART_ID)
RES = execute(1)
Procedure 2 is a pre-action-userexit at the mask 'EDB-ART-SLI' and selects an item; it will be triggered by the insert operation:
select_ent("EDB-ARTICLE EDB-ART-SLI")
var(EP_CID)
where("T_MASTER_DAT.PART_ID"=EP_ITEM)
RES = execute(1)
Here, the insert will not be performed. The insert operation is prepared but not yet performed when the select operation takes place.
This can be bypassed in the following ways: