‎2008 Jan 23 12:46 PM
‎2008 Jan 23 12:50 PM
‎2008 Jan 23 12:49 PM
use TC-current_line which gives index of current record in table control TC
‎2008 Jan 23 12:50 PM
‎2008 Jan 23 12:51 PM
Within the loop pass, the system field sy-stepl contains the number of the current table control row, started at the top visible row. The system field sy-loopc contains the total number of table control rows displayed on the screen.
‎2008 Jan 23 12:52 PM
‎2008 Jan 23 12:53 PM
Hi kush
hope this will help you.
reward if help.
syntax:
CONTROLS .
chk the demo prog:
DEMO_DYNPRO_TABCONT_LOOP
Cursor Position on Table Controls
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
Go through this urls.
Check the below links.
just refer to the link below
http://www.sapmaterial.com/tablecontrol_sap.html
step by step procedure with screen shots
http://www.planetsap.com/howdo_a.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
http://sap.niraj.tripod.com/id25.html
Also you can see the below examples...
Go to se38 and give demodynpro and press F4.
YOu will get a list of demo module pool programs.
One more T-Code is ABAPDOCU.
YOu can find more examples there.
See the prgrams:
DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
‎2008 Jan 23 12:53 PM