Application Development and Automation 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: 
Read only

Table Control.

Former Member
0 Kudos
137

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
Read only

Former Member
0 Kudos
121

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

Read only

Former Member
0 Kudos
121

Hi,

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