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: 

Mandatory field in table control

Former Member
0 Kudos

I have a requirement to make one of the field as mandatory in table control without making that field as mandatory in the screen attributes. If i have no entries in table control how can i through an error message to restrict the user to enter that field.I have tried to populate one empty record to the table control before looping the table control in PAI,but only if the record was entered in the table control it is able to loop otherwise it's not getting looped. I tried to populate after the loop chain endchain endloop. If i want to through an error message the entire screen is getting grayed out.

2 REPLIES 2

Former Member
0 Kudos

In the module inside Loop for Table control,

Set SCREEN-REQUIRED = 1 for the desired filed.

Former Member
0 Kudos

resolved the issue