*&---------------------------------------------------------------------* *& Include LSVIMF65 * *&---------------------------------------------------------------------* *&---------------------------------------------------------------------* *& Form check_nonkey *&---------------------------------------------------------------------* * to check selection condiotions for nonkey fields only *----------------------------------------------------------------------* * *----------------------------------------------------------------------* FORM check_nonkey. FIELD-SYMBOLS: type any. if x_header-bastab <> space and x_header-texttbexst <> space. assign to . else. assign to . endif. CALL FUNCTION 'TABLE_RANGE_CHECK' EXPORTING tabname = x_header-maintview entry = entry_text = ddic = 'J' key = 'F' ignore_blank_subsetfields = 'N' TABLES x_namtab = x_namtab x_header = x_header sellist = EXCEPTIONS entry_not_fits = 1. IF sy-subrc EQ 1. PERFORM set_pf_status USING 'ERROR'. MESSAGE e174(sv). ENDIF. endform. "check_nonkey