Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

table control

Former Member
0 Kudos
92

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?

2 REPLIES 2

Former Member
0 Kudos
65

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

Former Member
0 Kudos
65

hi,

in the PAI we will write.

loop at itab........endloop.

in between these we can write READ statement.

rgds,

bharat.