2007 Jul 23 1:37 PM
I am having a table control when i press new entries push button an empty line should be added to table control and the entered data should be validated.
how to get the values from the table control which i entered and how to vaildate
the values. where should i write the code?
2007 Jul 23 1:41 PM
Hi,
Take a look at FM SCROLLING_IN_TABLE and demo program DEMO_DYNPRO_TABCONT_LOOP.
To get the new row, just increase the TABLECONTRL-LINES to 1 then a new line will be added(WHEN SY-UCOMM = NEW_ENTRIES. then write the code to increase the 1 line to Table control)
Here in the PAI, you will get the values to the internal table, there you can validate the values
Regards
Sudheer
2007 Jul 23 1:50 PM
hi,
in the PAI we will write.
loop at itab........endloop.
in between these we can write READ statement.
rgds,
bharat.