TABLE MANTANCE中的VARIANT在ECC6中不能使用了,找一个替代方法

DATA: it_var LIKE TABLE OF vimsellist WITH HEADER LINE.

it_var-viewfield = 'VORNR'.
it_var-operator = 'EQ'.
it_var-value = '0101'.
APPEND it_var.

CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
     EXPORTING
          action                       = 'U'
*            SHOW_SELECTION_POPUP         = 'X'
          view_name                    = 'ZAFVC'
*          variant_for_selection        = 'ZTEST_VAR'
      TABLES
          dba_sellist                  = it_var
     EXCEPTIONS
          client_reference             = 1
          foreign_lock                 = 2
          invalid_action               = 3
          no_clientindependent_auth    = 4
          no_database_function         = 5
          no_editor_function           = 6
          no_show_auth                 = 7
          no_tvdir_entry               = 8
          no_upd_auth                  = 9
          only_show_allowed            = 10
          system_failure               = 11
          unknown_field_in_dba_sellist = 12
          view_not_found               = 13
          OTHERS                       = 14.

Comments are closed.