SAP Function TR_READ_TRESN -

Parameter Reference Type Length Default Optional Text
WI_OBJECT TADIR-OBJECT C 4
WI_OBJNAME TADIR-OBJ_NAME C 40 Object Name
WI_PGMID TADIR-PGMID C 4

Parameter Reference Type Length Text
WE_ENTRY_FOUND C C 0
WE_TRESN TRESN u 123

Functionality
The function module is the read interface to table TRESN. It checkswhether the transferred TADIR object lies in a protected rangespecified in TRESN. If so, it sets the corresponding flag to'X' and returns the entry in TRESN responsible for the lock.