Skip to Content
Former Member
Sep 02, 2006 at 09:45 AM

The PAI Event Code to search for a record in Table Control



1. I have a position button and entry text field (search content) for a table control in my screen. Position button has the function code 'PBUT'.

2. Content of table control will be in an internal table. The entry text field is to be used for positioning.

3. I enter the search (key) field in text field & Click the position button.

4. The PAI event of button click (Module user_command) of that screen is as under.

Case sy_ucomm.

When 'PBUT'.

What will be the code to bring the row as selected in table control, that I have to write here, for this case-value.