Reading VC tables

Look them up via CU60, or hit the break for code.

  CONSTANTS: lc_vctable TYPE      tablstruct-var_tab VALUE 'ZVC_TABLE'.
  DATA: lt_values  TYPE TABLE OF  vtentries.
  FIELD-SYMBOLS: <fs_values> TYPE vtentries.    

    CLEAR: lv_line.
    REFRESH: lt_values.
    CALL FUNCTION 'CARD_TABLE_READ_ENTRIES'
      EXPORTING
        var_table             = lc_vctable
*       CHANGE_NO             =
*       DATE                  =
      TABLES
        var_tab_entries       = lt_values
      EXCEPTIONS
        error                 = 1
        OTHERS                = 2
              .
Sharing is caringTweet about this on Twitter
Twitter
Email this to someone
email
Share on Facebook
Facebook