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

using sy-comm checking in if condition

0 Likes
1,354

In module pool screen If I remove the screen input field value I am viewing all records in table control. When input field value is not available no data should be shown.By using this code table data was cleared when am using enter action twice

if sy-ucomm <> 'enter' and I_RECNAME IS INITIAL.
.
REFRESH it_rec[].
endif.

1 ACCEPTED SOLUTION
Read only

VenkatRamesh_V
Active Contributor
1,199

Hi,

you can keep the field as obligatory. input field as 'Required'. double click on screen field

scn.jpg

Regards,

Ramesh

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,199

I don't understand. What is the function code "enter" (lower case?), and what is the question? Thanks.

Read only

VenkatRamesh_V
Active Contributor
1,200

Hi,

you can keep the field as obligatory. input field as 'Required'. double click on screen field

scn.jpg

Regards,

Ramesh

Read only

0 Likes
1,199

Yes I put it as obligatory .Thanks