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

Dialoge programming

Former Member
0 Likes
280

i am using table control in my screen

there 8 fields is there and it_zsabpces is the table control internal table

i have enter the values in that.

i write code like this

if ( it_zsabpces-field1 is initial ) or

( it_zsabpces-field2 is initial ) or

( it_zsabpces-field3 is initial ) or

( it_zsabpces-field4 is initial ) or

( it_zsabpces-field5 is initial ) or

( it_zsabpces-field6 is initial ) or

( it_zsabpces-field7 is initial ) or

( it_zsabpces-field8 is initial ) .

message s001.

endif.

this message willcome status bar.

if any of the field is empty that filed name is also included in message.

i created message in message class for 001 like this

enter & field.

it will naot taking the empty fieldname

what shall i do for this.

1 REPLY 1
Read only

Former Member
0 Likes
251

write like this.

IF it-zsabpces-field1 = ' ' or

it-zsabpces-field2 = ' ' or

it-zsabpces-field3 = ' ' or

it-zsabpces-field4 = ' ' or

it-zsabpces-field5 = ' ' or

it-zsabpces-field6 = ' ' or

it-zsabpces-field7 = ' ' or

it-zsabpces-field8 = ' ' .

Message s001.

Endif.

No need of () .