DATA: BEGIN OF TSC_BDET OCCURS 20,
DEPNO LIKE ZFIMHMDEP-ZDEPNO,
GA LIKE ZFITHMBDET-ZHC,
GB LIKE ZFITHMBDET-ZHC,
GC LIKE ZFITHMBDET-ZHC,
GD LIKE ZFITHMBDET-ZHC,
FRDB TYPE I,
END OF TSC_BDET.
MODULE CHECK_DUPLICATE INPUT.
SEARCH TSC_BDET FOR TSC_BDET-DEPNO.
IF SY-SUBRC = 0 AND SY-TABIX < TC_BDET-CURRENT_LINE.
MESSAGE E999 WITH 'Dept: ' TSC_BDET-DEPNO
' already allocated to this function/module' ''.
ENDMODULE. " CHECK_DUPLICATE INPUT
search is obsolete. Can anyone suggest me what is the replacement for