Default values in table control

Question: Hello All,

I am using table controls for data entry.On click of a button,I insert a new row in the table control(blank),I want to have some default values there.Is it possible like in the delivery(Standard SAP screen) there are new rows with default date.
I tried to set values in my tablecontrol name,but the new row is always blank.I tried using refresh also doesn't work.Any help is appreciated.

Thanks,
Sam.

Answer:
You can try using this sort of code:

module TC_PSACOUNT_init output.
 append tc_wa to tc_itab.
 describe table tc_itab lines tc-lines.
_________________
Kind Regards

Rosie Brent

Please remember to search the forum and check the FAQ before posting questions, thank you.

Tuly Idiot most of the time, part-time Guru
Copyright ?2007 - 2008 www.jt77.com