2010 Aug 18 3:46 AM
Hi All,
I'm working on module pool using table control. Now the data is displaying in the table control correctly.
User want to select more than 2 rows and need to process.
How we can identiy two or more than that row what ever user selected. Pls suggest me.
Thank You.
ANu
2010 Aug 18 5:30 AM
hi Anitha
Use column selection option in table control and check the conation like.
loop at <itab> where col_select = 'X'.
{conations}....
modify <itab>.
endloop.
when user select multiple rows then automatic col_select value internalizing into 'X'.
hope its helps you.
Regards,
Abhilash
Hi All,
I'm working on module pool using table control. Now the data is displaying in the table control correctly.
User want to select more than 2 rows and need to process.
How we can identiy two or more than that row what ever user selected. Pls suggest me.
Thank You.
ANu
2010 Aug 18 4:02 AM
2010 Aug 18 4:13 AM
Hi Anitha,
Have a look at the Demo Table Control programs. Debug them carefully.
DEMO_DYNPRO_TABCONT_LOOP Table Control with LOOP - ENDLOOP
DEMO_DYNPRO_TABCONT_LOOP_AT Table Control with LOOP AT ITAB
DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
Hope this will help.
Regards
Abhii
2010 Aug 18 4:44 AM
Hi All,
Thank you for your help. This link helped me a lot. :
http://www.sapdev.co.uk/dialog/tabcontrol/tc_mark.htm
Now need small help. i want to place the cursor in editable field in table control.
Pls help to how to proceed.
Thank You,
Anu.
2010 Aug 18 5:02 AM
2010 Aug 18 5:28 AM
2010 Aug 18 5:39 AM
Hi Anitha,
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD f LINE lin .
Regards
Abhii
2010 Aug 18 5:30 AM
hi Anitha
Use column selection option in table control and check the conation like.
loop at <itab> where col_select = 'X'.
{conations}....
modify <itab>.
endloop.
when user select multiple rows then automatic col_select value internalizing into 'X'.
hope its helps you.
Regards,
Abhilash
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |