Hi Friends,
I Studied about Search Keyword and i am using search keyword in report and i prepared one itab of ty_text having one field text(32) type c and i am filling the itab as follows.
clear : wa_text.
wa_text-text = 'LMN'.
append wa_text to lt_text.
clear : wa_text.
wa_text-text = 'ABC'.
append wa_text to lt_text.
clear : wa_text.
wa_text-text = 'ABC.
append wa_text to lt_text.
if lt_text[] is not initial.
sort lt_text as text.
search lt_text for 'LMN'.
if sy-subrc eq 0.
write : / 'The Sy-fdpos is ', sy-fdpos.
endif.
endif.
But here my problem i am getting sy-fdpos eq 0 but i studied in abap help it will return fdpos .
Please Help me.
Thanks,
Raghunadh.K