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

Hi Experts,

Presently I am working with table control,but I have got two date fields, I need to do the validation for the date fields, that can be done by me,

But if the user enters the wrong date while entering multiple entries, how can we get the line numebr of the record in which wrong entry is being done.

Thanks In Advance,

Regards,

Irfan Hussain

2 REPLIES 2

Former Member
0 Kudos

Hi Irfan,

have a look on the program.

<b>demo_dynpro_tabcont_loop_at</b>

For current line.

MODULE read_table_control INPUT.

MODIFY itab FROM demo_conn INDEX flights-current_line.

ENDMODULE.

Hope this will help you.

Cheers

Sunny

reward points , if found helpful

Message was edited by: Sunny

Former Member
0 Kudos

Hi,

In the loop, check SY-STEPL (Screens, current table line index) for wrong date.