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

Regarding Table control

Former Member
0 Likes
676

Hi,

I am displaying my data in table control in screen 1001, and my requirement is , whenever i am clicking on entry in table control, i need to get the screen 1002.

Here, Please help me where we need to write the logic to get new screen , when we click on table control.

it will be very very thankfull to your efforts.

it is very urgent. please help me

Thanks & Regards,

vinesh.

7 REPLIES 7
Read only

Former Member
0 Likes
662

hi,

do like this

make ur table control field RESPONDS TO DOUBLE-CLICK ,

check the check the box and activate it .

in the PF-status which you are creating for the screen,

make one button in application tool bar with name PICk (compulsary)

then assign F2 as 'Recommended function key settings for

'PICK'.

in the PAI event , for the module user command write the following code

CASE sy-ucomm.

WHEN 'PICK'.

call screen '1001'..

ENDCASE.

reward if usefull

Read only

0 Likes
662

Hi shah,

coule you tell me what is RESPONDS TO DUBLE CLICK in table control.

thanks for your help shah

regrds,

vinesh.

Edited by: Siddivinesh Jogu on Mar 8, 2008 5:08 PM

Read only

0 Likes
662

Hi,

As in PF Status, when we are creating an Application tool bar with PICK.

Whenever you double click on the table control on any field it will trigger

and call the screen 1001.

Read only

0 Likes
662

hi,

respond to double click means we can make it like interactive report same as ALV....

go to screen layout....

double click on any field of table control...

property window will open for this field there u can tick respond to double click...

then follow the steps i have given in previous answer

Read only

Former Member
0 Likes
662

Hi,

make selection of row for table control. then write code in PAI event for any row selected or not. if selected use call screen command to show next screen.

next way is, we can use follwing statement in PAI event. it will trigger while DB clicking in field. ref in documentation for below comand.

module <module name> at cursor-selection.

reward if useful.

L.Velu

Read only

Former Member
0 Likes
662

answered

Read only

0 Likes
662

Hi,

If answer is usefull to u than please reward points...