11-23-2007 9:00 AM
Hi,
I have a table control in my screen with five records.I want to have the following functionality.
If the user selects a record and presses insert push button, a blank row has to be inserted for a new record to be added into the table
If the user selects a record and presses delete push button, the record has to be deleted from the table.
Give me a sample code or tell me an example program for the above functionlity ASAP .
Suitable answers will be rewarded
Regards,
Kasi S
11-23-2007 9:02 AM
hi kasi ,
for this design ur table control using se51 tcode . in this case u will be given with a set of full functionality and u wouldnt have to do any coding for this .
well this is a shortcut and ofccourse if u want to do it manualy then u can use getcursor command and then u can just insert innitial line on to the index of ur table control ..
Thanks
ROhit
Reward if helpfull
Message was edited by:
ROHIT GUPTA
11-23-2007 9:02 AM
hi kasi ,
for this design ur table control using se51 tcode . in this case u will be given with a set of full functionality and u wouldnt have to do any coding for this .
well this is a shortcut and ofccourse if u want to do it manualy then u can use getcursor command and then u can just insert innitial line on to the index of ur table control ..
Thanks
ROhit
Reward if helpfull
Message was edited by:
ROHIT GUPTA
11-23-2007 9:10 AM
11-23-2007 9:11 AM
hi ,
Check for the program <b>demo_dynpro_tabcont_loop_at</b> .
Else you can check some of the samples under Txn ABAPDOCU ..
Regards,
Ranjita