Skip to Content
0
Former Member
May 08, 2007 at 11:39 AM

Search statement

14 Views

Hi,

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' ''.

ENDIF.

ENDMODULE. " CHECK_DUPLICATE INPUT

search is obsolete. Can anyone suggest me what is the replacement for

this?

thanks,

keerthi