Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

coding for giving 'find' functionality to a table control field

Former Member
0 Likes
373

hi.

i want to give find functionality to a table control field.when ever i will select one field & i will enter 'find' icon one modal screen comes.when i will enter one value of that field it will highlight that field in the table control.

2 REPLIES 2
Read only

Former Member
0 Likes
353

Hi,

FIND <p> IN [SECTION OFFSET <off> LENGTH <len> OF] <text>

[IGNORING CASE|RESPECTING CASE]

[IN BYTE MODE|IN CHARACTER MODE]

[MATCH OFFSET <o>] [MATCH LENGTH <l>].

The system searches the field <text> for the pattern <p>. The SECTION OFFSET <off> LENGTH <len> OF addition tells the system to search only from the <off> position in the length <len>. IGNORING CASE or RESPECTING CASE (default) specifies whether the search is to be case-sensitive. In Unicode programs, you must specify whether the statement is a character or byte operation, using the IN BYTE MODE or IN CHARACTER MODE (default) additions. The MATCH OFFSET and MATCH LENGTH additions set the offset of the first occurrence and length of the search string in the fields <p> and <l>.

Regards,

Priya.

Read only

Former Member
0 Likes
353

Hi

To my knowledge I have found that FIND keyword has become obsolete.

But instead, u mus b using something like

FIND ALL OCCURRENCES OF ',' IN wa_bseg-sgtxt

RESULTS it_result_orders .

IF sy-subrc = 0.

endif.

Let me know if ur stuck anywhere.

ThankQ

Rohini.