Skip to Content
avatar image
-3
Former Member

using sy-comm checking in if condition

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 04, 2017 at 11:01 AM
    -1

    Hi,

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

    scn.jpg

    Regards,

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 06, 2017 at 02:44 PM
    -1

    Yes I put it as obligatory .Thanks

    Add comment
    10|10000 characters needed characters exceeded